Add runtime 2.4.0 check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -507,9 +507,12 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GTK_CHECK_VERSION(2,4,0)
|
#if GTK_CHECK_VERSION(2,4,0)
|
||||||
if (style & wxSTAY_ON_TOP)
|
if (!gtk_check_version(2,4,0))
|
||||||
{
|
{
|
||||||
gtk_window_set_keep_above(GTK_WINDOW(m_widget), TRUE);
|
if (style & wxSTAY_ON_TOP)
|
||||||
|
{
|
||||||
|
gtk_window_set_keep_above(GTK_WINDOW(m_widget), TRUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -507,9 +507,12 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GTK_CHECK_VERSION(2,4,0)
|
#if GTK_CHECK_VERSION(2,4,0)
|
||||||
if (style & wxSTAY_ON_TOP)
|
if (!gtk_check_version(2,4,0))
|
||||||
{
|
{
|
||||||
gtk_window_set_keep_above(GTK_WINDOW(m_widget), TRUE);
|
if (style & wxSTAY_ON_TOP)
|
||||||
|
{
|
||||||
|
gtk_window_set_keep_above(GTK_WINDOW(m_widget), TRUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user