--- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_core.py 2014-10-13 18:37:52.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_core.py 2015-03-18 23:48:18.000000000 -0400 @@ -8579,21 +8579,21 @@ wx.PyApp.__init__(self) # make sure we can create a GUI - if not self.IsDisplayAvailable(): - - if wx.Platform == "__WXMAC__": - msg = """This program needs access to the screen. -Please run with a Framework build of python, and only when you are -logged in on the main display of your Mac.""" - - elif wx.Platform == "__WXGTK__": - msg ="Unable to access the X Display, is $DISPLAY set properly?" - - else: - msg = "Unable to create GUI" - # TODO: more description is needed for wxMSW... - - raise SystemExit(msg) +# if not self.IsDisplayAvailable(): +# +# if wx.Platform == "__WXMAC__": +# msg = """This program needs access to the screen. +# Please run with a Framework build of python, and only when you are +# logged in on the main display of your Mac.""" +# +# elif wx.Platform == "__WXGTK__": +# msg ="Unable to access the X Display, is $DISPLAY set properly?" +# +# else: +# msg = "Unable to create GUI" +# # TODO: more description is needed for wxMSW... +# +# raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) diff -uNr wxPython-src-3.0.2.0/wxPython/contrib/gizmos/osx_cocoa/gizmos_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/contrib/gizmos/osx_cocoa/gizmos_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/contrib/gizmos/osx_cocoa/gizmos_wrap.cpp 2013-02-27 15:14:01.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/contrib/gizmos/osx_cocoa/gizmos_wrap.cpp 2015-03-18 23:30:17.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_controls_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_controls_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_controls_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_controls_wrap.cpp 2015-03-18 23:20:09.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_core_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_core_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_core_wrap.cpp 2014-10-13 18:37:52.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_core_wrap.cpp 2015-03-18 23:17:53.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -16039,7 +16039,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { @@ -17350,7 +17350,7 @@ int arg3 = (int) -1 ; wxImage *result = 0 ; wxPyInputStream *temp1 ; - bool created1 ; + bool created1 = false; int val2 ; int ecode2 = 0 ; int val3 ; @@ -17417,7 +17417,7 @@ int arg3 = (int) -1 ; wxImage *result = 0 ; wxPyInputStream *temp1 ; - bool created1 ; + bool created1 = false; bool temp2 = false ; int val3 ; int ecode3 = 0 ; @@ -17623,8 +17623,8 @@ int arg2 ; buffer arg3 ; int arg4 ; - buffer arg5 ; - int arg6 ; + buffer arg5 = NULL; + int arg6 = 0; wxImage *result = 0 ; int val1 ; int ecode1 = 0 ; @@ -19481,7 +19481,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyOutputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; @@ -19546,7 +19546,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyOutputStream *temp2 ; - bool created2 ; + bool created2 = false; bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -19614,7 +19614,7 @@ wxInputStream *arg1 = 0 ; bool result; wxPyInputStream *temp1 ; - bool created1 ; + bool created1 = false; PyObject * obj0 = 0 ; char * kwnames[] = { (char *) "stream", NULL @@ -19666,7 +19666,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; int val4 ; @@ -19744,7 +19744,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; bool temp3 = false ; int val4 ; int ecode4 = 0 ; @@ -20399,8 +20399,8 @@ SWIGINTERN PyObject *_wrap_Image_SetAlphaData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxImage *arg1 = (wxImage *) 0 ; - buffer arg2 ; - int arg3 ; + buffer arg2 = NULL; + int arg3 = 0; void *argp1 = 0 ; int res1 = 0 ; Py_ssize_t temp2 ; @@ -20466,8 +20466,8 @@ SWIGINTERN PyObject *_wrap_Image_SetAlphaBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxImage *arg1 = (wxImage *) 0 ; - buffer arg2 ; - int arg3 ; + buffer arg2 = NULL; + int arg3 = 0; void *argp1 = 0 ; int res1 = 0 ; Py_ssize_t temp2 ; diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_gdi_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_gdi_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_gdi_wrap.cpp 2014-11-27 16:15:14.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_gdi_wrap.cpp 2015-03-18 23:18:45.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -8131,8 +8131,8 @@ int arg2 ; buffer arg3 ; int arg4 ; - buffer arg5 ; - int arg6 ; + buffer arg5 = NULL; + int arg6 = 0; wxBitmap *result = 0 ; int val1 ; int ecode1 = 0 ; @@ -10901,7 +10901,7 @@ wxBitmapType arg2 = (wxBitmapType) wxBITMAP_TYPE_ANY ; wxIconBundle *result = 0 ; wxPyInputStream *temp1 ; - bool created1 ; + bool created1 = false; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; @@ -11114,7 +11114,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_misc_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_misc_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_misc_wrap.cpp 2013-12-16 08:39:50.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_misc_wrap.cpp 2015-03-18 23:20:49.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_windows_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_windows_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/_windows_wrap.cpp 2014-06-24 19:32:57.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/_windows_wrap.cpp 2015-03-18 23:19:31.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/animate_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/animate_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/animate_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/animate_wrap.cpp 2015-03-18 23:27:40.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -3035,7 +3035,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/aui_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/aui_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/aui_wrap.cpp 2013-12-28 04:28:56.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/aui_wrap.cpp 2015-03-18 23:27:14.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/calendar_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/calendar_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/calendar_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/calendar_wrap.cpp 2015-03-18 23:21:27.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/combo_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/combo_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/combo_wrap.cpp 2014-08-23 19:30:40.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/combo_wrap.cpp 2015-03-18 23:22:03.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/glcanvas_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/glcanvas_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/glcanvas_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/glcanvas_wrap.cpp 2015-03-18 23:29:43.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/grid_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/grid_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/grid_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/grid_wrap.cpp 2015-03-18 23:22:34.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/html2_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/html2_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/html2_wrap.cpp 2013-12-28 04:28:56.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/html2_wrap.cpp 2015-03-18 23:28:52.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -4176,7 +4176,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWebView, 0 | 0 ); diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/html_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/html_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/html_wrap.cpp 2014-10-08 12:52:58.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/html_wrap.cpp 2015-03-18 23:23:11.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/media_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/media_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/media_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/media_wrap.cpp 2015-03-18 23:23:41.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/propgrid_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/propgrid_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/propgrid_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/propgrid_wrap.cpp 2015-03-18 23:28:16.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/richtext_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/richtext_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/richtext_wrap.cpp 2014-06-24 19:32:57.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/richtext_wrap.cpp 2015-03-18 23:26:45.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -14352,7 +14352,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyOutputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ; @@ -22784,7 +22784,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; @@ -22851,7 +22851,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyOutputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; @@ -26300,7 +26300,7 @@ void *argp2 = 0 ; int res2 = 0 ; wxPyInputStream *temp3 ; - bool created3 ; + bool created3 = false; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26365,7 +26365,7 @@ void *argp2 = 0 ; int res2 = 0 ; wxPyOutputStream *temp3 ; - bool created3 ; + bool created3 = false; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/stc_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/stc_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/stc_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/stc_wrap.cpp 2015-03-18 23:29:15.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/webkit_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/webkit_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/webkit_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/webkit_wrap.cpp 2015-03-18 23:24:10.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/wizard_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/wizard_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/wizard_wrap.cpp 2013-02-27 15:14:02.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/wizard_wrap.cpp 2015-03-18 23:24:36.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } diff -uNr wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/xrc_wrap.cpp wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/xrc_wrap.cpp --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/xrc_wrap.cpp 2014-06-24 17:48:27.000000000 -0400 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/xrc_wrap.cpp 2015-03-18 23:26:12.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -7032,7 +7032,7 @@ wxString *arg2 = (wxString *) &arg2_defvalue ; wxXmlDocument *result = 0 ; wxPyInputStream *temp1 ; - bool created1 ; + bool created1 = false; bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -7224,7 +7224,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyInputStream *temp2 ; - bool created2 ; + bool created2 = false; bool temp3 = false ; int val4 ; int ecode4 = 0 ; @@ -7367,7 +7367,7 @@ void *argp1 = 0 ; int res1 = 0 ; wxPyOutputStream *temp2 ; - bool created2 ; + bool created2 = false; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; --- wxPython-src-3.0.2.0/wxPython/src/osx_cocoa/dataview_wrap.cpp 2014-11-27 16:15:14.000000000 -0500 +++ wxPython-src-3.0.2.0.clang/wxPython/src/osx_cocoa/dataview_wrap.cpp 2015-03-19 00:34:53.000000000 -0400 @@ -861,7 +861,7 @@ Py_DECREF(old_str); Py_DECREF(value); } else { - PyErr_Format(PyExc_RuntimeError, mesg); + PyErr_Format(PyExc_RuntimeError, "%s", mesg); } } @@ -3597,7 +3597,7 @@ unsigned int GetCount() const { bool found; - unsigned int rval; + unsigned int rval = 0; wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "GetCount"))) rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); @@ -3725,7 +3725,7 @@ unsigned int GetCount() const { bool found; - unsigned int rval; + unsigned int rval = 0; wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "GetCount"))) rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));