Add association between wxOSX wxTextWidgetImpl and wxTextEntry.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Jul 2010 11:27:01 +0000 (11:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Jul 2010 11:27:01 +0000 (11:27 +0000)
commitc072b9ec8a5a9f65743ecbd16b0b0bb9dbc8b46b
tree9d700ede4f6e86dc5526e321f233ca5666bb6127
parentf50d84586a757fd5116c8dd37c795c0021526c9e
Add association between wxOSX wxTextWidgetImpl and wxTextEntry.

This allows to always find the correct wxTextEntry to use in the
implementation of text-related widgets without using any casts. Notably, the
wrong up-cast of wxWindow to wxTextCtrl in wxNSTextFieldControl::controlAction()
which resulted in a crash when the window was actually a wxComboBox can now be
fixed.

Closes #12284.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/cocoa/private/textimpl.h
include/wx/osx/core/private.h
src/osx/carbon/textctrl.cpp
src/osx/cocoa/combobox.mm
src/osx/cocoa/textctrl.mm