#5 Manage CaptureMouse in the canvas

open
nobody
None
5
2010-11-03
2010-11-03
No

I manage myself CaptureMouse / ReleaseMouse, and handle wxMouseCaptureLostEvent. I think it would be better to do it directly in the wxSFShapeCanvas class (during OnLoftDown / OnLeftUp).

Discussion

  • Michal Bližňák

    I think it would be better to not handle it directly in wxSF but let the user to decide where the functionality is really needed or not. Moreover, the functionality is available on Windows only (more exactly wxMouseCaptureLostEvent is emitted under Windows only).

     
  • Jérémie Fouché

    OK

    It's not really a problem as we can manage this in the inherited canvas class. I did it, and it works.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks