changing to wxDC, so that wxGCDC can be used as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2007-12-22 09:07:56 +00:00
parent 30d54e2732
commit 1d7ed72986

View File

@ -17,7 +17,7 @@
wxDFB_DECLARE_INTERFACE(IDirectFBSurface); wxDFB_DECLARE_INTERFACE(IDirectFBSurface);
class WXDLLIMPEXP_FWD_CORE wxWindow; class WXDLLIMPEXP_FWD_CORE wxWindow;
class WXDLLIMPEXP_FWD_CORE wxWindowDC; class WXDLLIMPEXP_FWD_CORE wxDC;
class wxOverlayImpl class wxOverlayImpl
{ {
@ -27,10 +27,10 @@ public:
void Reset(); void Reset();
bool IsOk(); bool IsOk();
void Init(wxWindowDC* dc, int x , int y , int width , int height); void Init(wxDC* dc, int x , int y , int width , int height);
void BeginDrawing(wxWindowDC* dc); void BeginDrawing(wxDC* dc);
void EndDrawing(wxWindowDC* dc); void EndDrawing(wxDC* dc);
void Clear(wxWindowDC* dc); void Clear(wxDC* dc);
// wxDFB specific methods: // wxDFB specific methods:
bool IsEmpty() const { return m_isEmpty; } bool IsEmpty() const { return m_isEmpty; }