]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/private/overlay.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / dfb / private / overlay.h
index 96b2d4476c5360b62c4429e4467e74879be35e3f..6115abf00b8ce5e5b544619747cbf3921fabfc3c 100644 (file)
 #define _WX_DFB_PRIVATE_OVERLAY_H_
 
 #include "wx/dfb/dfbptr.h"
 #define _WX_DFB_PRIVATE_OVERLAY_H_
 
 #include "wx/dfb/dfbptr.h"
+#include "wx/gdicmn.h"
 
 wxDFB_DECLARE_INTERFACE(IDirectFBSurface);
 
 
 wxDFB_DECLARE_INTERFACE(IDirectFBSurface);
 
-class WXDLLEXPORT wxWindow;
-
+class WXDLLIMPEXP_FWD_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxDC;
 
 class wxOverlayImpl
 {
 
 class wxOverlayImpl
 {
@@ -26,10 +27,10 @@ public:
 
     void Reset();
     bool IsOk();
 
     void Reset();
     bool IsOk();
-    void Init(wxWindowDC* dc, int x , int y , int width , int height);
-    void BeginDrawing(wxWindowDC* dc);
-    void EndDrawing(wxWindowDC* dc);
-    void Clear(wxWindowDC* dc);
+    void Init(wxDC* dc, int x , int y , int width , int height);
+    void BeginDrawing(wxDC* dc);
+    void EndDrawing(wxDC* dc);
+    void Clear(wxDC* dc);
 
     // wxDFB specific methods:
     bool IsEmpty() const { return m_isEmpty; }
 
     // wxDFB specific methods:
     bool IsEmpty() const { return m_isEmpty; }