X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d0c4d2e7bcedb4599c3cce0af19adf73b2f8ecd..bdb310a72026e7781cda51fd3fc353cbec9151ed:/src/gtk/frame.cpp diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index a8f5c7644d..8816caaa2b 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -252,7 +252,7 @@ gtk_frame_realized_callback( GtkWidget * WXUNUSED(widget), wxFrame *win ) if (g_isIdle) wxapp_install_idle_handler(); - if ((win->m_miniEdge > 0) || (win->HasFlag(wxSIMPLE_BORDER))) + if ((win->m_miniEdge > 0) || (win->HasFlag(wxSIMPLE_BORDER)) || (win->HasFlag(wxNO_BORDER))) { /* This is a mini-frame or a borderless frame. */ gdk_window_set_decorations( win->m_widget->window, (GdkWMDecoration)0 ); @@ -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 );