From ba8ac2c7c30f6a18ac1fae70162be008c3fc378d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 24 Jun 2009 14:49:53 +0000 Subject: [PATCH] compilation fix after wxBitmap image changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/bmpbuttn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/motif/bmpbuttn.cpp b/src/motif/bmpbuttn.cpp index 0ba91fd8fd..4449639d9c 100644 --- a/src/motif/bmpbuttn.cpp +++ b/src/motif/bmpbuttn.cpp @@ -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