projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't mention GUI-only changes in the base section
[wxWidgets.git]
/
src
/
unix
/
fontutil.cpp
diff --git
a/src/unix/fontutil.cpp
b/src/unix/fontutil.cpp
index 0e8aeaddd2d4750f7d1156cc15730450faafabea..e826a295a26f6da2c744a0e53de507e8ecc68525 100644
(file)
--- a/
src/unix/fontutil.cpp
+++ b/
src/unix/fontutil.cpp
@@
-385,7
+385,13
@@
bool wxNativeFontInfo::FromXFontName(const wxString& fontname)
}
// this should be all
}
// this should be all
- return !tokenizer.HasMoreTokens();
+ if ( tokenizer.HasMoreTokens() )
+ return FALSE;
+
+ // we're initialized now
+ m_isDefault = FALSE;
+
+ return TRUE;
}
wxString wxNativeFontInfo::GetXFontName() const
}
wxString wxNativeFontInfo::GetXFontName() const