X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..41550985f202b60e7e50142113b19e633d578bf0:/include/wx/univ/button.h diff --git a/include/wx/univ/button.h b/include/wx/univ/button.h index 59e97a533a..9c41fb392c 100644 --- a/include/wx/univ/button.h +++ b/include/wx/univ/button.h @@ -29,7 +29,7 @@ class WXDLLIMPEXP_FWD_CORE wxInputHandler; // wxButton: a push button // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxButton : public wxButtonBase +class WXDLLIMPEXP_CORE wxButton : public wxButtonBase { public: wxButton() { Init(); } @@ -87,8 +87,6 @@ public: virtual ~wxButton(); - virtual void SetImageLabel(const wxBitmap& bitmap); - virtual void SetImageMargins(wxCoord x, wxCoord y); virtual wxWindow *SetDefault(); virtual bool IsPressed() const { return m_isPressed; } @@ -119,6 +117,9 @@ protected: virtual bool DoDrawBackground(wxDC& dc); virtual void DoDraw(wxControlRenderer *renderer); + virtual void DoSetBitmap(const wxBitmap& bitmap, State which); + virtual void DoSetBitmapMargins(wxCoord x, wxCoord y); + // common part of all ctors void Init();