GTK+1 doesn't have gtk_window_set_type_hint

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-10-27 16:44:31 +00:00
parent 48a611cf00
commit cf49c9551b
2 changed files with 4 additions and 2 deletions

View File

@@ -447,10 +447,11 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
else
{
m_widget = gtk_window_new(GTK_WINDOW_TOPLEVEL);
#ifdef __WXGTK20__
if (style & wxFRAME_TOOL_WINDOW)
gtk_window_set_type_hint(GTK_WINDOW(m_widget),
GDK_WINDOW_TYPE_HINT_UTILITY);
#endif
}
}