X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71c1dbbd547f25dd709f8f336261308c8c28a454..c3a58b249e576b73b01cd74deb1cf879aa6e1975:/src/msw/bmpbuttn.cpp diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index d4848e4d5f..1d16f90dab 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; }