]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcscreen.cpp
Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
[wxWidgets.git] / src / dfb / dcscreen.cpp
index 6ccea5aaf3c4f65b3e3ecc4c901fb1463a4fcfa1..14f7cfa7554ddaf2622761ab2f929ede75fa9f29 100644 (file)
@@ -19,8 +19,7 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/dcscreen.h"
-
+#include "wx/dfb/dcscreen.h"
 #include "wx/dfb/private.h"
 
 // ===========================================================================
 #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());
 }