]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/oglshapes2.cpp
Don't send the button event in idle time, just release the mouse first.
[wxWidgets.git] / wxPython / contrib / ogl / oglshapes2.cpp
index 72c0f233153b6ac8b068a6bef682ff074cd025e2..72fcdbb747cf5e085404fc2a109514848048f319 100644 (file)
@@ -3722,7 +3722,7 @@ static PyObject *_wrap_wxPyLineShape_GetFrom(PyObject *self, PyObject *args, PyO
         _result = (wxPyShape *)wxPyLineShape_GetFrom(_arg0);
 
     wxPy_END_ALLOW_THREADS;
-}{ _resultobj = wxPyMake_wxObject(_result); }
+}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
     return _resultobj;
 }
 
@@ -3840,7 +3840,7 @@ static PyObject *_wrap_wxPyLineShape_GetTo(PyObject *self, PyObject *args, PyObj
         _result = (wxPyShape *)wxPyLineShape_GetTo(_arg0);
 
     wxPy_END_ALLOW_THREADS;
-}{ _resultobj = wxPyMake_wxObject(_result); }
+}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
     return _resultobj;
 }