]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/frame.h
improvements to zlib streams (patch 929416):
[wxWidgets.git] / include / wx / frame.h
index 3f769979b65740008bba6ea899a02817cb3ed079..ee270269f75ea4f4c35816b452ff69f0497ed870 100644 (file)
@@ -89,7 +89,7 @@ public:
 #if wxUSE_STATUSBAR
     // create the main status bar by calling OnCreateStatusBar()
     virtual wxStatusBar* CreateStatusBar(int number = 1,
-                                         long style = wxST_SIZEGRIP,
+                                         long style = wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
                                          wxWindowID winid = 0,
                                          const wxString& name =
                                             wxStatusLineNameStr);
@@ -170,7 +170,7 @@ public:
     // if you are hiding the help, TRUE otherwise
     virtual void DoGiveHelp(const wxString& text, bool show);
 
-#ifdef WXWIN_COMPATIBILITY_2_2
+#if WXWIN_COMPATIBILITY_2_2
     // call this to simulate a menu command
     bool Command(int winid) { return ProcessCommand(winid); }
 #endif // WXWIN_COMPATIBILITY_2_2