X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba8a4f660ae54de211a5869d7ea2c86cfd47cfeb..d1a6e2b7a103d761fbc15e0e9c1c20ab53a849d9:/contrib/src/stc/ScintillaWX.h diff --git a/contrib/src/stc/ScintillaWX.h b/contrib/src/stc/ScintillaWX.h index 3784f26254..799e58ed5a 100644 --- a/contrib/src/stc/ScintillaWX.h +++ b/contrib/src/stc/ScintillaWX.h @@ -124,6 +124,7 @@ public: virtual void NotifyChange(); virtual void NotifyParent(SCNotification scn); + virtual void CancelModes(); // Event delegates void DoPaint(wxDC* dc, wxRect rect); @@ -139,7 +140,7 @@ public: void DoMiddleButtonUp(Point pt); void DoMouseWheel(int rotation, int delta, int linesPerAction, int ctrlDown, bool isPageScroll); void DoAddChar(int key); - int DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed); + int DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool meta, bool* consumed); void DoTick() { Tick(); } #if wxUSE_DRAG_AND_DROP @@ -155,7 +156,7 @@ public: // helpers - void FullPaint(); + void FullPaint(wxDC *dc); bool CanPaste(); bool GetHideSelection() { return hideSelection; } void DoScrollToLine(int line); @@ -164,6 +165,7 @@ public: private: bool capturedMouse; + bool focusEvent; wxStyledTextCtrl* stc; #if wxUSE_DRAG_AND_DROP