return m_window != NULL;
}
-void wxOverlayImpl::Init(wxWindowDC *dc, int x, int y, int width, int height)
+void wxOverlayImpl::Init(wxDC *dc, int x, int y, int width, int height)
{
wxCHECK_RET( dc, "NULL dc pointer" );
wxASSERT_MSG( !IsOk() , _("You cannot Init an overlay twice") );
m_window->AddOverlay(this);
}
-void wxOverlayImpl::BeginDrawing(wxWindowDC *dc)
+void wxOverlayImpl::BeginDrawing(wxDC *dc)
{
wxCHECK_RET( dc, "NULL dc pointer" );
m_isEmpty = false;
}
-void wxOverlayImpl::EndDrawing(wxWindowDC *WXUNUSED(dc))
+void wxOverlayImpl::EndDrawing(wxDC *WXUNUSED(dc))
{
m_window->RefreshWindowRect(m_rect);
}
-void wxOverlayImpl::Clear(wxWindowDC *WXUNUSED(dc))
+void wxOverlayImpl::Clear(wxDC *WXUNUSED(dc))
{
wxASSERT_MSG( IsOk(),
"You cannot Clear an overlay that is not initialized" );