X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2352862a7ee8440fdc2ae65baff31b73e40179d5..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/univ/bmpbuttn.h diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index 4bfce6e7fe..40de393a9c 100644 --- a/include/wx/univ/bmpbuttn.h +++ b/include/wx/univ/bmpbuttn.h @@ -40,7 +40,7 @@ public: virtual void SetMargins(int x, int y) { - SetImageMargins(x, y); + SetBitmapMargins(x, y); wxBitmapButtonBase::SetMargins(x, y); }