wxDC *wxWindowsPrinter::PrintDialog(wxWindow *parent)
{
- wxDC *dc = (wxPrinterDC*) NULL;
+ wxDC *dc = NULL;
wxWindowsPrintDialog dialog(parent, & m_printDialogData);
int ret = dialog.ShowModal();
const wxSize& fullSize)
: wxDC(new PageFragmentDCImpl((wxMemoryDC*)this, printer, offset, fullSize))
{
- wx_static_cast(PageFragmentDCImpl*, m_pimpl)->DoSelect(bmp);
+ static_cast<PageFragmentDCImpl*>(m_pimpl)->DoSelect(bmp);
}
};