From: Vadim Zeitlin Date: Sun, 25 Nov 2001 00:22:53 +0000 (+0000) Subject: compilation warning (and possible bug) fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5836c9080be6e3748580755dc9bd371e17e1018c compilation warning (and possible bug) fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/univ/themes/gtk.cpp b/src/univ/themes/gtk.cpp index 870ec38160..39a0ba958e 100644 --- a/src/univ/themes/gtk.cpp +++ b/src/univ/themes/gtk.cpp @@ -1566,7 +1566,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() ) {