git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49948
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxRadioBoxButtonsInfoList m_buttonsInfo;
protected:
wxRadioBoxButtonsInfoList m_buttonsInfo;
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
#if wxUSE_TOOLTIPS
virtual void DoSetItemToolTip(unsigned int n, wxToolTip *tooltip);
#endif
#if wxUSE_TOOLTIPS
virtual void DoSetItemToolTip(unsigned int n, wxToolTip *tooltip);
#endif
bool m_blockEvent;
protected:
bool m_blockEvent;
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
virtual wxSize DoGetBestSize() const;
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
virtual wxSize DoGetBestSize() const;
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
protected:
virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
// clears the selection in the radiobuttons in the cycle
// and returns the old selection (if any)
wxRadioButton* ClearSelections();
// clears the selection in the radiobuttons in the cycle
// and returns the old selection (if any)
wxRadioButton* ClearSelections();
+protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
private:
wxRadioButton* AddInCycle(wxRadioButton* cycle);
void RemoveFromCycle();
private:
wxRadioButton* AddInCycle(wxRadioButton* cycle);
void RemoveFromCycle();
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
protected:
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
virtual wxSize DoGetBestSize() const;
private:
virtual wxSize DoGetBestSize() const;
private:
wxString GetLabel(int nItem) const;
protected:
wxString GetLabel(int nItem) const;
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
virtual wxSize DoGetBestSize(void) const;
virtual void DoSetSize( int nX
,int nY
virtual wxSize DoGetBestSize(void) const;
virtual void DoSetSize( int nX
,int nY
virtual void SetFocus(void);
protected:
virtual void SetFocus(void);
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
virtual wxSize DoGetBestSize() const;
private:
virtual wxSize DoGetBestSize() const;
private:
#endif // wxUSE_TOOLTIPS
}
#endif // wxUSE_TOOLTIPS
}
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
// return the number of items in major direction (which depends on whether
// we have wxRA_SPECIFY_COLS or wxRA_SPECIFY_ROWS style)
unsigned int GetMajorDim() const { return m_majorDim; }
// return the number of items in major direction (which depends on whether
// we have wxRA_SPECIFY_COLS or wxRA_SPECIFY_ROWS style)
unsigned int GetMajorDim() const { return m_majorDim; }
bool OnKeyDown(wxKeyEvent& event);
protected:
bool OnKeyDown(wxKeyEvent& event);
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
// override the base class methods dealing with window positioning/sizing
// as we must move/size the buttons as well
virtual void DoMoveWindow(int x, int y, int width, int height);
// override the base class methods dealing with window positioning/sizing
// as we must move/size the buttons as well
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual void ChangeValue(bool value);
protected:
virtual void ChangeValue(bool value);
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
// implement our own drawing
virtual void DoDraw(wxControlRenderer *renderer);
// implement our own drawing
virtual void DoDraw(wxControlRenderer *renderer);