diff --git a/src/mgl/app.cpp b/src/mgl/app.cpp index bcb909fcc8..9112462198 100644 --- a/src/mgl/app.cpp +++ b/src/mgl/app.cpp @@ -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 diff --git a/src/mgl/fontutil.cpp b/src/mgl/fontutil.cpp index 3fcbc396d8..ff86adca53 100644 --- a/src/mgl/fontutil.cpp +++ b/src/mgl/fontutil.cpp @@ -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);