X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fafd43c5783ff2c7366804a028ba0ed7b0c29d31..b82c3e606ca74e6ee5edc5615ee1eaf4b9fd66c8:/src/stc/stc.h.in?ds=sidebyside diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 4f313a11e3..2cdc27b3d9 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -405,7 +405,10 @@ public: virtual void ShowPosition(long pos) { GotoPos(pos); } - using wxWindow::HitTest; + // FIXME-VC6: can't use wxWindow here because of "error C2603: illegal + // access declaration: 'wxWindow' is not a direct base of + // 'wxStyledTextCtrl'" with VC6 + using wxControl::HitTest; virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const {