]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix after wxBitmap image changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Jun 2009 14:49:53 +0000 (14:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Jun 2009 14:49:53 +0000 (14:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/bmpbuttn.cpp

index 0ba91fd8fd6c7b7489b44571b92b12bb6f607070..4449639d9ce17a1d580e11ade5556112a49914d0 100644 (file)
@@ -89,7 +89,7 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id,
     if( size.y != -1 ) best.y = size.y;
 
     PostCreation();
-    DoSetBitmap();
+    OnSetBitmap();
 
     AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
                   pos.x, pos.y, best.x, best.y);
@@ -222,7 +222,7 @@ void wxBitmapButton::ChangeBackgroundColour()
     wxDoChangeBackgroundColour(m_mainWidget, m_backgroundColour, true);
 
     // Must reset the bitmaps since the colours have changed.
-    DoSetBitmap();
+    OnSetBitmap();
 }
 
 wxSize wxBitmapButton::DoGetBestSize() const