X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..cf4a8b2698fb853ac4b638d08d95cc8e5794d1aa:/src/dfb/dcscreen.cpp?ds=sidebyside diff --git a/src/dfb/dcscreen.cpp b/src/dfb/dcscreen.cpp index f1218a936c..6ccea5aaf3 100644 --- a/src/dfb/dcscreen.cpp +++ b/src/dfb/dcscreen.cpp @@ -31,14 +31,14 @@ // 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) wxScreenDC::wxScreenDC() { - Init(wxDfbGetPrimarySurface()); + DFBInit(wxIDirectFB::Get()->GetPrimarySurface()); } #warning "FIXME: does wxScreenDC need Flip call in dtor?"