X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3958ae62ba9d7dca5bec365837d8047c97b0712a..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/include/wx/os2/app.h?ds=sidebyside diff --git a/include/wx/os2/app.h b/include/wx/os2/app.h index 66504eacbe..35a8cc9440 100644 --- a/include/wx/os2/app.h +++ b/include/wx/os2/app.h @@ -14,7 +14,15 @@ #include #include + +#ifdef __EMX__ #include +#else +#include +#undef BYTE_ORDER +#include +#define INCL_ORDERS +#endif #include "wx/event.h" #include "wx/icon.h" @@ -95,11 +103,12 @@ protected: // PM-specific wxApp definitions */ // private: - int m_maxSocketHandles; - int m_maxSocketNr; - int m_lastUsedHandle; - fd_set m_readfds, m_writefds; - void *m_sockCallbackInfo; + int m_maxSocketHandles; + int m_maxSocketNr; + int m_lastUsedHandle; + fd_set m_readfds; + fd_set m_writefds; + void* m_sockCallbackInfo; public: @@ -108,6 +117,7 @@ public: static void CleanUp(void); static bool RegisterWindowClasses(HAB vHab); + virtual void DoMessage(WXMSG *pMsg); virtual bool DoMessage(void); virtual bool ProcessMessage(WXMSG* pMsg); void DeletePendingObjects(void);