wxNativeFontInfo changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "wx/app.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/fontutil.h"
|
||||
#endif // PCH
|
||||
|
||||
#include "wx/fontmap.h"
|
||||
@@ -685,10 +686,10 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
|
||||
wxFont font = retData.GetChosenFont();
|
||||
|
||||
*info = retData.EncodingInfo();
|
||||
info -> encoding = retData.GetEncoding();
|
||||
info->encoding = retData.GetEncoding();
|
||||
|
||||
#if wxUSE_CONFIG
|
||||
// remember this in the config
|
||||
// remember this in the config
|
||||
if ( ChangePath(FONTMAPPER_FONT_FROM_ENCODING_PATH, &pathOld) )
|
||||
{
|
||||
GetConfig()->Write(configEntry, info->ToString());
|
||||
|
Reference in New Issue
Block a user