Added experim. support for wxFRAME_TOOL_WIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -426,6 +426,9 @@ bool wxFrame::Create( wxWindow *parent,
|
|||||||
|
|
||||||
GtkWindowType win_type = GTK_WINDOW_TOPLEVEL;
|
GtkWindowType win_type = GTK_WINDOW_TOPLEVEL;
|
||||||
|
|
||||||
|
if (style & wxFRAME_TOOL_WINDOW)
|
||||||
|
win_type = GTK_WINDOW_POPUP;
|
||||||
|
|
||||||
m_widget = gtk_window_new( win_type );
|
m_widget = gtk_window_new( win_type );
|
||||||
|
|
||||||
if ((m_parent) && (HasFlag(wxFRAME_FLOAT_ON_PARENT)) && (GTK_IS_WINDOW(m_parent->m_widget)))
|
if ((m_parent) && (HasFlag(wxFRAME_FLOAT_ON_PARENT)) && (GTK_IS_WINDOW(m_parent->m_widget)))
|
||||||
|
@@ -426,6 +426,9 @@ bool wxFrame::Create( wxWindow *parent,
|
|||||||
|
|
||||||
GtkWindowType win_type = GTK_WINDOW_TOPLEVEL;
|
GtkWindowType win_type = GTK_WINDOW_TOPLEVEL;
|
||||||
|
|
||||||
|
if (style & wxFRAME_TOOL_WINDOW)
|
||||||
|
win_type = GTK_WINDOW_POPUP;
|
||||||
|
|
||||||
m_widget = gtk_window_new( win_type );
|
m_widget = gtk_window_new( win_type );
|
||||||
|
|
||||||
if ((m_parent) && (HasFlag(wxFRAME_FLOAT_ON_PARENT)) && (GTK_IS_WINDOW(m_parent->m_widget)))
|
if ((m_parent) && (HasFlag(wxFRAME_FLOAT_ON_PARENT)) && (GTK_IS_WINDOW(m_parent->m_widget)))
|
||||||
|
Reference in New Issue
Block a user