]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxOSX wxTextCtrl refactoring of r65129.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Jul 2010 18:22:26 +0000 (18:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Jul 2010 18:22:26 +0000 (18:22 +0000)
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

index 77416d23623afa9e218f8e3bce7f133d9e0bef45..5ca171972d0980ae41229dfcc59cbfdd26f35d62 100644 (file)
@@ -517,6 +517,7 @@ wxNSTextFieldControl::wxNSTextFieldControl( wxTextCtrl *text, WXWidget w )
     : wxWidgetCocoaImpl(text, w),
       wxTextWidgetImpl(text)
 {
     : wxWidgetCocoaImpl(text, w),
       wxTextWidgetImpl(text)
 {
+    Init(w);
 }
 
 wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer,
 }
 
 wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer,
@@ -525,6 +526,7 @@ wxNSTextFieldControl::wxNSTextFieldControl(wxWindow *wxPeer,
     : wxWidgetCocoaImpl(wxPeer, w),
       wxTextWidgetImpl(entry)
 {
     : wxWidgetCocoaImpl(wxPeer, w),
       wxTextWidgetImpl(entry)
 {
+    Init(w);
 }
 
 void wxNSTextFieldControl::Init(WXWidget w)
 }
 
 void wxNSTextFieldControl::Init(WXWidget w)