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:
Vadim Zeitlin
2009-05-02 15:31:14 +00:00
parent ca6911c361
commit f27683e7da

View File

@@ -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: