I'm not sure if this is a bug with wxperl, wx, or gtk, but here goes:
I have a wxperl app that runs on both MSW and GTK. The bug described
here appears on GTK but not on MSW.
Part of the app is a dialog box that has a multi-select
(wxLB_EXTENDED) listbox. As part of dialog box creation the listbox's
initial selections are set. If the listbox is the first input-capable
control created, then the initial selections are not synchronized
with the visible control. I.e. if I query them back, I get the
selections I set, but those selections are not reflected in the gui.
The gui starts with the first item selected. If I change the
selection interactively and then have the code query the selections
back, the selections made interactively are now returned.
If I create an input-capable control before the listbox (Wx::TextCtrl,
Wx::Button, ...) then this bug does not appear.
Any idea what's going on?
I'm using wxperl 0.19(-1), wxwindows 2.4.2(.6), and gtk 1.2.10(-11),
all from Debian packages.
 I.e. Wx::StaticText doesn't count