diff --git a/src/gtk/statbmp.cpp b/src/gtk/statbmp.cpp index e069dbfbf2..36aba28da0 100644 --- a/src/gtk/statbmp.cpp +++ b/src/gtk/statbmp.cpp @@ -84,16 +84,12 @@ bool wxStaticBitmap::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi else { m_widget = gtk_label_new( "Bitmap" ); - m_focusWidget = m_widget; - - PostCreation(); } + PostCreation(); m_parent->DoAddChild( this ); - Show( TRUE ); - return TRUE; } diff --git a/src/gtk1/statbmp.cpp b/src/gtk1/statbmp.cpp index e069dbfbf2..36aba28da0 100644 --- a/src/gtk1/statbmp.cpp +++ b/src/gtk1/statbmp.cpp @@ -84,16 +84,12 @@ bool wxStaticBitmap::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi else { m_widget = gtk_label_new( "Bitmap" ); - m_focusWidget = m_widget; - - PostCreation(); } + PostCreation(); m_parent->DoAddChild( this ); - Show( TRUE ); - return TRUE; }