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:
@@ -1566,7 +1566,7 @@ wxRect wxGTKRenderer::GetTextClientArea(const wxTextCtrl *text,
|
|||||||
wxCoord *extraSpaceBeyond)
|
wxCoord *extraSpaceBeyond)
|
||||||
{
|
{
|
||||||
wxRect rectText = rect;
|
wxRect rectText = rect;
|
||||||
rectText.Inflate(-2*BORDER_THICKNESS);
|
rectText.Deflate(2*BORDER_THICKNESS);
|
||||||
|
|
||||||
if ( text->WrapLines() )
|
if ( text->WrapLines() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user