X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a9fa0d6b59c5c299766b3ed71ccadeeebf3dbb8..2af18715e52d1900a3a0d0fd36ff80cab84932c1:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index dfc07966c5..e0928b1174 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -103,6 +103,9 @@ public: virtual bool PositionToXY(long pos, long *x, long *y) const; virtual void ShowPosition(long pos); + virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, + wxTextCoord *col, + wxTextCoord *row) const; // Clipboard operations virtual void Copy(); @@ -144,12 +147,6 @@ public: virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - // In WIN16, need to override normal erasing because - // Ctl3D doesn't use the wxWindows background colour. -#ifdef __WIN16__ - void OnEraseBackground(wxEraseEvent& event); -#endif - #if wxUSE_RICHEDIT virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); @@ -199,7 +196,7 @@ protected: void Init(); // intercept WM_GETDLGCODE - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); // call this to increase the size limit (will do nothing if the current // limit is big enough)