summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ComboList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ComboList.cpp')
-rw-r--r--Stars45/ComboList.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Stars45/ComboList.cpp b/Stars45/ComboList.cpp
index 43e3620..4d03809 100644
--- a/Stars45/ComboList.cpp
+++ b/Stars45/ComboList.cpp
@@ -15,7 +15,6 @@
#include <algorithm>
-#include "MemDebug.h"
#include "ComboList.h"
#include "ComboBox.h"
#include "Button.h"
@@ -350,20 +349,20 @@ void ComboList::ClearItems()
void ComboList::AddItem(const char* item)
{
- items.append(new(__FILE__,__LINE__) Text(item));
+ items.append(new Text(item));
}
void ComboList::AddItems(ListIter<Text> item)
{
while (++item)
- items.append(new(__FILE__,__LINE__) Text(*item));
+ items.append(new Text(*item));
}
void ComboList::SetItems(ListIter<Text> item)
{
items.destroy();
while (++item)
- items.append(new(__FILE__,__LINE__) Text(*item));
+ items.append(new Text(*item));
// Resize window:
@@ -405,7 +404,7 @@ void ComboList::SetItem(int index, const char* item)
if (index >= 0 && index < items.size())
*items[index] = item;
else
- items.append(new(__FILE__,__LINE__) Text(item));
+ items.append(new Text(item));
}
int ComboList::GetCount()