So, for example I draw some objects on wx.PaintDC, such as lines and rectangles. Now I want next: on mouse click I wont know which object was clicked. Of course, I can see what object is the closest, but what about more exact answer?
Maybe even not standart wx.DC, but such things as FloatCanvas or something like this.
So, what's the best solution?