if (!IsEditable())
return FALSE;
- long offset ;
#if TARGET_CARBON
OSStatus err = noErr;
ScrapRef scrapRef;
return FALSE;
#else
+ long offset ;
if ( GetScrap( NULL , 'TEXT' , &offset ) > 0 )
{
return TRUE ;
long wxTextCtrl::GetInsertionPoint() const
{
- ControlEditTextSelectionRec selection ;
+ // ControlEditTextSelectionRec selection ;
TEHandle teH ;
long size ;
long wxTextCtrl::GetLastPosition() const
{
- ControlEditTextSelectionRec selection ;
+ // ControlEditTextSelectionRec selection ;
TEHandle teH ;
long size ;
::GetControlData( (ControlHandle) m_macControl , 0, kControlEditTextTEHandleTag , sizeof( TEHandle ) , (char*) &teH , &size ) ;
- TEInsert( wxBuffer , strlen( wxBuffer) , teH ) ;
- Refresh() ;
+ TEInsert( wxBuffer , strlen( wxBuffer) , teH ) ;
+ Refresh() ;
}
void wxTextCtrl::AppendText(const wxString& text)