]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/wrapdfb.h
add WXWIN_COMPATIBILITY_2_6 block around wxUsleep deprecation; put wxPlatform declara...
[wxWidgets.git] / include / wx / dfb / wrapdfb.h
index 292b83d39e2dce28937beed7cc564f85c98b19fd..da753b6063f23000ba2dd587ade1b1f51560db00 100644 (file)
 #include "wx/vidmode.h"
 
 #include <directfb.h>
+#include <directfb_version.h>
+
+// DFB < 1.0 didn't have u8 type, only __u8
+#if DIRECTFB_MAJOR_VERSION == 0
+typedef __u8 u8;
+#endif
+
 
 wxDFB_DECLARE_INTERFACE(IDirectFB);
 wxDFB_DECLARE_INTERFACE(IDirectFBDisplayLayer);
@@ -427,6 +434,12 @@ struct wxIDirectFBWindow : public wxDfbWrapper<IDirectFBWindow>
     bool SetStackingClass(DFBWindowStackingClass klass)
         { return Check(m_ptr->SetStackingClass(m_ptr, klass)); }
 
+    bool RaiseToTop()
+        { return Check(m_ptr->RaiseToTop(m_ptr)); }
+
+    bool LowerToBottom()
+        { return Check(m_ptr->LowerToBottom(m_ptr)); }
+
     wxIDirectFBSurfacePtr GetSurface()
     {
         IDirectFBSurface *s;