#include "wx/wx.h"
#endif
-#include "wx/date.h"
+#include "wx/datetime.h"
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__)
#include "mondrian.xpm"
wxDebugContext::SetCheckpoint();
wxString *thing = new wxString;
- wxDate* date = new wxDate;
+
+#if wxUSE_DATETIME
+ wxDateTime* date = new wxDateTime;
+#endif // wxUSE_DATETIME
// non-object allocation
char *ordinaryNonObject = new char[1000];