X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/373c713ad4eed29128b0619b508da4a29698d145..1fb424fa33ab42ecd9b400dc807bc89acaa4ca0a:/src/msw/printwin.cpp diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index 281521c391..41e0c03621 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -508,7 +508,7 @@ public: const wxSize& fullSize) : wxDC(new PageFragmentDCImpl((wxMemoryDC*)this, printer, offset, fullSize)) { - wx_static_cast(PageFragmentDCImpl*, m_pimpl)->DoSelect(bmp); + static_cast(m_pimpl)->DoSelect(bmp); } };