From: Robert Roebling Date: Sat, 24 Apr 1999 12:55:04 +0000 (+0000) Subject: small change required for OLE component X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/031bc97f4629f95d445f9716a9d4d61665a19dc9?ds=inline small change required for OLE component git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index e93a313d95..288579b661 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -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 ); } diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index e93a313d95..288579b661 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -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 ); }