3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
53 lines
1.8 KiB
C++
53 lines
1.8 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/osx/carbon/private/mactext.h
|
|
// Purpose: private wxMacTextControl base class
|
|
// Author: Stefan Csomor
|
|
// Modified by:
|
|
// Created: 03/02/99
|
|
// Copyright: (c) Stefan Csomor
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_MAC_PRIVATE_MACTEXT_H_
|
|
#define _WX_MAC_PRIVATE_MACTEXT_H_
|
|
|
|
#include "wx/osx/private.h"
|
|
|
|
// implementation exposed, so that search control can pull it
|
|
|
|
class wxMacUnicodeTextControl : public wxMacControl, public wxTextWidgetImpl
|
|
{
|
|
public :
|
|
wxMacUnicodeTextControl( wxTextCtrl *wxPeer ) ;
|
|
wxMacUnicodeTextControl( wxTextCtrl *wxPeer,
|
|
const wxString& str,
|
|
const wxPoint& pos,
|
|
const wxSize& size, long style ) ;
|
|
virtual ~wxMacUnicodeTextControl();
|
|
|
|
virtual bool CanFocus() const
|
|
{ return true; }
|
|
virtual void VisibilityChanged(bool shown);
|
|
virtual wxString GetStringValue() const ;
|
|
virtual void SetStringValue( const wxString &str) ;
|
|
virtual void Copy();
|
|
virtual void Cut();
|
|
virtual void Paste();
|
|
virtual bool CanPaste() const;
|
|
virtual void SetEditable(bool editable) ;
|
|
virtual void GetSelection( long* from, long* to) const ;
|
|
virtual void SetSelection( long from , long to ) ;
|
|
virtual void WriteText(const wxString& str) ;
|
|
|
|
protected :
|
|
void InstallEventHandlers();
|
|
|
|
// contains the tag for the content (is different for password and non-password controls)
|
|
OSType m_valueTag ;
|
|
WXEVENTHANDLERREF m_macTextCtrlEventHandler ;
|
|
public :
|
|
ControlEditTextSelectionRec m_selection ;
|
|
};
|
|
|
|
#endif // _WX_MAC_PRIVATE_MACTEXT_H_
|