]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbmp.cpp
No longer emit char events for shift/ctrl presses.
[wxWidgets.git] / src / gtk / statbmp.cpp
index 7d752190cd6d68dae5477aabdd4bbf9bc55636dd..ff7fc98b4f1a921331433b32b77144d58bc660b2 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Robert Roebling
 // Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
-// Licence:    wxWindows licence
+// Licence:           wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
@@ -60,9 +60,7 @@ bool wxStaticBitmap::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi
         m_widget = gtk_label_new( "Bitmap" );
     }
   
-    m_parent->AddChild( this );
-
-    (m_parent->m_insertCallback)( m_parent, this );
+    m_parent->DoAddChild( this );
   
     PostCreation();