From 04ebdf400ce7b0572a8f282fa759d973515e359b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 14 Feb 2004 02:29:01 +0000 Subject: [PATCH] Oops, took out too much... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 2 +- src/stc/PlatWX.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index a48c084f65..99ce5a7a4c 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -35,7 +35,7 @@ wxRect wxRectFromPRectangle(PRectangle prc) { PRectangle PRectangleFromwxRect(wxRect rc) { return PRectangle(rc.GetLeft(), rc.GetTop(), - rc.GetRight(), rc.GetBottom()); + rc.GetRight()+1, rc.GetBottom()+1); } wxColour wxColourFromCA(const ColourAllocated& ca) { diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index a48c084f65..99ce5a7a4c 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -35,7 +35,7 @@ wxRect wxRectFromPRectangle(PRectangle prc) { PRectangle PRectangleFromwxRect(wxRect rc) { return PRectangle(rc.GetLeft(), rc.GetTop(), - rc.GetRight(), rc.GetBottom()); + rc.GetRight()+1, rc.GetBottom()+1); } wxColour wxColourFromCA(const ColourAllocated& ca) { -- 2.50.0