]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.cpp
Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
[wxWidgets.git] / samples / grid / griddemo.cpp
index d6ceb21e3bbf32a5a5b3696441c3149ff3c0a951..ad992afb47b50651b6a3ced8b9532fddf83ea401 100644 (file)
@@ -266,7 +266,7 @@ GridFrame::GridFrame()
 
     logger = new wxLogTextCtrl( logWin );
     m_logOld = wxLog::SetActiveTarget( logger );
-    wxLog::SetTimestamp( NULL );
+    wxLog::DisableTimestamp();
 #endif // wxUSE_LOG
 
     // this will create a grid and, by default, an associated grid