]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcscreen.cpp
added alpha channel support to wxDFB's wxBitmap
[wxWidgets.git] / src / dfb / dcscreen.cpp
index f1218a936cab6294a3693dfa32d615253de4fb99..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(wxDfbGetPrimarySurface());
+    DFBInit(wxIDirectFB::Get()->GetPrimarySurface());
 }
 
 #warning "FIXME: does wxScreenDC need Flip call in dtor?"