#include "wx/date.h"
+#ifdef __WXGTK__
+#include "mondrian.xpm"
+#endif
+
#if !WXDEBUG
-#error You must set WXDEBUG to 1 on the 'make' command line or make.env.
+#error You must set WXDEBUG to 1 on the 'make' command line (MSW) or with configure (GTK)
#endif
// #define new WXDEBUG_NEW
// Give it an icon
#ifdef wx_msw
frame->SetIcon(wxIcon("mondrian"));
-#endif
-#ifdef wx_x
- frame->SetIcon(wxIcon("mondrian.xbm"));
+ frame->SetIcon(wxIcon(mondrian_xpm));
#endif
// Make a menubar
// Show the frame
frame->Show(TRUE);
-// wxDebugContext::SetCheckpoint();
-// wxDebugContext::SetFile("debug.log");
+ wxDebugContext::SetCheckpoint();
+ wxDebugContext::SetFile("debug.log");
wxString *thing = new wxString; // WXDEBUG_NEW wxString;
wxDate* date = new wxDate;
const char *data = (const char*) thing ;
-// wxDebugContext::PrintClasses();
-// wxDebugContext::Dump();
-// wxDebugContext::PrintStatistics();
+ wxDebugContext::PrintClasses();
+ wxDebugContext::Dump();
+ wxDebugContext::PrintStatistics();
// Don't delete these two objects, to force wxApp to flag a memory leak.
// delete thing;