X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..99c75ebc5e447e1bb25439e22f07130583dc5783:/include/wx/mac/carbon/radiobut.h diff --git a/include/wx/mac/carbon/radiobut.h b/include/wx/mac/carbon/radiobut.h index 22fe9c1bda..e89c89ae37 100644 --- a/include/wx/mac/carbon/radiobut.h +++ b/include/wx/mac/carbon/radiobut.h @@ -12,10 +12,6 @@ #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 { DECLARE_DYNAMIC_CLASS(wxRadioButton) @@ -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,9 +54,9 @@ public: // Not implemented #if 0 -class WXDLLEXPORT wxBitmap ; +class WXDLLIMPEXP_FWD_CORE wxBitmap ; -WXDLLEXPORT_DATA(extern const char*) wxBitmapRadioButtonNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxBitmapRadioButtonNameStr[]; class WXDLLEXPORT wxBitmapRadioButton: public wxRadioButton {