X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9e4acc5197ac49259b9a39468c5931b4459d87f..61fef19b852d426f5b00b60de083539b9ba0f76c:/include/wx/bmpbuttn.h diff --git a/include/wx/bmpbuttn.h b/include/wx/bmpbuttn.h index 91ff9dcec0..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__) @@ -88,6 +93,8 @@ private: #include "wx/gtk/bmpbuttn.h" #elif defined(__WXMAC__) #include "wx/mac/bmpbuttn.h" +#elif defined(__WXCOCOA__) + #include "wx/cocoa/bmpbuttn.h" #elif defined(__WXPM__) #include "wx/os2/bmpbuttn.h" #endif