X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bc32508684ff0b49fcf0f03ef27e31669fc2eae..2beae4b5a5785cdf89af79383e062fbe9540b663:/src/stc/ScintillaWX.h diff --git a/src/stc/ScintillaWX.h b/src/stc/ScintillaWX.h index ffc229f538..04b2ac0333 100644 --- a/src/stc/ScintillaWX.h +++ b/src/stc/ScintillaWX.h @@ -19,6 +19,11 @@ //---------------------------------------------------------------------- +#include +#include +#include +#include + #include "Platform.h" #include "Scintilla.h" @@ -117,11 +122,12 @@ public: void DoLoseFocus(); void DoGainFocus(); void DoSysColourChange(); - void DoButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt); - void DoButtonUp(Point pt, unsigned int curTime, bool ctrl); - void DoButtonMove(Point pt); - void DoMouseWheel(int rotation, int delta, int linesPerAction, int ctrlDown); - void DoAddChar(char ch); + void DoLeftButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt); + void DoLeftButtonUp(Point pt, unsigned int curTime, bool ctrl); + void DoLeftButtonMove(Point pt); + 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); void DoTick() { Tick(); } @@ -145,7 +151,6 @@ public: void DoScrollToColumn(int column); private: - bool capturedMouse; wxStyledTextCtrl* stc; #if wxUSE_DRAG_AND_DROP