X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/mac/carbon/radiobut.h diff --git a/include/wx/mac/carbon/radiobut.h b/include/wx/mac/carbon/radiobut.h index 22fe9c1bda..6514d218e7 100644 --- a/include/wx/mac/carbon/radiobut.h +++ b/include/wx/mac/carbon/radiobut.h @@ -12,11 +12,7 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "radiobut.h" -#endif - -class WXDLLEXPORT wxRadioButton: public wxControl +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { DECLARE_DYNAMIC_CLASS(wxRadioButton) protected: @@ -31,6 +27,7 @@ public: { Create(parent, id, label, pos, size, style, validator, name); } + virtual ~wxRadioButton(); bool Create(wxWindow *parent, wxWindowID id, const wxString& label, @@ -44,9 +41,10 @@ public: // implementation - virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ); + virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; void Command(wxCommandEvent& event); wxRadioButton *AddInCycle(wxRadioButton *cycle); + void RemoveFromCycle(); inline wxRadioButton *NextInCycle() {return m_cycle;} protected: @@ -56,11 +54,11 @@ public: // Not implemented #if 0 -class WXDLLEXPORT wxBitmap ; +class WXDLLIMPEXP_FWD_CORE wxBitmap ; -WXDLLEXPORT_DATA(extern const char*) wxBitmapRadioButtonNameStr; +WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxBitmapRadioButtonNameStr[]; -class WXDLLEXPORT wxBitmapRadioButton: public wxRadioButton +class WXDLLIMPEXP_CORE wxBitmapRadioButton: public wxRadioButton { DECLARE_DYNAMIC_CLASS(wxBitmapRadioButton) protected: