From: Robert Roebling Date: Mon, 11 Sep 2000 17:12:38 +0000 (+0000) Subject: Added experim. support for wxFRAME_TOOL_WIN X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/343e14b3e25f258bead6ae11bdc0adee6bcbe04e Added experim. support for wxFRAME_TOOL_WIN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 23b5ea9c9f..8816caaa2b 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -425,6 +425,9 @@ bool wxFrame::Create( wxWindow *parent, m_insertCallback = (wxInsertChildFunction) wxInsertChildInFrame; GtkWindowType win_type = GTK_WINDOW_TOPLEVEL; + + if (style & wxFRAME_TOOL_WINDOW) + win_type = GTK_WINDOW_POPUP; m_widget = gtk_window_new( win_type ); diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index 23b5ea9c9f..8816caaa2b 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -425,6 +425,9 @@ bool wxFrame::Create( wxWindow *parent, m_insertCallback = (wxInsertChildFunction) wxInsertChildInFrame; GtkWindowType win_type = GTK_WINDOW_TOPLEVEL; + + if (style & wxFRAME_TOOL_WINDOW) + win_type = GTK_WINDOW_POPUP; m_widget = gtk_window_new( win_type );