[ 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:
Robert Roebling
2006-11-27 21:29:41 +00:00
parent 92696e94f4
commit 0b24122688

View File

@@ -1384,8 +1384,7 @@ bool wxTopLevelWindowGTK::CanSetTransparent()
#if GTK_CHECK_VERSION(2,10,0)
if (!gtk_check_version(2,10,0))
{
if (gtk_widget_is_composited (m_widget))
return true;
return (gtk_widget_is_composited (m_widget));
}
else
#endif // In case of lower versions than gtk+-2.10.0 we could look for _NET_WM_CM_Sn ourselves