diff --git a/clientgui/DlgAdvPreferencesBase.cpp b/clientgui/DlgAdvPreferencesBase.cpp index ccbcfc04c9..0d77bb538f 100644 --- a/clientgui/DlgAdvPreferencesBase.cpp +++ b/clientgui/DlgAdvPreferencesBase.cpp @@ -1214,7 +1214,7 @@ bool CDlgAdvPreferencesBase::doesLocalPrefsFileExist() { } void CDlgAdvPreferencesBase::makeStaticBoxLabelItalic(wxStaticBox* staticBox) { -#if defined(__WXMSW__) || defined(__WXGTK__) +#if defined(__WXMSW__) wxFont myFont = staticBox->GetFont(); myFont.MakeItalic(); myFont.MakeBold();