]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use access declarations with Watcom which doesn't support them correctly (close...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 2 May 2009 15:31:14 +0000 (15:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 2 May 2009 15:31:14 +0000 (15:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h

index d956ab0d5c3624f1cc5b7b1e62ca94cbd708eb81..c9243e702779464d50c69fe4e93f1e41bebde7c4 100644 (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: