compilation warning (and possible bug) fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-11-25 00:22:53 +00:00
parent e22c13fe7e
commit 5836c9080b

View 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() )
{