Correctly determine best wxPropertyGrid width.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Aug 2009 21:28:25 +0000 (21:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Aug 2009 21:28:25 +0000 (21:28 +0000)
commit890defb4f3a0012a296c69949bf5f93075743e8f
tree1d310c7f51f5a156dbb47034ae86ab3fc75c0d0f
parenta4dac1907bcc57fe6b2f22a30f8d33bdf2055b3b
Correctly determine best wxPropertyGrid width.

Improve wxPropertyGrid::DoGetBestSize() to correctly determine the window
width by using the sum of columns widths.

Also correct wxPropertyGridPageState::GetColumnFitWidth() to account for the
bitmaps.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/propgrid/propgrid.cpp
src/propgrid/propgridpagestate.cpp