adapting to new inheritance of wxMemoryDC (under MSW only at the moment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,6 +83,14 @@ wxGCDC::wxGCDC(const wxWindowDC& dc)
|
||||
SetGraphicsContext( wxGraphicsContext::Create(dc) );
|
||||
}
|
||||
|
||||
#ifdef __WXMSW__
|
||||
wxGCDC::wxGCDC(const wxMemoryDC& dc)
|
||||
{
|
||||
Init();
|
||||
SetGraphicsContext( wxGraphicsContext::Create(dc) );
|
||||
}
|
||||
#endif
|
||||
|
||||
void wxGCDC::Init()
|
||||
{
|
||||
m_ok = false;
|
||||
|
Reference in New Issue
Block a user