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 );