]> git.saurik.com Git - wxWidgets.git/commit - src/msw/choice.cpp
Fixed dropdown height of wxChoice and wxComboBox controls.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 31 Oct 2011 11:30:45 +0000 (11:30 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 31 Oct 2011 11:30:45 +0000 (11:30 +0000)
commit275c64304eadef874676ab4aa3663a0f8feefd5d
treea1bd17daf818428d5bc8a4548f6c477963968d9d
parent30d7a9907179ca18ac773c439767b33d7ff81af6
Fixed dropdown height of wxChoice and wxComboBox controls.

When using comctl32.dll versions prior to 6.0 (e.g. with Win2k or no manifest file) the dropdown height of a wxChoice and wxComboBox would show all but one item and a vertical scrollbar was always visible. Fixed by reintroducing code that adds 1 to the total number of items. The code got dropped in r60553, added a comment to it in the hope that it will not be lost again.

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