Robert
> Bugs item #586312, was opened at 2002-07-25 04:15
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=109863&aid=586312&group_id=9
> 863
>
> Category: wxGTK
> Group: Platform specific
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Chuck Messenger (chuckm)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Wrong ctrl selected in scrolled window
>
> Initial Comment:
> I made a test program consisting of a wxScrolledWindow
> containing several wxStaticText-derived controls (call
> them MyStaticText) -- one per row. For each
> MyStaticText object, I have a BEGIN_EVENT_TABLE ...
> END_EVENT_TABLE, trapping for EVT_LEFT_DOWN.
>
> If the window is scrolled to the top, then the correct
> control is activated (in the event table) when I click
> over the corresponding text. However, if the window is
> scrolled down from the origin, then the wrong control
> is activated -- it behaves as if the scroll position is
> being ignored, in calculating which control has
> received the mouse click.
>
> This is only a problem in wxGTK -- it works correctly
> in wxMSW (don't know about the other platforms).