X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..2ef989c972df0bd023ec3b7252fb91afca55f8ab:/include/wx/gtk/radiobut.h diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index 39c442216f..98f638b415 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -7,19 +7,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifndef __GTKRADIOBUTTONH__ -#define __GTKRADIOBUTTONH__ - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif +#ifndef _WX_GTK_RADIOBUT_H_ +#define _WX_GTK_RADIOBUT_H_ //----------------------------------------------------------------------------- // wxRadioButton //----------------------------------------------------------------------------- -class wxRadioButton: public wxControl +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { public: wxRadioButton() { } @@ -56,18 +51,17 @@ public: virtual bool IsRadioButton() const { return TRUE; } - GSList *m_radioButtonGroup; - void ApplyWidgetStyle(); - bool IsOwnGtkWindow( GdkWindow *window ); - void OnInternalIdle(); - 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; private: DECLARE_DYNAMIC_CLASS(wxRadioButton) }; -#endif // __GTKRADIOBUTTONH__ +#endif // _WX_GTK_RADIOBUT_H_