45effb085a
The size hints must be explicitly set if tool and/or status bars are added to the frame after loading its contents from XRC. This didn't matter before because the (only) item of the frame sizer effectively had wxGROW style and so adjusted to the frame size even if it was less than the minimal size, but now that wxALIGN_CENTER_VERTICAL, which was always specified in rc/frame.xrc file but never taken into account before, is honoured, the initial frame size is not big enough to show its contents which looks ugly, so work around this. |
||
---|---|---|
.. | ||
rc | ||
custclas.cpp | ||
custclas.h | ||
derivdlg.cpp | ||
derivdlg.h | ||
descrip.mms | ||
makefile.bcc | ||
makefile.gcc | ||
Makefile.in | ||
makefile.unx | ||
makefile.vc | ||
myframe.cpp | ||
myframe.h | ||
objrefdlg.cpp | ||
objrefdlg.h | ||
xrcdemo_vc7.vcproj | ||
xrcdemo_vc8.vcproj | ||
xrcdemo_vc9.vcproj | ||
xrcdemo.bkl | ||
xrcdemo.cpp | ||
xrcdemo.h |