recompute width cache if client width has changed to take into account the fact

that derived OnSize is run before cache has been cleared in own OnSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-11-21 21:30:28 +00:00
parent af68a70285
commit 9814147718
2 changed files with 10 additions and 3 deletions

View File

@@ -108,6 +108,8 @@ protected:
wxArrayString m_statusStrings;
// the last known width of the client rect (used to rebuild cache)
int m_lastClientWidth;
// the widths of the status bar panes in pixels
wxArrayInt m_widthsAbs;