+void wxStaticBitmap::OnPaint( wxPaintEvent &event )
+{
+ wxPaintDC dc(this);
+ PrepareDC(dc);
+
+ dc.DrawBitmap( m_bitmap , 0 , 0 , TRUE ) ;
+}
+
+wxSize wxStaticBitmap::DoGetBestSize() const
+{
+ if ( m_bitmap.Ok() )
+ return wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight());
+ else
+ return wxSize(16, 16); // completely arbitrary