]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxUniv with 2.8 compatibility disabled (closes #10912)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Jun 2009 17:16:41 +0000 (17:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Jun 2009 17:16:41 +0000 (17:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
     }