forked from Lainports/freebsd-ports
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")
11 lines
368 B
C++
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
|
|
{
|