Added an optimization that fixes a recursive paint problem when controls
authorJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 15:28:02 +0000 (15:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 15:28:02 +0000 (15:28 +0000)
commit0b652e0ef9fd1c007ef64b1ab1a1a00626e04ae5
tree6966c0ab4cd48fe00a54daee55dd0292ea980cb7
parentcca1624d2a0b06280494e0d3be857819a331f344
Added an optimization that fixes a recursive paint problem when controls
are embedded in wxHTML (or other circumstances where the parent resizes
the choice/combobox within a paint handler). This also speeds up
addition of strings considerably (see "Add many strings" in widgets sample).

Also added a check for silly values that can be returned from
CB_GETDROPPEDCONTROLRECT.

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