use bool expression rather than implicit conversion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2009-02-18 18:02:53 +00:00
parent 3051a44a73
commit c4021a7920
6 changed files with 23 additions and 23 deletions

View File

@@ -202,7 +202,7 @@ class wxWeakRef : public
#ifdef USE_ONLY_STATIC_WEAKREF
wxWeakRefStatic<T>
#else
wxWeakRefImpl<T, wxIsStaticTrackable<T>::value>
wxWeakRefImpl<T, wxIsStaticTrackable<T>::value != 0>
#endif
{
public: