]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/emulator/src/emulator.cpp
fix for assert when copying bitmap in CloneRefData()
[wxWidgets.git] / utils / emulator / src / emulator.cpp
index 4e44d87096aa3a0b124e4284e5ee7f83631f5793..199983c0b51a654e1491b336acb815d36a33ba8f 100644 (file)
@@ -108,7 +108,9 @@ wxEmulatorApp::wxEmulatorApp()
 // 'Main program' equivalent: the program execution "starts" here
 bool wxEmulatorApp::OnInit()
 {
+#if wxUSE_LOG
     wxLog::SetTimestamp(NULL);
+#endif // wxUSE_LOG
     wxInitAllImageHandlers();
 
     wxString currentDir = wxGetCwd();