]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/gizmos/statpict.cpp
added support for colour cursors in wxGTK (patch 1655576)
[wxWidgets.git] / contrib / src / gizmos / statpict.cpp
index a6fd9f768eaec819706f88adddd6f2a59bd21076..b8c1cdf99d03fda4244a8c22d857ed7f396eee73 100644 (file)
@@ -67,7 +67,7 @@ bool wxStaticPicture::Create(wxWindow *parent, wxWindowID id,
 
     bool ret = wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name );
 
-    SetBestSize( size ) ;
+    SetInitialSize( size ) ;
 
     return ret;
 }