X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..02f170d7be867d5ec7346a107bf8fa639cd91b90:/include/wx/osx/tglbtn.h diff --git a/include/wx/osx/tglbtn.h b/include/wx/osx/tglbtn.h index fde10d7980..1782efd829 100644 --- a/include/wx/osx/tglbtn.h +++ b/include/wx/osx/tglbtn.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/tglbtn.h +// Name: wx/osx/tglbtn.h // Purpose: Declaration of the wxToggleButton class, which implements a // toggle button under wxMac. // Author: Stefan Csomor @@ -7,15 +7,12 @@ // Created: 08.02.01 // RCS-ID: $Id$ // Copyright: (c) 2004 Stefan Csomor -// License: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TOGGLEBUTTON_H_ #define _WX_TOGGLEBUTTON_H_ -WXDLLIMPEXP_DATA_CORE(extern const char) wxCheckBoxNameStr[]; - - class WXDLLIMPEXP_CORE wxBitmapToggleButton : public wxToggleButtonBase { public: @@ -44,7 +41,7 @@ public: virtual void SetValue(bool value); virtual bool GetValue() const ; - virtual bool HandleClicked( double timestampsec ); + virtual bool OSXHandleClicked( double timestampsec ); virtual void Command(wxCommandEvent& event); @@ -53,7 +50,7 @@ private: int m_marginX, m_marginY; - + protected: virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; @@ -91,7 +88,7 @@ public: virtual void SetValue(bool value); virtual bool GetValue() const ; - virtual bool HandleClicked( double timestampsec ); + virtual bool OSXHandleClicked( double timestampsec ); virtual void Command(wxCommandEvent& event);