From 893d597c7b9f47995ef2cb277a4f41a32f7bd160 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 20 Jan 2006 17:23:59 +0000 Subject: [PATCH] prevent overload abiguity in wxPyPrintPreview ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_printfw.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {}