X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b796ba39311830b11e375de10ca2378f501c5b8c..b82c3e606ca74e6ee5edc5615ee1eaf4b9fd66c8:/src/stc/stc.h.in?ds=sidebyside diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index b76d840735..2cdc27b3d9 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -204,7 +204,7 @@ public: // NB: this method is not really const as it can modify the control but it // has to be declared as such as it's called from both const and // non-const methods and we can't distinguish between the two - long SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; + wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; // Set the vertical scrollbar to use instead of the ont that's built-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 {