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:
@@ -137,6 +137,7 @@ wxGTK:
|
|||||||
- wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
|
- wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
|
||||||
- added support for wxCHK_3STATE style (GTK2 only)
|
- added support for wxCHK_3STATE style (GTK2 only)
|
||||||
- implemented text underlining under GTK2
|
- implemented text underlining under GTK2
|
||||||
|
- implemented wxFRAME_NO_TASKBAR style (GTK >= 2.2)
|
||||||
|
|
||||||
wxMotif:
|
wxMotif:
|
||||||
|
|
||||||
|
@@ -380,6 +380,13 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
|||||||
gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) );
|
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())
|
if (!name.IsEmpty())
|
||||||
gtk_window_set_wmclass( GTK_WINDOW(m_widget), wxGTK_CONV( name ), wxGTK_CONV( name ) );
|
gtk_window_set_wmclass( GTK_WINDOW(m_widget), wxGTK_CONV( name ), wxGTK_CONV( name ) );
|
||||||
|
|
||||||
|
@@ -380,6 +380,13 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
|||||||
gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) );
|
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())
|
if (!name.IsEmpty())
|
||||||
gtk_window_set_wmclass( GTK_WINDOW(m_widget), wxGTK_CONV( name ), wxGTK_CONV( name ) );
|
gtk_window_set_wmclass( GTK_WINDOW(m_widget), wxGTK_CONV( name ), wxGTK_CONV( name ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user