From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/ComboBox.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Stars45/ComboBox.cpp') 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); } -- cgit v1.1