X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..7c508bca835368f8082791d69dcf7a6db4dba61c:/src/dfb/dcscreen.cpp diff --git a/src/dfb/dcscreen.cpp b/src/dfb/dcscreen.cpp index f1218a936c..114f30ba0b 100644 --- a/src/dfb/dcscreen.cpp +++ b/src/dfb/dcscreen.cpp @@ -38,7 +38,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC) wxScreenDC::wxScreenDC() { - Init(wxDfbGetPrimarySurface()); + DFBInit(wxIDirectFB::Get()->GetPrimarySurface()); } #warning "FIXME: does wxScreenDC need Flip call in dtor?"