small change required for OLE component
authorRobert Roebling <robert@roebling.de>
Sat, 24 Apr 1999 12:55:04 +0000 (12:55 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 24 Apr 1999 12:55:04 +0000 (12:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/frame.cpp
src/gtk1/frame.cpp

index e93a313d95b8411e75fbd5a40b73c5803c98031d..288579b66122d3566f192a9262dafb9e9db33f5a 100644 (file)
@@ -231,6 +231,7 @@ wxFrame::wxFrame()
     m_mainWidget = (GtkWidget*) NULL;
     m_menuBarDetached = FALSE;
     m_toolBarDetached = FALSE;
+    m_insertCallback = wxInsertChildInFrame;
 }
 
 wxFrame::wxFrame( wxWindow *parent, wxWindowID id, const wxString &title,
@@ -246,6 +247,7 @@ wxFrame::wxFrame( wxWindow *parent, wxWindowID id, const wxString &title,
     m_mainWidget = (GtkWidget*) NULL;
     m_menuBarDetached = FALSE;
     m_toolBarDetached = FALSE;
+    m_insertCallback = wxInsertChildInFrame;
     Create( parent, id, title, pos, size, style, name );
 }
 
index e93a313d95b8411e75fbd5a40b73c5803c98031d..288579b66122d3566f192a9262dafb9e9db33f5a 100644 (file)
@@ -231,6 +231,7 @@ wxFrame::wxFrame()
     m_mainWidget = (GtkWidget*) NULL;
     m_menuBarDetached = FALSE;
     m_toolBarDetached = FALSE;
+    m_insertCallback = wxInsertChildInFrame;
 }
 
 wxFrame::wxFrame( wxWindow *parent, wxWindowID id, const wxString &title,
@@ -246,6 +247,7 @@ wxFrame::wxFrame( wxWindow *parent, wxWindowID id, const wxString &title,
     m_mainWidget = (GtkWidget*) NULL;
     m_menuBarDetached = FALSE;
     m_toolBarDetached = FALSE;
+    m_insertCallback = wxInsertChildInFrame;
     Create( parent, id, title, pos, size, style, name );
 }