X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc023abbbbd2b136da9ff65efbbb726daa9fc907..30c4dd918ad3fd79065f5253e012b39e5fe942c8:/src/gtk1/app.cpp?ds=sidebyside diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index 24d091a897..c7d9c5b71f 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -29,11 +29,11 @@ #include "wx/font.h" #include "wx/gdicmn.h" #include "wx/image.h" + #include "wx/module.h" #endif #include "wx/file.h" #include "wx/filename.h" -#include "wx/module.h" #include "wx/thread.h" #ifdef __WXGPE__ @@ -313,7 +313,7 @@ int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout) unsigned int i; for ( i = 0; i < nfds; i++ ) { - wxASSERT_MSG( ufds[i].fd < wxFD_SETSIZE, _T("fd out of range") ); + wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") ); if ( ufds[i].events & G_IO_IN ) wxFD_SET(ufds[i].fd, &readfds);