From: Václav Slavík Date: Sat, 24 Nov 2001 23:58:40 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/05c9ccbe622515f0c32c996a95e86a316b13a59b?ds=inline compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);