X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/259502c61d563a8f249254a7a559c1268354d4db..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/cocoa/radiobox.h diff --git a/include/wx/cocoa/radiobox.h b/include/wx/cocoa/radiobox.h index e1928c22eb..69600c8421 100644 --- a/include/wx/cocoa/radiobox.h +++ b/include/wx/cocoa/radiobox.h @@ -18,7 +18,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSMatrix); // ======================================================================== // wxRadioBox // ======================================================================== -class WXDLLEXPORT wxRadioBox: public wxControl, public wxRadioBoxBase// , protected wxCocoaNSButton +class WXDLLIMPEXP_CORE wxRadioBox: public wxControl, public wxRadioBoxBase// , protected wxCocoaNSButton { DECLARE_DYNAMIC_CLASS(wxRadioBox) DECLARE_EVENT_TABLE() @@ -93,8 +93,8 @@ public: // Cocoa callbacks // ------------------------------------------------------------------------ protected: - // Static boxes cannot be enabled/disabled - virtual void CocoaSetEnabled(bool enable) { } + // Radio boxes cannot be enabled/disabled + virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { } virtual void CocoaTarget_action(void); // ------------------------------------------------------------------------ // Implementation @@ -110,7 +110,7 @@ public: virtual void SetString(unsigned int n, const wxString& label); // change the individual radio button state protected: - // We don't want the typical wxCocoaNSBox behavior because our real + // We don't want the typical wxCocoaNSBox behaviour because our real // implementation is by using an NSMatrix as the NSBox's contentView. WX_NSMatrix GetNSMatrix() const; void AssociateNSBox(WX_NSBox theBox);