]> git.saurik.com Git - wxWidgets.git/commitdiff
prevent overload abiguity in wxPyPrintPreview ctor
authorRobin Dunn <robin@alldunn.com>
Fri, 20 Jan 2006 17:23:59 +0000 (17:23 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 20 Jan 2006 17:23:59 +0000 (17:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_printfw.i

index 3db79113025fd629dec6897afb5affd20a421747..fb390d0979adc9fca292b93684ec72e6a718d3eb 100644 (file)
@@ -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)
     {}