[ 1603704 ] Fix g++ -Wall warning in gtk/src/toplevel.cpp
(when compiling against GTK+ 2.10). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1384,8 +1384,7 @@ bool wxTopLevelWindowGTK::CanSetTransparent()
|
|||||||
#if GTK_CHECK_VERSION(2,10,0)
|
#if GTK_CHECK_VERSION(2,10,0)
|
||||||
if (!gtk_check_version(2,10,0))
|
if (!gtk_check_version(2,10,0))
|
||||||
{
|
{
|
||||||
if (gtk_widget_is_composited (m_widget))
|
return (gtk_widget_is_composited (m_widget));
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif // In case of lower versions than gtk+-2.10.0 we could look for _NET_WM_CM_Sn ourselves
|
#endif // In case of lower versions than gtk+-2.10.0 we could look for _NET_WM_CM_Sn ourselves
|
||||||
|
Reference in New Issue
Block a user