/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "settings.h"
#endif
}
}
-int wxSystemSettingsNative::GetMetric(wxSystemMetric index)
+int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(win))
{
int val;
return 15;
break;
default:
- wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetMetric not fully implemented"));
- return 0;
+ return -1; // unsupported metric
}
}