From: Vadim Zeitlin Date: Tue, 20 Nov 2001 14:56:47 +0000 (+0000) Subject: replaced wxDate with wxDateTime X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c63767311fff82e2012fa1cd314e89ddebc9511e replaced wxDate with wxDateTime git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index 923f06f87d..54712a16f4 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -25,7 +25,7 @@ #include "wx/wx.h" #endif -#include "wx/date.h" +#include "wx/datetime.h" #if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) #include "mondrian.xpm" @@ -86,7 +86,10 @@ bool MyApp::OnInit(void) 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];