]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/evtloop.h
added overloads taking pairs of const char/wchar_t pointers for wxString methods...
[wxWidgets.git] / include / wx / dfb / evtloop.h
index 11366e70a3c0adf658b470aabc61c345977f90ce..9845acd2653fb6a67d6705f7322ae38b433c12b4 100644 (file)
@@ -31,6 +31,10 @@ public:
     // returns DirectFB event buffer used by wx
     static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer();
 
+    // wxYield implementation: iterate the loop as long as there are any
+    // pending events
+    void Yield();
+
 protected:
     virtual void WakeUp();
     virtual void OnNextIteration();
@@ -39,12 +43,13 @@ protected:
 
 private:
     static void InitBuffer();
+    static void CleanUp();
+
+    friend class wxApp; // calls CleanUp() and WakeUp()
 
 private:
     static wxIDirectFBEventBufferPtr ms_buffer;
 
-    friend class wxApp; // calls WakeUp()
-
     DECLARE_NO_COPY_CLASS(wxEventLoop)
 };