]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toplevel.cpp
Copied gsockosx.c revision 1.4
[wxWidgets.git] / src / mac / toplevel.cpp
index 190bcd89465e2479cb5b0084f977f66dd1dad4be..490c26a56758cae148e086b975b2115fcd07d850 100644 (file)
@@ -764,6 +764,9 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
         SetShape(rgn);
     }
 #endif
+
+    wxWindowCreateEvent event(this);
+    GetEventHandler()->ProcessEvent(event);
 }
 
 void wxTopLevelWindowMac::MacGetPortParams(WXPOINTPTR localOrigin, WXRECTPTR clipRect, WXHWND *window  , wxWindowMac** rootwin)