wxWidgets/samples/statbar
Vadim Zeitlin 8e8d910979 Update the field widths on demand in wxStatusBarGeneric.
This ensures that the value returned from GetFieldRect() is always up to date,
even when this method is called from the user-defined wxEVT_SIZE handler, i.e.
before our own OnSize() could run.

Also remove the now unneeded hack with calling the base class OnSize() from
the statbar sample.

Closes #14268.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-05 11:22:09 +00:00
..
green.xpm
makefile.bcc
makefile.gcc
Makefile.in Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
makefile.unx
makefile.vc Avoid CRT deprecation warnings for MSVC build using makefiles too. 2012-02-07 21:38:31 +00:00
makefile.wat
red.xpm
statbar_vc7.vcproj
statbar_vc8.vcproj
statbar_vc9.vcproj
statbar.bkl
statbar.cpp Update the field widths on demand in wxStatusBarGeneric. 2012-05-05 11:22:09 +00:00
statbar.dsp