X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8026dea6cf102fb741f132142f9d6584d3e0cef..86033c4b6f77916326ab7e04fb96b4e12ba5afbd:/include/wx/evtloop.h?ds=sidebyside diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 59c2f5e5f2..adbb15efa0 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -66,7 +66,7 @@ protected: DECLARE_NO_COPY_CLASS(wxEventLoopBase) }; -#if defined(__WXMSW__) || defined(__WXMAC__) +#if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXDFB__) // this class can be used to implement a standard event loop logic using // Pending() and Dispatch() @@ -83,7 +83,7 @@ public: // sets the "should exit" flag and wakes up the loop so that it terminates // soon - virtual void Exit(int rc); + virtual void Exit(int rc = 0); protected: // implement this to wake up the loop: usually done by posting a dummy event @@ -115,6 +115,8 @@ protected: #include "wx/msw/evtloop.h" #elif defined(__WXMAC__) #include "wx/mac/evtloop.h" +#elif defined(__WXDFB__) + #include "wx/dfb/evtloop.h" #else // other platform class WXDLLEXPORT wxEventLoopImpl;