implemented wxFRAME_NO_TASKBAR for wxGTK2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-06-28 21:47:54 +00:00
parent 8316ff5d98
commit 2be125e6fc
3 changed files with 15 additions and 0 deletions

View File

@ -137,6 +137,7 @@ wxGTK:
- wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
- added support for wxCHK_3STATE style (GTK2 only)
- implemented text underlining under GTK2
- implemented wxFRAME_NO_TASKBAR style (GTK >= 2.2)
wxMotif:

View File

@ -380,6 +380,13 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) );
}
#if GTK_CHECK_VERSION(2,2,0)
if (style & wxFRAME_NO_TASKBAR)
{
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(m_widget), TRUE);
}
#endif
if (!name.IsEmpty())
gtk_window_set_wmclass( GTK_WINDOW(m_widget), wxGTK_CONV( name ), wxGTK_CONV( name ) );

View File

@ -380,6 +380,13 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) );
}
#if GTK_CHECK_VERSION(2,2,0)
if (style & wxFRAME_NO_TASKBAR)
{
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(m_widget), TRUE);
}
#endif
if (!name.IsEmpty())
gtk_window_set_wmclass( GTK_WINDOW(m_widget), wxGTK_CONV( name ), wxGTK_CONV( name ) );