]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/gdi_wrap.cpp
Added some more docstrings, and also a few little tweaks along the way.
[wxWidgets.git] / wxPython / src / msw / gdi_wrap.cpp
index dc8e2fc97d590c0f8838349c29cfcec080bb2e77..d8c84481f643f1a232195426e2e5cee05aa50f91 100644 (file)
@@ -1929,7 +1929,7 @@ static PyObject *_wrap_Pen___eq__(PyObject *self, PyObject *args, PyObject *kwar
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();
-        result = (bool)((wxPen const *)arg1)->operator ==((wxPen const &)*arg2);
+        result = (bool)(arg1)->operator ==((wxPen const &)*arg2);
         
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;