X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa28b00cdcce49eae46ac7f2c39c3c4fc6946165..a1657b633e3e09c0a61c64160e0b40d766fba322:/src/dfb/dcscreen.cpp diff --git a/src/dfb/dcscreen.cpp b/src/dfb/dcscreen.cpp index 6ccea5aaf3..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" // =========================================================================== @@ -34,9 +33,10 @@ #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()); }