const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL,
int majorDim = 0,
- long style = wxRA_HORIZONTAL,
+ long style = wxRA_SPECIFY_COLS,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
const wxSize& size,
const wxArrayString& choices,
int majorDim = 0,
- long style = wxRA_HORIZONTAL,
+ long style = wxRA_SPECIFY_COLS,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL,
int majorDim = 0,
- long style = wxRA_HORIZONTAL,
+ long style = wxRA_SPECIFY_COLS,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr);
+
bool Create(wxWindow *parent,
wxWindowID id,
const wxString& title,
const wxSize& size,
const wxArrayString& choices,
int majorDim = 0,
- long style = wxRA_HORIZONTAL,
+ long style = wxRA_SPECIFY_COLS,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr);
// implementation only from now on
// -------------------------------
- // FIXME: are they used? missing "Do" prefix?
- void GetSize(int *x, int *y) const;
- void GetPosition(int *x, int *y) const;
-
virtual bool SetFont(const wxFont& font);
- virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
- WXUINT message,
- WXWPARAM wParam, WXLPARAM lParam);
- WXHWND *GetRadioButtons() const { return m_radioButtons; }
- bool ContainsHWND(WXHWND hWnd) const;
void SendNotificationEvent();
// get the number of buttons per column/row
// we can't compute our best size before the items are added to the control
virtual void SetInitialBestSize(const wxSize& WXUNUSED(size)) { }
- // subclass one radio button
- void SubclassRadioButton(WXHWND hWndBtn);
-
// get the max size of radio buttons
wxSize GetMaxButtonSize() const;
// get the total size occupied by the radio box buttons
wxSize GetTotalButtonSize(const wxSize& sizeBtn) const;
- WXHWND * m_radioButtons;
int m_majorDim;
int * m_radioWidth; // for bitmaps
int * m_radioHeight;