[wxGTK] Support run-time changing of the wxFRAME_NO_TASKBAR style value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2005-11-07 23:06:34 +00:00
parent 015dca24ca
commit 8fb824187d
2 changed files with 12 additions and 0 deletions

View File

@@ -1379,4 +1379,10 @@ void wxTopLevelWindowGTK::SetWindowStyleFlag( long style )
if ( (styleChanges & wxSTAY_ON_TOP) && !gtk_check_version(2,4,0) )
gtk_window_set_keep_above(GTK_WINDOW(m_widget), m_windowStyle & wxSTAY_ON_TOP);
#endif
#if GTK_CHECK_VERSION(2,2,0)
if ( (styleChanges & wxFRAME_NO_TASKBAR) && !gtk_check_version(2,2,0) )
{
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(m_widget), m_windowStyle & wxFRAME_NO_TASKBAR);
}
#endif
}

View File

@@ -1379,4 +1379,10 @@ void wxTopLevelWindowGTK::SetWindowStyleFlag( long style )
if ( (styleChanges & wxSTAY_ON_TOP) && !gtk_check_version(2,4,0) )
gtk_window_set_keep_above(GTK_WINDOW(m_widget), m_windowStyle & wxSTAY_ON_TOP);
#endif
#if GTK_CHECK_VERSION(2,2,0)
if ( (styleChanges & wxFRAME_NO_TASKBAR) && !gtk_check_version(2,2,0) )
{
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(m_widget), m_windowStyle & wxFRAME_NO_TASKBAR);
}
#endif
}