X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e44d6a1f908b57d0e84ee327c31ac240826a8778..eaf32690a6e641606e78e5a8bb129bd68408ad88:/src/univ/themes/gtk.cpp diff --git a/src/univ/themes/gtk.cpp b/src/univ/themes/gtk.cpp index 73ff1f5322..75931f5b59 100644 --- a/src/univ/themes/gtk.cpp +++ b/src/univ/themes/gtk.cpp @@ -763,6 +763,8 @@ wxColour wxGTKColourScheme::Get(wxGTKColourScheme::StdColour col) const case HIGHLIGHT: return wxColour(0x9c0000); case HIGHLIGHT_TEXT: return wxColour(0xffffff); + case GAUGE: return Get(CONTROL_CURRENT); + case MAX: default: wxFAIL_MSG(_T("invalid standard colour")); @@ -1566,7 +1568,7 @@ wxRect wxGTKRenderer::GetTextClientArea(const wxTextCtrl *text, wxCoord *extraSpaceBeyond) { wxRect rectText = rect; - rectText.Inflate(-2*BORDER_THICKNESS); + rectText.Deflate(2*BORDER_THICKNESS); if ( text->WrapLines() ) { @@ -2395,7 +2397,7 @@ void wxGTKRenderer::AdjustSize(wxSize *size, const wxWindow *window) size->y += 4; } } else -#endif wxUSE_BUTTON +#endif //wxUSE_BUTTON if ( wxDynamicCast(window, wxScrollBar) ) { // we only set the width of vert scrollbars and height of the