X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3754265e328a7cc7f67a46a9beea105cf1d49a14..13bcc348811641ec19d2b378777c5edcf1b205a2:/include/wx/evtloop.h?ds=sidebyside diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index f3155ab6eb..42b00f2d03 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -39,10 +39,10 @@ public: // exit from the loop with the given exit code virtual void Exit(int rc = 0) = 0; - // return TRUE if any events are available + // return true if any events are available virtual bool Pending() const = 0; - // dispatch a single event, return FALSE if we should exit from the loop + // dispatch a single event, return false if we should exit from the loop virtual bool Dispatch() = 0; // is the event loop running now? @@ -82,6 +82,7 @@ class WXDLLEXPORT wxEventLoop : public wxEventLoopBase { public: wxEventLoop() { m_impl = NULL; } + virtual ~wxEventLoop(); virtual int Run(); virtual void Exit(int rc = 0); @@ -94,7 +95,7 @@ protected: wxEventLoopImpl *m_impl; DECLARE_NO_COPY_CLASS(wxEventLoop) -} + }; #endif // __WXMSW__/!__WXMSW__