]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/scintilla/include/Platform.h
update to docs now minimal sample compiles
[wxWidgets.git] / src / stc / scintilla / include / Platform.h
index 0984ea66c7cf4ec59b29ee63254d5a5ae84aa131..1a8dfaa96e0cad7e1e2e6d66fb1cf81684b1ece7 100644 (file)
@@ -106,8 +106,8 @@ public:
                        (rc.top >= top) && (rc.bottom <= bottom);
        }
        bool Intersects(PRectangle other) {
-               return (right >= other.left) && (left <= other.right) &&
-                       (bottom >= other.top) && (top <= other.bottom);
+               return (right > other.left) && (left < other.right) &&
+                       (bottom > other.top) && (top < other.bottom);
        }
        int Width() { return right - left; }
        int Height() { return bottom - top; }
@@ -430,6 +430,8 @@ public:
        static bool IsKeyDown(int key);
        static long SendScintilla(
                WindowID w, unsigned int msg, unsigned long wParam=0, long lParam=0);
+       static long SendScintillaPointer(
+               WindowID w, unsigned int msg, unsigned long wParam=0, void *lParam=0);
        static bool IsDBCSLeadByte(int codePage, char ch);
 
        // These are utility functions not really tied to a platform