]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/radiobox.h
Reference counted objects should be used *much* more carefully. This was
[wxWidgets.git] / include / wx / gtk1 / radiobox.h
index 09b518b732cbe08deaa293dc4dad92f83c895c9a..befbee24d6e57a67e53e1d89374acbd4c1b3df2c 100644 (file)
@@ -48,7 +48,7 @@ class wxRadioBox: public wxControl
     inline wxRadioBox( wxWindow *parent, wxWindowID id, const wxString& title,
              const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
              int n = 0, const wxString choices[] = (const wxString *) NULL,
-             int majorDim = 0, long style = wxRA_HORIZONTAL,
+             int majorDim = 1, long style = wxRA_HORIZONTAL,
              const wxValidator& val = wxDefaultValidator, 
             const wxString& name = wxRadioBoxNameStr )
     {