Well, that explains it
@byo
Could you add a property to every widget called "Code after widget creation" or something like that, where the user can input code which is placed right after widget creation?
There are some cases when this is useful.
e.g. when you have a wxMenuItem FileSave, you could enter the code
FileSave->SetBitmap(wxArtProvider::GetBitmap(wxArt_FILE_SAVE));
The reason is, that setting a bitmap on WinXP doesn't seem to work after a wxMenuItem is appended to wxMenu.
This is just one case I found recently.
regards raph