X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5b31f4e11c860fa5d9949c8694a7499793c3b98..a85ad1db05e7d940383fdf75671f1aa69dacbb42:/src/dfb/dcscreen.cpp diff --git a/src/dfb/dcscreen.cpp b/src/dfb/dcscreen.cpp index 4d9ba71e76..730903e87f 100644 --- a/src/dfb/dcscreen.cpp +++ b/src/dfb/dcscreen.cpp @@ -20,7 +20,7 @@ #include "wx/wxprec.h" #include "wx/dcscreen.h" - +#include "wx/dfb/dcscreen.h" #include "wx/dfb/private.h" // =========================================================================== @@ -31,14 +31,15 @@ // 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) { - Init(wxIDirectFB::Get()->GetPrimarySurface()); + DFBInit(wxIDirectFB::Get()->GetPrimarySurface()); } #warning "FIXME: does wxScreenDC need Flip call in dtor?"