]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcscreen.cpp
[ 1560860 ] wxComboCtrl EVT_TEXT filtering.
[wxWidgets.git] / src / dfb / dcscreen.cpp
index f1218a936cab6294a3693dfa32d615253de4fb99..4d9ba71e76cecfc08babf676500b30d1d7602d7a 100644 (file)
@@ -38,7 +38,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
 
 wxScreenDC::wxScreenDC()
 {
-    Init(wxDfbGetPrimarySurface());
+    Init(wxIDirectFB::Get()->GetPrimarySurface());
 }
 
 #warning "FIXME: does wxScreenDC need Flip call in dtor?"