X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa28b00cdcce49eae46ac7f2c39c3c4fc6946165..ae51cebbe62f759cdee2f4548249393472b7baa5:/src/dfb/wrapdfb.cpp?ds=inline diff --git a/src/dfb/wrapdfb.cpp b/src/dfb/wrapdfb.cpp index eac0024b2a..f81fdb316c 100644 --- a/src/dfb/wrapdfb.cpp +++ b/src/dfb/wrapdfb.cpp @@ -15,6 +15,11 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP + #include "wx/intl.h" + #include "wx/log.h" +#endif + #include "wx/dfb/wrapdfb.h" //----------------------------------------------------------------------------- @@ -108,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;