]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbmp.cpp
process pending wx events before sending idle events
[wxWidgets.git] / src / mac / carbon / statbmp.cpp
index 7aad88f18ad6ddf633e2f303836d72dc3bf2d6e4..8948b0c3e592be5bc9179870cae0d52323b5afde 100644 (file)
@@ -50,7 +50,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;
 }