Fix VC++ warning about comparing bool with > 0

This commit is contained in:
Václav Slavík
2016-07-10 16:39:09 +02:00
parent 13f9789996
commit d6a6b8fbd4

View File

@@ -1171,7 +1171,7 @@ wxString wxStripMenuCodes(const wxString& in, int flags)
}
// The initial '?' means we match "Foo(&F)" but not "(&F)"
if (label.Matches("?*(&?)") > 0)
if (label.Matches("?*(&?)"))
{
label = label.Left( label.Len()-4 ).Trim();
return label + accel;