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