]> git.saurik.com Git - wxWidgets.git/commit
Work around impossibility to use wxCombobox in wxGrid in wxOSX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 23:41:14 +0000 (23:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 23:41:14 +0000 (23:41 +0000)
commitcf82560a388abc8433f6ab34b12ef8e11aa1a7f4
tree8c476c078d6bd62bcd63ce6a1bb172726fe13fde
parentf834239f597f81f9fdb979557d7cd22c7684853f
Work around impossibility to use wxCombobox in wxGrid in wxOSX.

Open the combobox when the editor is initially shown, this somehow ensures
that the combobox selection is taken into account when it is closed while
without this the selection is simply completely ignored.

This is just a hack but at least it allows to use wxGridCellChoiceEditor under
wxOSX which was previously impossible at all.

Closes #12644.

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