git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69528 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 
     void OnActivate( wxActivateEvent& event );
     void OnMenuHighlight( wxMenuEvent& event );
 
     void OnActivate( wxActivateEvent& event );
     void OnMenuHighlight( wxMenuEvent& event );
+    virtual void GTKHandleRealized();
 
     wxMenuBar         *m_menuBar;
     bool               m_justInserted;
 
     wxMenuBar         *m_menuBar;
     bool               m_justInserted;
 
         gtk_widget_queue_draw(m_parent->m_widget);
 }
 
         gtk_widget_queue_draw(m_parent->m_widget);
 }
 
+void wxMDIChildFrame::GTKHandleRealized()
+{
+    // since m_widget is not a GtkWindow, must bypass wxTopLevelWindowGTK
+    wxTopLevelWindowBase::GTKHandleRealized();
+}
+
 void wxMDIChildFrame::SetMenuBar( wxMenuBar *menu_bar )
 {
     wxASSERT_MSG( m_menuBar == NULL, "Only one menubar allowed" );
 void wxMDIChildFrame::SetMenuBar( wxMenuBar *menu_bar )
 {
     wxASSERT_MSG( m_menuBar == NULL, "Only one menubar allowed" );