event.SetEventObject( this );
ProcessEvent( event );
- wxWindowList::Node* node = wxTopLevelWindows.GetFirst();
- while (node)
- {
- wxWindow* win = node->GetData();
- win->OnInternalIdle();
- node = node->GetNext();
- }
-
return event.MoreRequested();
}
win->ProcessEvent(event);
+ win->OnInternalIdle();
+
if (event.MoreRequested())
needMore = TRUE;
wxInitializeResourceSystem();
#endif
- wxImage::InitStandardHandlers();
-
wxModule::RegisterModules();
if (!wxModule::InitializeModules()) return FALSE;
wxDeleteStockLists();
- wxImage::CleanUpHandlers();
-
delete wxTheApp;
wxTheApp = (wxApp*) NULL;
{
gtk_set_locale();
+#if wxUSE_WCHAR_T
if (!wxOKlibc()) wxConvCurrent = &wxConvLocal;
+#else
+ if (!wxOKlibc()) wxConvCurrent = (wxMBConv*) NULL;
+#endif
gtk_init( &argc, &argv );