fix warnings about conversion to bool, closes #14381

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-06-07 05:18:30 +00:00
parent ecdfd09516
commit d5027818a4
17 changed files with 34 additions and 37 deletions

View File

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