+} // end of wxApp::GetStdIcon
+
+//-----------------------------------------------------------------------------
+// wxWakeUpIdle
+//-----------------------------------------------------------------------------
+
+void wxWakeUpIdle()
+{
+ //
+ // Send the top window a dummy message so idle handler processing will
+ // start up again. Doing it this way ensures that the idle handler
+ // wakes up in the right thread (see also wxWakeUpMainThread() which does
+ // the same for the main app thread only)
+ //
+ wxWindow* pTopWindow = wxTheApp->GetTopWindow();
+
+ if (pTopWindow)
+ {
+ if ( !::WinPostMsg(GetHwndOf(pTopWindow), WM_NULL, (MPARAM)0, (MPARAM)0))
+ {
+ //
+ // Should never happen
+ //
+ wxLogLastError("PostMessage(WM_NULL)");
+ }
+ }
+} // end of wxWakeUpIdle