]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontenum.cpp
wxTipWindow can now derived from wxFrame if not wxUSE_POPUPWIN, or
[wxWidgets.git] / src / unix / fontenum.cpp
index d89102efb237ceea6be0a6af8f9eb427dfc115cc..63bcf5c4fccfa7a144b5c91ccb0a5a8a220d1194 100644 (file)
@@ -106,7 +106,7 @@ static bool ProcessFamiliesFromFontList(wxFontEnumerator *This,
     {
         char *font = fonts[n];
 #if wxUSE_REGEX
     {
         char *font = fonts[n];
 #if wxUSE_REGEX
-        if ( re.Matches(font) )
+        if ( !re.Matches(font) )
 #else // !wxUSE_REGEX
         if ( !wxString(font).Matches(wxT("-*-*-*-*-*-*-*-*-*-*-*-*-*-*")) )
 #endif // wxUSE_REGEX/!wxUSE_REGEX
 #else // !wxUSE_REGEX
         if ( !wxString(font).Matches(wxT("-*-*-*-*-*-*-*-*-*-*-*-*-*-*")) )
 #endif // wxUSE_REGEX/!wxUSE_REGEX