]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/wrapdfb.cpp
Upport scrolling changes and mouse wheel changes.
[wxWidgets.git] / src / dfb / wrapdfb.cpp
index d1e9f5ae4a9752323961dc998328199e385220e2..f81fdb316c0b028c3ad5d9319e56c982f54d62c1 100644 (file)
@@ -113,6 +113,13 @@ wxIDirectFBSurfacePtr wxIDirectFB::GetPrimarySurface()
 // wxIDirectFBSurface
 //-----------------------------------------------------------------------------
 
+DFBSurfacePixelFormat wxIDirectFBSurface::GetPixelFormat()
+{
+    DFBSurfacePixelFormat format = DSPF_UNKNOWN;
+    GetPixelFormat(&format);
+    return format;
+}
+
 int wxIDirectFBSurface::GetDepth()
 {
     DFBSurfacePixelFormat format = DSPF_UNKNOWN;