X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edc1cd8baf42910840cd2f86351f417868f9c1a9..461fe6e2559a3096d4985a50ba106f26ed890a1d:/src/motif/settings.cpp?ds=sidebyside diff --git a/src/motif/settings.cpp b/src/motif/settings.cpp index e8d4c9b01b..b332b632c7 100644 --- a/src/motif/settings.cpp +++ b/src/motif/settings.cpp @@ -13,7 +13,7 @@ // per-user file, which can be edited using a Windows-control-panel clone. // Also they should be documented better. Some are very MS Windows-ish. -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "settings.h" #endif @@ -181,6 +181,9 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) { switch ( index) { + case wxSYS_HSCROLL_Y: + case wxSYS_VSCROLL_X: + return 15; case wxSYS_MOUSE_BUTTONS: // TODO case wxSYS_BORDER_X: @@ -233,10 +236,6 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) // TODO case wxSYS_SMALLICON_Y: // TODO - case wxSYS_HSCROLL_Y: - // TODO - case wxSYS_VSCROLL_X: - // TODO case wxSYS_VSCROLL_ARROW_X: // TODO case wxSYS_VSCROLL_ARROW_Y: