]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
Cleaned up some warnings
[wxWidgets.git] / src / gtk1 / window.cpp
index d43e0946b19039f4c3a7eda56d4baf154a4248f8..cc9855afaeae11b3a635d3ff4a7bbdf7c3c502f4 100644 (file)
@@ -1541,6 +1541,10 @@ gtk_window_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win )
         win->SetForegroundColour( win->GetForegroundColour() );
 
     win->SetCursor( win->GetCursor() );
+    
+    wxWindowCreateEvent event( win );
+    event.SetEventObject( win );
+    win->GetEventHandler()->ProcessEvent( event );
 
     return FALSE;
 }