]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/gdi_wrap.cpp
Fixed typo causing multiple file selections to always return the same single name.
[wxWidgets.git] / wxPython / src / gtk / gdi_wrap.cpp
index 8b4e47abaeb37a85add95dee6ffbe2d8845d8809..df4551d6ae9fe2d655056cb60e67da1ee886488b 100644 (file)
@@ -1952,7 +1952,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;