X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a290fa5a7deebe9d96c0c0089d18e27d4bd9b624..c9ccc09c64f4c29d4667796bef7b507d9e8d25ed:/include/wx/univ/bmpbuttn.h diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index aea430dc1c..40de393a9c 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() { } @@ -44,7 +40,7 @@ public: virtual void SetMargins(int x, int y) { - SetImageMargins(x, y); + SetBitmapMargins(x, y); wxBitmapButtonBase::SetMargins(x, y); } @@ -63,8 +59,8 @@ protected: // called when one of the bitmap is changed by user 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 + // set bitmap to the given one if it's ok or to the normal bitmap and + // return true if the bitmap really changed bool ChangeBitmap(const wxBitmap& bmp); private: