]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpbuttn.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / bmpbuttn.h
index 21412bf42581833353a0ccc5e4c3e1be015270b6..0ac15ef2923ab68560b7ad9a7780dcf783ee09c5 100644 (file)
@@ -89,7 +89,7 @@ protected:
         m_marginY;
 
 
-    DECLARE_NO_COPY_CLASS(wxBitmapButtonBase)
+    wxDECLARE_NO_COPY_CLASS(wxBitmapButtonBase);
 };
 
 #if WXWIN_COMPATIBILITY_2_6
@@ -110,7 +110,7 @@ inline void wxBitmapButtonBase::SetLabel(const wxBitmap& bitmap)
 #elif defined(__WXGTK__)
     #include "wx/gtk1/bmpbuttn.h"
 #elif defined(__WXMAC__)
-    #include "wx/mac/bmpbuttn.h"
+    #include "wx/osx/bmpbuttn.h"
 #elif defined(__WXCOCOA__)
     #include "wx/cocoa/bmpbuttn.h"
 #elif defined(__WXPM__)