]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
in debug mode when clicking with the middle mouse button draw borders around all...
[wxWidgets.git] / include / wx / valtext.h
index 62c762990d878c834c2092e602aff3b4ad022b61..c5ca124b67ccd44cebba3c00f2528776d745bdf2 100644 (file)
@@ -78,7 +78,7 @@ public:
     inline wxArrayString& GetExcludes() { return m_excludes; }
 
     bool HasFlag(wxTextValidatorStyle style) const
-        { return m_validatorStyle & style; }
+        { return (m_validatorStyle & style) != 0; }
 
 protected: