diff --git a/include/wx/window.h b/include/wx/window.h index d956ab0d5c..c9243e7027 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -820,6 +820,10 @@ public: virtual void SetNextHandler(wxEvtHandler *handler); virtual void SetPreviousHandler(wxEvtHandler *handler); + + // Watcom doesn't allow reducing access with using access declaration, see + // #10749 +#ifndef __WATCOMC__ protected: // NOTE: we change the access specifier of the following wxEvtHandler functions @@ -839,6 +843,7 @@ protected: using wxEvtHandler::ProcessPendingEvents; using wxEvtHandler::AddPendingEvent; using wxEvtHandler::QueueEvent; +#endif // __WATCOMC__ public: