X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c16db850cd522e862902c6614295dd449b3b0856..8dba4c72300eafb6b35eaf754c379a72416bfbdd:/src/dfb/dcscreen.cpp?ds=sidebyside diff --git a/src/dfb/dcscreen.cpp b/src/dfb/dcscreen.cpp index 114f30ba0b..14f7cfa755 100644 --- a/src/dfb/dcscreen.cpp +++ b/src/dfb/dcscreen.cpp @@ -19,8 +19,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/dcscreen.h" - +#include "wx/dfb/dcscreen.h" #include "wx/dfb/private.h" // =========================================================================== @@ -31,12 +30,13 @@ // wxScreenDC //----------------------------------------------------------------------------- -#warning "FIXME: verify that wxScreenDC works in 2nd DirectFB app started" +#warning "FIXME: this doesn't work (neither single app nor multiapp core) // FIXME: maybe use a subsurface as well? -IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC) +IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxDFBDCImpl) -wxScreenDC::wxScreenDC() +wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner) + : wxDFBDCImpl(owner) { DFBInit(wxIDirectFB::Get()->GetPrimarySurface()); }