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