From: Robin Dunn Date: Fri, 20 Jan 2006 17:23:59 +0000 (+0000) Subject: prevent overload abiguity in wxPyPrintPreview ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/893d597c7b9f47995ef2cb277a4f41a32f7bd160 prevent overload abiguity in wxPyPrintPreview ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_printfw.i b/wxPython/src/_printfw.i index 3db7911302..fb390d0979 100644 --- a/wxPython/src/_printfw.i +++ b/wxPython/src/_printfw.i @@ -625,7 +625,7 @@ public: bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ bool rval=false; \ bool found; \ - wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ + wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ PyObject* win = wxPyMake_wxObject(a,false); \ PyObject* dc = wxPyMake_wxObject(&b,false); \ @@ -656,7 +656,7 @@ public: {} wxPyPrintPreview(wxPyPrintout* printout, wxPyPrintout* printoutForPrinting, - wxPrintData* data=NULL) + wxPrintData* data) : wxPrintPreview(printout, printoutForPrinting, data) {}