{
wxString strTime = TimeStamp();
- #if (defined(__WIN32__) || defined(__WIN16__)) && !defined(__WXSTUBS__)
+ #ifdef __WXMSW__
// don't prepend debug/trace here: it goes to the debug window
// anyhow, but do put a timestamp
OutputDebugString(strTime + szString + "\n\r");
- #else //!WIN32
+ #else
// send them to stderr
fprintf(stderr, "%s %s: %s\n",
strTime.c_str(),
level == wxLOG_Trace ? _("Trace") : _("Debug"),
szString);
fflush(stderr);
- #endif // WIN32
+ #endif
}
#endif
break;
m_sizeSet = FALSE;
GetEventHandler()->ProcessEvent( event );
*/
+
+ // here we give wxFrame a chance to do resize updates
+ // before appearing on screen. resize updates have to
+ // be handled in idle time because of GTK's super smart
+ // resize propagation algorithm.
+
+ wxYield();
}
return wxWindow::Show( show );
}
m_sizeSet = FALSE;
GetEventHandler()->ProcessEvent( event );
*/
+
+ // here we give wxFrame a chance to do resize updates
+ // before appearing on screen. resize updates have to
+ // be handled in idle time because of GTK's super smart
+ // resize propagation algorithm.
+
+ wxYield();
}
return wxWindow::Show( show );
}