git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21796
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
};
wxClientDC::wxClientDC( wxWindow *window )
-: wxWindowDC(window)
{
+ m_window = window;
};
wxClientDC::~wxClientDC(void)
};
wxPaintDC::wxPaintDC( wxWindow *window )
-: wxWindowDC(window)
{
+ m_window = window;
wxASSERT_MSG([NSView focusView]==window->GetNSView(), "PaintDC's NSView does not have focus. Please use wxPaintDC only as the first DC created in a paint handler");
// This transform flips the graphics since wxDC uses top-left origin
if(![window->GetNSView() isFlipped])