X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76c13f8f227011614a78738e7da445a5b7b61d11..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/msw/tglbtn.h?ds=sidebyside diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index b155af512b..0a9df04949 100644 --- a/include/wx/msw/tglbtn.h +++ b/include/wx/msw/tglbtn.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);