summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ComboList.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/ComboList.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
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()