don't use access declarations with Watcom which doesn't support them correctly (closes #10749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -820,6 +820,10 @@ public:
|
|||||||
virtual void SetNextHandler(wxEvtHandler *handler);
|
virtual void SetNextHandler(wxEvtHandler *handler);
|
||||||
virtual void SetPreviousHandler(wxEvtHandler *handler);
|
virtual void SetPreviousHandler(wxEvtHandler *handler);
|
||||||
|
|
||||||
|
|
||||||
|
// Watcom doesn't allow reducing access with using access declaration, see
|
||||||
|
// #10749
|
||||||
|
#ifndef __WATCOMC__
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// NOTE: we change the access specifier of the following wxEvtHandler functions
|
// NOTE: we change the access specifier of the following wxEvtHandler functions
|
||||||
@@ -839,6 +843,7 @@ protected:
|
|||||||
using wxEvtHandler::ProcessPendingEvents;
|
using wxEvtHandler::ProcessPendingEvents;
|
||||||
using wxEvtHandler::AddPendingEvent;
|
using wxEvtHandler::AddPendingEvent;
|
||||||
using wxEvtHandler::QueueEvent;
|
using wxEvtHandler::QueueEvent;
|
||||||
|
#endif // __WATCOMC__
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user