Slightly improve best size calculation for wxListCtrl with wxLC_NO_HEADER.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2012 22:15:38 +0000 (22:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2012 22:15:38 +0000 (22:15 +0000)
commit3aa1dc1ef5b87a3cce221ca5ea03353be06f5510
tree3371deb70dadfeecc7889c239a0ea759cae15758
parente14e0b2f158bc97b3c332080c3562897b7aefeaf
Slightly improve best size calculation for wxListCtrl with wxLC_NO_HEADER.

Use some arbitrary but relatively large width and height instead of falling
back to wxControlBase best size computation which, at least in wxGTK, simply
returns (1, 1) resulting in list control of unusably small size.

This is, of course, still far from ideal and we should really use the items to
calculate the best width but it at least allow the list control in the generic
log dialog to be shown correctly in wxGTK.

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