]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcscreen.cpp
Correct EnsureVisible() to show last item entirely
[wxWidgets.git] / src / dfb / dcscreen.cpp
index 4d9ba71e76cecfc08babf676500b30d1d7602d7a..6ccea5aaf3c4f65b3e3ecc4c901fb1463a4fcfa1 100644 (file)
 // 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(wxIDirectFB::Get()->GetPrimarySurface());
+    DFBInit(wxIDirectFB::Get()->GetPrimarySurface());
 }
 
 #warning "FIXME: does wxScreenDC need Flip call in dtor?"