prevent overload abiguity in wxPyPrintPreview ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -625,7 +625,7 @@ public:
|
|||||||
bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
|
bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
|
||||||
bool rval=false; \
|
bool rval=false; \
|
||||||
bool found; \
|
bool found; \
|
||||||
wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
|
wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
|
||||||
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
|
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
|
||||||
PyObject* win = wxPyMake_wxObject(a,false); \
|
PyObject* win = wxPyMake_wxObject(a,false); \
|
||||||
PyObject* dc = wxPyMake_wxObject(&b,false); \
|
PyObject* dc = wxPyMake_wxObject(&b,false); \
|
||||||
@@ -656,7 +656,7 @@ public:
|
|||||||
{}
|
{}
|
||||||
wxPyPrintPreview(wxPyPrintout* printout,
|
wxPyPrintPreview(wxPyPrintout* printout,
|
||||||
wxPyPrintout* printoutForPrinting,
|
wxPyPrintout* printoutForPrinting,
|
||||||
wxPrintData* data=NULL)
|
wxPrintData* data)
|
||||||
: wxPrintPreview(printout, printoutForPrinting, data)
|
: wxPrintPreview(printout, printoutForPrinting, data)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user