easton.mark wrote:
> See the file ss3.doc (a word doc) which contains a screen shot of my
> issue. Why are my list items in the wxListBook control spacing out? I
> cant find a way to make it behave like a normal list in DialogBlocks.
>
wxListBook actually uses a wxListCtrl, not a wxListBox, so it's
expecting icons. There's no flag for setting the default wxListCtrl
view, but you could try retrieving the book controller and calling
SetWindowStyleFlag() with e.g. wxLC_LIST, e.g. from the end of
CreateControls(). This change won't show up in DB though.
Regards,
Julian
.