X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..61fef19b852d426f5b00b60de083539b9ba0f76c:/include/wx/bmpbuttn.h diff --git a/include/wx/bmpbuttn.h b/include/wx/bmpbuttn.h index f0e8f7782b..ebaafefda3 100644 --- a/include/wx/bmpbuttn.h +++ b/include/wx/bmpbuttn.h @@ -12,6 +12,8 @@ #ifndef _WX_BMPBUTTON_H_BASE_ #define _WX_BMPBUTTON_H_BASE_ +#include "wx/defs.h" + #if wxUSE_BMPBUTTON #include "wx/bitmap.h" @@ -72,10 +74,13 @@ protected: // the margins around the bitmap int m_marginX, m_marginY; + private: // Prevent Virtual function hiding warnings void SetLabel(const wxString& rsLabel) - { wxWindowBase::SetLabel(rsLabel); } + { wxWindowBase::SetLabel(rsLabel); } + + DECLARE_NO_COPY_CLASS(wxBitmapButtonBase) }; #if defined(__WXUNIVERSAL__)