]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/weakref.h
fix PCH-less build after changing timer id type to WPARAM (closes #10901)
[wxWidgets.git] / include / wx / weakref.h
index 00e7fa122931b8d8b7317cf33849cc07c7953051..b8324d07ec7248eabe2464175ee67b73784526db 100644 (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: