X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7b1510ea7f7855091df83d75a44415dc1cba18..1f481e6a253d4bb2b5237d941311ef3b0f5b214b:/src/gtk/settings.cpp diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index 89d6fe92c5..94f2e686f4 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -2,9 +2,8 @@ // Name: settings.cpp // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -53,12 +52,12 @@ #define SHIFT (8*(sizeof(short int)-sizeof(char))) -wxColour *g_systemBtnFaceColour = NULL; -wxColour *g_systemBtnShadowColour = NULL; -wxColour *g_systemBtnHighlightColour = NULL; -wxColour *g_systemHighlightColour = NULL; +wxColour *g_systemBtnFaceColour = (wxColour *) NULL; +wxColour *g_systemBtnShadowColour = (wxColour *) NULL; +wxColour *g_systemBtnHighlightColour = (wxColour *) NULL; +wxColour *g_systemHighlightColour = (wxColour *) NULL; -wxFont *g_systemFont = NULL; +wxFont *g_systemFont = (wxFont *) NULL; void wxSystemSettings::Done() { wxDELETE(g_systemBtnFaceColour); @@ -167,7 +166,7 @@ wxFont wxSystemSettings::GetSystemFont( int index ) case wxSYS_DEFAULT_GUI_FONT: { if (!g_systemFont) - g_systemFont = new wxFont( "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*" ); + g_systemFont = new wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL ); return *g_systemFont; } } @@ -185,4 +184,4 @@ int wxSystemSettings::GetSystemMetric( int index ) return gdk_screen_height(); } return 0; -} \ No newline at end of file +}