]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/settings.cpp
Added missing include
[wxWidgets.git] / src / gtk1 / settings.cpp
index 5943aa5b0a45c345a89a8ea093990c43b6644b4f..a428fd858fe52284f1b34926df1e8af128725ac9 100644 (file)
 
 #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 <gdk/gdk.h>
 #include <gdk/gdkx.h>
@@ -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)
     {