]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/cocoa/private/textimpl.h
fix tags generation for OS X port after renaming
[wxWidgets.git] / include / wx / osx / cocoa / private / textimpl.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: textimpl.h
3 // Purpose: textcontrol implementation classes that have to be exposed
4 // Author: Stefan Csomor
5 // Modified by:
6 // Created: 03/02/99
7 // RCS-ID: $Id:
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_OSX_COCOA_PRIVATE_TEXTIMPL_H_
13 #define _WX_OSX_COCOA_PRIVATE_TEXTIMPL_H_
14
15 #include "wx/osx/private.h"
16
17 // implementation exposed, so that search control can pull it
18
19 class wxNSTextFieldControl : public wxWidgetCocoaImpl, public wxTextWidgetImpl
20 {
21 public :
22 wxNSTextFieldControl( wxTextCtrl *wxPeer, WXWidget w );
23 virtual ~wxNSTextFieldControl();
24
25 virtual wxString GetStringValue() const ;
26 virtual void SetStringValue( const wxString &str) ;
27 virtual void Copy() ;
28 virtual void Cut() ;
29 virtual void Paste() ;
30 virtual bool CanPaste() const ;
31 virtual void SetEditable(bool editable) ;
32 virtual void GetSelection( long* from, long* to) const ;
33 virtual void SetSelection( long from , long to );
34 virtual void WriteText(const wxString& str) ;
35 };
36
37 #endif // _WX_OSX_COCOA_PRIVATE_TEXTIMPL_H_