]> git.saurik.com Git - wxWidgets.git/commitdiff
replaced wxDate with wxDateTime
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Nov 2001 14:56:47 +0000 (14:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Nov 2001 14:56:47 +0000 (14:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/memcheck/memcheck.cpp

index 923f06f87d691517c29371c8b88f2da4628b5221..54712a16f489e8aee432b2033112783b929dcb17 100644 (file)
@@ -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];