X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..ada083260a7c74b3bd084f6092a298e64a6c6b0f:/include/wx/univ/bmpbuttn.h diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index 34c09b3e3e..b3b81d0d66 100644 --- a/include/wx/univ/bmpbuttn.h +++ b/include/wx/univ/bmpbuttn.h @@ -12,11 +12,7 @@ #ifndef _WX_UNIV_BMPBUTTN_H_ #define _WX_UNIV_BMPBUTTN_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "univbmpbuttn.h" -#endif - -class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase +class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase { public: wxBitmapButton() { } @@ -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: