projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
made default background colour BTNFACE (so that panels don't have to erase their...
[wxWidgets.git]
/
src
/
msw
/
fontutil.cpp
diff --git
a/src/msw/fontutil.cpp
b/src/msw/fontutil.cpp
index dbf009105ad3ed52d14c4a266626605177e3b60f..266971d30a792b4ea46cb1fab9a9320fee98a16d 100644
(file)
--- a/
src/msw/fontutil.cpp
+++ b/
src/msw/fontutil.cpp
@@
-164,7
+164,7
@@
bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
LOGFONT lf;
wxZeroMemory(lf); // all default values
- lf.lfCharSet = info.charset;
+ lf.lfCharSet =
(BYTE)
info.charset;
wxStrncpy(lf.lfFaceName, info.facename, WXSIZEOF(lf.lfFaceName));
HFONT hfont = ::CreateFontIndirect(&lf);