X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/include/wx/univ/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index 49c91d7d00..5d4d725aac 100644 --- a/include/wx/univ/bmpbuttn.h +++ b/include/wx/univ/bmpbuttn.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_BMPBUTTN_H_ #define _WX_UNIV_BMPBUTTN_H_ -#ifdef __GNUG__ - #pragma interface "bmpbuttn.h" -#endif - class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase { public: @@ -49,9 +45,9 @@ public: wxBitmapButtonBase::SetMargins(x, y); } - virtual bool Enable(bool enable = TRUE); + virtual bool Enable(bool enable = true); - virtual bool SetCurrent(bool doit = TRUE); + virtual bool SetCurrent(bool doit = true); virtual void Press(); virtual void Release(); @@ -64,7 +60,7 @@ protected: virtual void OnSetBitmap(); // set bitmap to the given one if it's ok or to m_bmpNormal and return - // TRUE if the bitmap really changed + // true if the bitmap really changed bool ChangeBitmap(const wxBitmap& bmp); private: