]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/private/overlay.h
Don't cache incorrect length in wxString::assign(char*, size_t).
[wxWidgets.git] / include / wx / dfb / private / overlay.h
index 2006f661ad89e775075f50939d1b0908ca23a194..6115abf00b8ce5e5b544619747cbf3921fabfc3c 100644 (file)
@@ -17,7 +17,7 @@
 wxDFB_DECLARE_INTERFACE(IDirectFBSurface);
 
 class WXDLLIMPEXP_FWD_CORE wxWindow;
-class WXDLLIMPEXP_FWD_CORE wxWindowDC;
+class WXDLLIMPEXP_FWD_CORE wxDC;
 
 class wxOverlayImpl
 {
@@ -27,10 +27,10 @@ public:
 
     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; }