]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/evtloop.h
Make wxRichTextCtrl again buildable on WinCE.
[wxWidgets.git] / include / wx / dfb / evtloop.h
index 05a08f87ea173f758330bb8b6c9b33f74ba9f2f8..cf77e26c1322cb2f4eb212c79032b1067195066d 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_DFB_EVTLOOP_H_
 #define _WX_DFB_EVTLOOP_H_
 
-#include "wx/dfb/ifacehelpers.h"
+#include "wx/dfb/dfbptr.h"
 
 wxDFB_DECLARE_INTERFACE(IDirectFBEventBuffer);
 struct wxDFBEvent;
@@ -29,7 +29,7 @@ public:
     virtual bool Dispatch();
 
     // returns DirectFB event buffer used by wx
-    static IDirectFBEventBufferPtr GetDirectFBEventBuffer();
+    static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer();
 
 protected:
     virtual void WakeUp();
@@ -39,11 +39,12 @@ protected:
 
 private:
     static void InitBuffer();
+    static void CleanUp();
 
-private:
-    static IDirectFBEventBufferPtr ms_buffer;
+    friend class wxApp; // calls CleanUp() and WakeUp()
 
-    friend class wxApp; // calls WakeUp()
+private:
+    static wxIDirectFBEventBufferPtr ms_buffer;
 
     DECLARE_NO_COPY_CLASS(wxEventLoop)
 };