From: Vadim Zeitlin Date: Wed, 3 Jun 2009 22:28:26 +0000 (+0000) Subject: don't fix the columns number to 1 by default in ctors (closes #10863) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e77669fcee816cd9435788a4118ac32951c3725d don't fix the columns number to 1 by default in ctors (closes #10863) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 914e7348a2..9e39bcc2af 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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. diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index 1db0f9931a..89c1d9ee29 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -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)