]> git.saurik.com Git - wxWidgets.git/commitdiff
Added experim. support for wxFRAME_TOOL_WIN
authorRobert Roebling <robert@roebling.de>
Mon, 11 Sep 2000 17:12:38 +0000 (17:12 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 11 Sep 2000 17:12:38 +0000 (17:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/frame.cpp
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 );
 
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 );