]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbmp.cpp
Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added
[wxWidgets.git] / src / univ / statbmp.cpp
index c71ce2a7b4659ce6c2b9e9e133195bba9b568b5a..6059a8ab2e195ce4a8a4a18ae1f6d18e470d2f7c 100644 (file)
@@ -61,7 +61,7 @@ bool wxStaticBitmap::Create(wxWindow *parent,
     SetBitmap(label);
 
     // and adjust our size to fit it after this
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }