]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toplevel.cpp
introduced a common base class for both MSW and generic wxTreeCtrl implementations
[wxWidgets.git] / src / msw / toplevel.cpp
index 7048c01b18627c128cb0aa33613b06df962cecca..82f995b9f47abd1c7419e89c1ffde20b54a418a1 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "toplevel.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -533,7 +529,7 @@ bool wxTopLevelWindowMSW::Create(wxWindow *parent,
     // focus rectangles) work under Win2k+
     if ( ret )
     {
-        MSWUpdateUIState();
+        MSWUpdateUIState(UIS_INITIALIZE);
     }
 
     // Note: if we include PocketPC in this test, dialogs can fail to show up,