X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..afc605b2bebec2f890e84fcc6f6da5ca4e425806:/src/msw/statbmp.cpp diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index 26a32bf03b..537c193d84 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -166,16 +166,11 @@ bool wxStaticBitmap::Create(wxWindow *parent, SetImageNoCopy(image); // GetBestSize will work properly now, so set the best size if needed - SetBestSize(size); + SetInitialSize(size); return true; } -wxBorder wxStaticBitmap::GetDefaultBorder() const -{ - return wxBORDER_NONE; -} - WXDWORD wxStaticBitmap::MSWGetStyle(long style, WXDWORD *exstyle) const { WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle);