X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3870b2ff595ba4bb4f0397ace77ceeb9628e94d..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/univ/bmpbuttn.h diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index 07a07b89bb..aea430dc1c 100644 --- a/include/wx/univ/bmpbuttn.h +++ b/include/wx/univ/bmpbuttn.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_BMPBUTTN_H_ #define _WX_UNIV_BMPBUTTN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univbmpbuttn.h" #endif @@ -49,9 +49,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 +64,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: