#include <string.h>
-extern char *wxBuffer;
extern wxList wxPendingDelete;
wxApp *wxTheApp = NULL;
bool wxApp::Initialize()
{
- wxBuffer = new char[BUFSIZ + 512];
-
wxClassInfo::InitializeClasses();
// GL: I'm annoyed ... I don't know where to put this and I don't want to
wxBitmap::CleanUpHandlers();
- delete[] wxBuffer;
- wxBuffer = NULL;
-
wxClassInfo::CleanUpClasses();
delete wxTheApp;
// TODO use XmGetPixmap (?) to get the really standard icons!
+// XPM hack: make the arrays const
+#define static static const
+
#include "wx/generic/info.xpm"
#include "wx/generic/error.xpm"
#include "wx/generic/question.xpm"
#include "wx/generic/warning.xpm"
+#undef static
+
wxIcon
wxApp::GetStdIcon(int which) const
{