]> git.saurik.com Git - wxWidgets.git/commitdiff
don't fix the columns number to 1 by default in ctors (closes #10863)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jun 2009 22:28:26 +0000 (22:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jun 2009 22:28:26 +0000 (22:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
include/wx/gtk/radiobox.h

index 914e7348a2c3294b5ba10ee7ae684bdd7703f1e7..9e39bcc2af1e08f12db9f1d81c39a1d701d20bf8 100644 (file)
@@ -344,6 +344,10 @@ All (GUI):
 - Added wxDC::CopyAttributes() and use it in wxBufferedDC.
 - Added wxTextWrapper helper class useful for wrapping lines of text.
 
+GTK:
+
+- wxRadioBox constructor uses default consistent with other ports now.
+
 MSW:
 
 - Allow changing the height of wxChoice and wxComboBox.
index 1db0f9931ac9fa70c681b5c6c508bc718908f1c7..89c1d9ee29a30afc10d024a82b15c59457dfed9a 100644 (file)
@@ -36,7 +36,7 @@ public:
                const wxSize& size = wxDefaultSize,
                int n = 0,
                const wxString choices[] = (const wxString *) NULL,
-               int majorDim = 1,
+               int majorDim = 0,
                long style = wxRA_HORIZONTAL,
                const wxValidator& val = wxDefaultValidator,
                const wxString& name = wxRadioBoxNameStr)
@@ -52,7 +52,7 @@ public:
                const wxPoint& pos,
                const wxSize& size,
                const wxArrayString& choices,
-               int majorDim = 1,
+               int majorDim = 0,
                long style = wxRA_HORIZONTAL,
                const wxValidator& val = wxDefaultValidator,
                const wxString& name = wxRadioBoxNameStr)