Refresh missing in OnMouseMove in wxShapeCanvas
Status: Beta
Brought to you by:
michalbliznak
Hi,
I was making a new line shape and I had refresh problems in the DrawCompleteLine method, it was missing a refresh on the OnMouseMove to make it display properly when dragging some shapes.
The patch is here if required
Regards,
Nicolas
In my opinion this is not an ideal solution because it forces shape canvas to be refreshed all the time during a mouse movement (not only if the refresh is really needed). This could slow down application if ran on slow machine/graphics subsystem. The better solution could be to found out the exact reason why your shape wasn't refreshed correctly. Can you provide me with your custom shape class?