compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "wx/univ/theme.h"
|
||||
#include "wx/univ/renderer.h"
|
||||
#include "wx/univ/colschem.h"
|
||||
#include "wx/sysopt.h"
|
||||
#include "wx/mgl/private.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -156,7 +157,7 @@ static bool wxCreateMGL_WM(const wxDisplayModeInfo& displayMode)
|
||||
int refresh = MGL_DEFAULT_REFRESH;
|
||||
|
||||
#if wxUSE_SYSTEM_OPTIONS
|
||||
if ( wxSystemOptions::HasOption(wxT("mgl.screen-refresh") )
|
||||
if ( wxSystemOptions::HasOption(wxT("mgl.screen-refresh")) )
|
||||
refresh = wxSystemOptions::GetOptionInt(wxT("mgl.screen-refresh"));
|
||||
#endif
|
||||
|
||||
|
@@ -245,7 +245,7 @@ wxMGLFontInstance *wxMGLFontLibrary::GetFontInstance(wxFont *font,
|
||||
{
|
||||
gs_antialiasingThreshold = 10;
|
||||
#if wxUSE_SYSTEM_OPTIONS
|
||||
if ( wxSystemOptions::HasOption(wxT("mgl.aa-threshold") )
|
||||
if ( wxSystemOptions::HasOption(wxT("mgl.aa-threshold")) )
|
||||
gs_antialiasingThreshold =
|
||||
wxSystemOptions::GetOptionInt(wxT("mgl.aa-threshold"));
|
||||
wxLogTrace("mgl_font", "AA threshold set to %i", gs_antialiasingThreshold);
|
||||
|
Reference in New Issue
Block a user