]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
[wxWidgets.git] / src / msw / statbmp.cpp
index 26a32bf03b6a2ff351329f10fd539b73d8b2a7c0..cd03008f89e66d50df44c2d1c863af9ed8b4644f 100644 (file)
@@ -166,7 +166,7 @@ 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;
 }