]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/frame.cpp
Committing in .
[wxWidgets.git] / src / gtk1 / frame.cpp
index 23b5ea9c9f3d1e82c279fb61349fc6b0f0bb2ecd..8816caaa2b5c773ce27e49fe2cb4e7735c0bb0aa 100644 (file)
@@ -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 );