Invalidate best size of wxOSX wxChoice after its number of items changes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Nov 2012 17:15:25 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Nov 2012 17:15:25 +0000 (17:15 +0000)
commitc236dbaed22ffbd88570b66931a5690dc87c0f3a
tree9f9cdf7145c923a0e64b7403598a9fa6ab6a7778
parentc94c3a77b81090a6e0bb338872876686681b1d05
Invalidate best size of wxOSX wxChoice after its number of items changes.

This fixes the calculation of the initial best size as previously the default
value was not updated even if longer strings were added later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/choice.h
src/osx/choice_osx.cpp