From: Marco B. <mar...@ve...> - 2002-08-02 08:48:19
|
What do you mean with: |- On Windows, splitter windows in the generated code may not update their | layout until a resize occurs ? Does it happen with wxDialog but not with wxFrame? If it is so probably I know the reason. From a message of RObin Dunn on wxpython-users ml: |In some situations you need to force the layout to happen on a wxDialog. |This is because the wxDialog doesn't get an initial size event when shown, |so the default size handler isn't called (which is where Layout is called.) | |Try calling Layout() after you've put all the controls and the sizer on the |dialog. -- Marco Barisione (ICQ 84277092) |