]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbmp.cpp
Changed the procedure for writing a comment to a GIF image.
[wxWidgets.git] / src / univ / statbmp.cpp
index c71ce2a7b4659ce6c2b9e9e133195bba9b568b5a..5ff0f72ab687099f9516224a7bb8c5b9d1aecc5c 100644 (file)
@@ -40,8 +40,6 @@
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
 // ----------------------------------------------------------------------------
 // wxStaticBitmap
 // ----------------------------------------------------------------------------
@@ -61,7 +59,7 @@ bool wxStaticBitmap::Create(wxWindow *parent,
     SetBitmap(label);
 
     // and adjust our size to fit it after this
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }