X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58fa61dbad0ea1158f6c6e96d611c26057e069ba..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/valtext.h diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 62c762990d..c5ca124b67 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -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: