Fix wxOSX wxTextCtrl refactoring of r65129.

Add the Init() calls in wxNSTextFieldControl ctors forgotten the last time.

Closes #12284.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-07-28 18:22:26 +00:00
parent 40c4350f96
commit c8eab84f83

View File

@ -517,6 +517,7 @@ wxNSTextFieldControl::wxNSTextFieldControl( wxTextCtrl *text, WXWidget w )
: wxWidgetCocoaImpl(text, w), : wxWidgetCocoaImpl(text, w),
wxTextWidgetImpl(text) wxTextWidgetImpl(text)
{ {
Init(w);
} }
wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer, wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer,
@ -525,6 +526,7 @@ wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer,
: wxWidgetCocoaImpl(wxPeer, w), : wxWidgetCocoaImpl(wxPeer, w),
wxTextWidgetImpl(entry) wxTextWidgetImpl(entry)
{ {
Init(w);
} }
void wxNSTextFieldControl::Init(WXWidget w) void wxNSTextFieldControl::Init(WXWidget w)