projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed menubar attaching: create it first, THEN set pointer to it
[wxWidgets.git]
/
src
/
unix
/
fontenum.cpp
diff --git
a/src/unix/fontenum.cpp
b/src/unix/fontenum.cpp
index c68984623b1d6588d64ec324aa48e48b200e7a6e..63bcf5c4fccfa7a144b5c91ccb0a5a8a220d1194 100644
(file)
--- a/
src/unix/fontenum.cpp
+++ b/
src/unix/fontenum.cpp
@@
-23,8
+23,8
@@
#include "wx/defs.h"
#include "wx/dynarray.h"
#include "wx/defs.h"
#include "wx/dynarray.h"
-#include "wx/regex.h"
#include "wx/string.h"
#include "wx/string.h"
+#include "wx/regex.h"
#include "wx/utils.h"
#include "wx/fontmap.h"
#include "wx/utils.h"
#include "wx/fontmap.h"
@@
-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