X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dde19c2180ef8d6415af7bb2492bfcb0a2d5c7e4..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/msw/evtloop.h diff --git a/include/wx/msw/evtloop.h b/include/wx/msw/evtloop.h index 934e3cfef5..5c89e304bd 100644 --- a/include/wx/msw/evtloop.h +++ b/include/wx/msw/evtloop.h @@ -13,6 +13,8 @@ #define _WX_MSW_EVTLOOP_H_ #if wxUSE_GUI +#include "wx/dynarray.h" +#include "wx/msw/wrapwin.h" #include "wx/window.h" #endif @@ -40,7 +42,7 @@ protected: #if wxUSE_GUI -WX_DECLARE_OBJARRAY(MSG, wxMSGArray); +WX_DECLARE_EXPORTED_OBJARRAY(MSG, wxMSGArray); class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxMSWEventLoopBase { @@ -104,6 +106,7 @@ public: virtual bool Dispatch(); virtual int DispatchTimeout(unsigned long timeout); virtual void WakeUp(); + virtual bool YieldFor(long WXUNUSED(eventsToProcess)) { return true; } // MSW-specific function to process a single message virtual void ProcessMessage(WXMSG *msg);