X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71c1dbbd547f25dd709f8f336261308c8c28a454..659863d8a73d02626f4060bb1099fe7bfd80d22a:/src/msw/bmpbuttn.cpp?ds=sidebyside diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index d4848e4d5f..e20d012df2 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -184,7 +184,7 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, SubclassWin(m_hWnd); SetPosition(pos); - SetBestSize(size); + SetInitialSize(size); return true; } @@ -582,11 +582,6 @@ wxBitmapButton::DrawButtonDisable( WXHDC dc, ::PatBlt( (HDC) dc, left, top, right, bottom, PATTERNPAINT); } -void wxBitmapButton::SetDefault() -{ - wxButton::SetDefault(); -} - wxSize wxBitmapButton::DoGetBestSize() const { if ( m_bmpNormal.Ok() )