From c8eab84f834989c4c7285376ece45504c51b1205 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 28 Jul 2010 18:22:26 +0000 Subject: [PATCH] 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 --- src/osx/cocoa/textctrl.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osx/cocoa/textctrl.mm b/src/osx/cocoa/textctrl.mm index 77416d2362..5ca171972d 100644 --- a/src/osx/cocoa/textctrl.mm +++ b/src/osx/cocoa/textctrl.mm @@ -517,6 +517,7 @@ wxNSTextFieldControl::wxNSTextFieldControl( wxTextCtrl *text, WXWidget w ) : wxWidgetCocoaImpl(text, w), wxTextWidgetImpl(text) { + Init(w); } wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer, @@ -525,6 +526,7 @@ wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer, : wxWidgetCocoaImpl(wxPeer, w), wxTextWidgetImpl(entry) { + Init(w); } void wxNSTextFieldControl::Init(WXWidget w) -- 2.45.2