]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation warning (and possible bug) fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2001 00:22:53 +0000 (00:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2001 00:22:53 +0000 (00:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/themes/gtk.cpp

index 870ec38160d3e2a529441caa5e8432487eb1b17d..39a0ba958efa6133c0e7f556a6a65ab1f905c812 100644 (file)
@@ -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() )
     {