X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bcf695ecde5f098fe603c300aa30bf096519785..ffe50f008be086fa5591ca82829a03779fba0a58:/src/common/dcgraph.cpp diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 19b8124b77..3b49dce031 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -205,6 +205,13 @@ wxGCDCImpl::wxGCDCImpl(wxDC *owner, const wxEnhMetaFileDC& dc) } #endif +wxGCDCImpl::wxGCDCImpl(wxDC* owner, int) + : wxDCImpl(owner) +{ + // derived class will set a context + Init(NULL); +} + void wxGCDCImpl::Init(wxGraphicsContext* ctx) { m_ok = false;