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 Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
makefile.gcc Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
Makefile.in Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
makefile.unx Remove wxMGL port. 2012-01-15 14:46:41 +00:00
makefile.vc Avoid CRT deprecation warnings for MSVC build using makefiles too. 2012-02-07 21:38:31 +00:00
makefile.wat Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
red.xpm
statbar_vc7.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
statbar_vc8.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
statbar_vc9.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
statbar.bkl Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
statbar.cpp Update the field widths on demand in wxStatusBarGeneric. 2012-05-05 11:22:09 +00:00
statbar.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00