X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76c13f8f227011614a78738e7da445a5b7b61d11..706465df1f0d5b356424cc0aeee6c21ac403999e:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index b155af512b..5a2984fb13 100644 --- a/include/wx/msw/tglbtn.h +++ b/include/wx/msw/tglbtn.h @@ -7,7 +7,7 @@ // Created: 08.02.01 // RCS-ID: $Id$ // Copyright: (c) 2000 Johnny C. Norris II -// License: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TOGGLEBUTTON_H_ @@ -15,8 +15,6 @@ #include "wx/bitmap.h" -extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[]; - //----------------------------------------------------------------------------- // wxBitmapToggleButton //----------------------------------------------------------------------------- @@ -55,16 +53,16 @@ public: // Set the label virtual void SetLabel(const wxString& label) { wxControl::SetLabel(label); } virtual void SetLabel(const wxBitmap& label); - bool Enable(bool enable = TRUE); + bool Enable(bool enable = true); protected: void Init(); - + wxBitmap m_bitmap; wxBitmap m_disabledBitmap; bool m_capturing; bool m_depressed,m_oldValue; - + void OnPaint(wxPaintEvent &event); void OnMouse(wxMouseEvent &event); void OnChar(wxKeyEvent &event);