VC6 compilation fix: using access declaration can only be used with immediate base class members with this compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3772,7 +3772,10 @@ public:
|
|||||||
|
|
||||||
virtual void ShowPosition(long pos) { GotoPos(pos); }
|
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
|
virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const
|
||||||
{
|
{
|
||||||
|
@@ -405,7 +405,10 @@ public:
|
|||||||
|
|
||||||
virtual void ShowPosition(long pos) { GotoPos(pos); }
|
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
|
virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user