freebsd-ports/x11-toolkits/py-wxPython30/files/patch-src_gtk_propgrid__wrap.cpp
John Marino 4040163bd6 x11-toolkits/py-wxPython30: Fix c++ code, drop gcc requirement
While here, upgrade from version 3.0.0 to 3.0.2
wxPython30 was obligated to build under c++11 standards, but the code
was not compliant.  It now builds on system clang again.

PR:		199403
Submitted by:	matthew (reztec.cz)
Approved by:	blanket (fixes previous "fix")
2015-04-14 06:43:09 +00:00

11 lines
368 B
C++

--- src/gtk/propgrid_wrap.cpp.orig 2014-11-27 20:51:32 UTC
+++ src/gtk/propgrid_wrap.cpp
@@ -3639,7 +3639,7 @@ bool PyObject_to_wxPGPropArgCls( PyObjec
}
else if ( input == Py_None )
{
- *v = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL));
+ *v = new wxPGPropArgCls(static_cast<wxPGProperty*>(NULL));
}
else
{