fixed compilation issue in prior checkin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Surovell 2006-03-23 00:41:09 +00:00
parent 8b4457965a
commit 7ca019817d

View File

@ -247,8 +247,6 @@ bool wxTextDataObject::GetDataHere(const wxDataFormat& format, void *buf) const
return false;
wxCharBuffer buffer = GetConv(format).cWX2MB( GetText().c_str() );
if ( buffer == NULL )
return false;
strcpy( (char*)buf, buffer );
@ -262,8 +260,6 @@ bool wxTextDataObject::SetData(const wxDataFormat& format,
return false;
wxWCharBuffer buffer = GetConv(format).cMB2WX( (const char*)buf );
if ( buffer == NULL )
return false;
SetText( buffer );