X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76c13f8f227011614a78738e7da445a5b7b61d11..3c9863aca7b164a3fa3fcb61af9f0fbdf30e08f2:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index b155af512b..cc01baf6de 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_ @@ -55,16 +55,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);