X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..5e3e62bc6e77477573d3c6b36b71e96d2601a27c:/include/wx/osx/iphone/private/textimpl.h diff --git a/include/wx/osx/iphone/private/textimpl.h b/include/wx/osx/iphone/private/textimpl.h index 5c1bf8d6f1..1bd750f996 100644 --- a/include/wx/osx/iphone/private/textimpl.h +++ b/include/wx/osx/iphone/private/textimpl.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: textimpl.h +// Name: wx/osx/iphone/private/textimpl.h // Purpose: textcontrol implementation classes that have to be exposed // Author: Stefan Csomor // Modified by: // Created: 03/02/99 -// RCS-ID: $Id: textimpl.h 63564 2010-02-27 02:51:45Z KO $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -20,7 +20,7 @@ class wxUITextFieldControl : public wxWidgetIPhoneImpl, public wxTextWidgetImpl { public : - wxUITextFieldControl( wxWindow *wxPeer, UITextField* w ); + wxUITextFieldControl( wxTextCtrl *wxPeer, UITextField* w ); virtual ~wxUITextFieldControl(); virtual wxString GetStringValue() const ; @@ -35,9 +35,14 @@ public : virtual void WriteText(const wxString& str) ; virtual bool HasOwnContextMenu() const { return true; } + virtual wxSize GetBestSize() const; + + virtual bool SetHint(const wxString& hint); + virtual void controlAction(WXWidget slf, void* _cmd, void *sender); protected : UITextField* m_textField; + NSObject* m_delegate; long m_selStart; long m_selEnd; }; @@ -71,6 +76,7 @@ public: virtual wxSize GetBestSize() const; protected: + NSObject* m_delegate; UITextView* m_textView; };