X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84eacd3032dab426f4163afc6ae87cc422391a0e..99646f7ee4afb3d7d929e1d396e56de8c1aed622:/src/gtk1/frame.cpp 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 );