X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7c80f9e052d3d50b3d7780b21e55d8c5586cdea..3e1924dd5f5744c3e2a8973de9b3e4f372b7fd85:/src/gtk1/settings.cpp diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 5943aa5b0a..a428fd858f 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -13,9 +13,12 @@ #include "wx/settings.h" -#include "wx/cmndata.h" +#ifndef WX_PRECOMP + #include "wx/cmndata.h" + #include "wx/toplevel.h" +#endif + #include "wx/fontutil.h" -#include "wx/toplevel.h" #include #include @@ -354,7 +357,8 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index ) } } -int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win ) +int +wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(win)) { switch (index) {