summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ComboBox.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 17:42:26 +0200
committerAki <please@ignore.pl>2022-03-27 17:42:26 +0200
commita12e588079700d55a0b788fea2df7727c2e41f52 (patch)
tree690072569624c73af5043b3619acaab4d298b1fa /Stars45/ComboBox.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/ComboBox.cpp')
-rw-r--r--Stars45/ComboBox.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Stars45/ComboBox.cpp b/Stars45/ComboBox.cpp
index 2413a73..4269a96 100644
--- a/Stars45/ComboBox.cpp
+++ b/Stars45/ComboBox.cpp
@@ -11,7 +11,6 @@
Drop-down list of Buttons class
*/
-#include "MemDebug.h"
#include "ComboBox.h"
#include "ComboList.h"
#include "Button.h"
@@ -295,7 +294,7 @@ void ComboBox::MoveTo(const Rect& r)
void ComboBox::ShowList()
{
if (!list) {
- list = new(__FILE__,__LINE__) ComboList(this, screen,
+ list = new ComboList(this, screen,
rect.x, rect.y,
rect.w, rect.h,
items.size());
@@ -372,7 +371,7 @@ void ComboBox::ClearItems()
void ComboBox::AddItem(const char* item)
{
- Text* t = new(__FILE__,__LINE__) Text(item);
+ Text* t = new Text(item);
if (t) items.append(t);
}
@@ -392,7 +391,7 @@ void ComboBox::SetItem(int index, const char* item)
}
else {
- Text* t = new(__FILE__,__LINE__) Text(item);
+ Text* t = new Text(item);
if (t)
items.append(t);
}