]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/statbmp.cpp
Fixed a confusion between window and client size that could lead to
[wxWidgets.git] / src / mac / classic / statbmp.cpp
index e34226021d3df534bc58cce93f591c1621106f1f..4192e30e3f53b6a1d8cb23ebbecc678f0c13bdb0 100644 (file)
@@ -60,7 +60,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
     m_windowStyle = style;
 
     bool ret = wxControl::Create( parent, id, pos, size, style , wxDefaultValidator , name );
-    SetBestSize( size ) ;
+    SetInitialSize( size ) ;
 
     return ret;
 }