]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/bmpbuttn.h
Set correct toolbar width in wxMSW wxFrame.
[wxWidgets.git] / include / wx / univ / bmpbuttn.h
index 4bfce6e7fe0e9d0220b9d70ddbd5feb89a6d19c3..40de393a9c08c72477731f28ad4e0802526ac2ec 100644 (file)
@@ -40,7 +40,7 @@ public:
 
     virtual void SetMargins(int x, int y)
     {
-        SetImageMargins(x, y);
+        SetBitmapMargins(x, y);
 
         wxBitmapButtonBase::SetMargins(x, y);
     }