]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/frame.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / univ / frame.h
index cd75831ca02d52c17aeb115646065d100bc1aa0a..207bf0d6b0b9b3a4c87cac82a49806147211f75b 100644 (file)
@@ -44,7 +44,7 @@ public:
 
 #if wxUSE_STATUSBAR
     virtual wxStatusBar* CreateStatusBar(int number = 1,
-                                         long style = wxST_SIZEGRIP,
+                                         long style = wxSTB_DEFAULT_STYLE,
                                          wxWindowID id = 0,
                                          const wxString& name = wxStatusLineNameStr);
 #endif // wxUSE_STATUSBAR