]> git.saurik.com Git - wxWidgets.git/commitdiff
Oops, took out too much...
authorRobin Dunn <robin@alldunn.com>
Sat, 14 Feb 2004 02:29:01 +0000 (02:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 14 Feb 2004 02:29:01 +0000 (02:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/PlatWX.cpp
src/stc/PlatWX.cpp

index a48c084f6510e5d927bf28160c742de2a1878e3b..99ce5a7a4ccf7925c34680e9d34d02aa403f4504 100644 (file)
@@ -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) {
index a48c084f6510e5d927bf28160c742de2a1878e3b..99ce5a7a4ccf7925c34680e9d34d02aa403f4504 100644 (file)
@@ -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) {