// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticBitmap
// ----------------------------------------------------------------------------
SetBitmap(label);
// and adjust our size to fit it after this
- SetBestSize(size);
+ SetInitialSize(size);
return true;
}