]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_dataobj.i
Allow for Cmd-click on wxMac
[wxWidgets.git] / wxPython / src / _dataobj.i
index cf6baf07ef77ae11778a4fe0b080003e47c83503..8c9c4bb5a2ff296557cc1bc8c429773e29aef9d5 100644 (file)
@@ -791,7 +791,8 @@ public:
             PyObject* obj;
             bool blocked = wxPyBeginBlockThreads();
             obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
-            wxPyEndBlockThreads(blocked);      
+            wxPyEndBlockThreads(blocked);
+            return obj;
         }
     }
 };