]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpbuttn.h
warnings (and some errors) fixes for wxUniv DLL build
[wxWidgets.git] / include / wx / bmpbuttn.h
index f0e8f7782b24a5e0019bdc24d71fdca930291fea..ebaafefda3e9d55d27add37d2e35bf9e8bac3f02 100644 (file)
@@ -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__)