]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcscreen.cpp
don't provide unnecessary (as default) arguments to wxPen ctor, this incidentally...
[wxWidgets.git] / src / dfb / dcscreen.cpp
index 114f30ba0b4942011521e1e49202445f0788f113..730903e87ffa5c052bcd941c4a3c190f8cb807bd 100644 (file)
@@ -20,7 +20,7 @@
 #include "wx/wxprec.h"
 
 #include "wx/dcscreen.h"
-
+#include "wx/dfb/dcscreen.h"
 #include "wx/dfb/private.h"
 
 // ===========================================================================
 // 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)
+IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxDFBDCImpl)
 
-wxScreenDC::wxScreenDC()
+wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner)
+              : wxDFBDCImpl(owner)
 {
     DFBInit(wxIDirectFB::Get()->GetPrimarySurface());
 }