don't use generic process callback for wxGTK/Motif/MGL which have their own versions of it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-16 02:22:42 +00:00
parent e6e780acb1
commit f286f23b70

View File

@@ -15,7 +15,10 @@
class WXDLLIMPEXP_FWD_BASE wxProcess; class WXDLLIMPEXP_FWD_BASE wxProcess;
class wxStreamTempInputBuffer; class wxStreamTempInputBuffer;
#if defined(__UNIX__) // some ports have toolkit-specific implementations of wxAddProcessCallback()
// but by default we use a generic wxFDIOHandler-based mechanism under Unix
#if defined(__UNIX__) && \
!(defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMGL__))
#define wxHAS_GENERIC_PROCESS_CALLBACK 1 #define wxHAS_GENERIC_PROCESS_CALLBACK 1
#endif #endif