More WinCE mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-11 23:04:34 +00:00
parent 52cd14b1c8
commit f07dc2e2a7
6 changed files with 27 additions and 10 deletions

View File

@@ -68,7 +68,7 @@
#include "wx/dataobj.h"
#endif
#if wxUSE_OLE
#if wxUSE_OLE && !defined(__WXWINCE__)
// use OLE clipboard
#define wxUSE_OLE_CLIPBOARD 1
#else // !wxUSE_DATAOBJ
@@ -80,10 +80,6 @@
#include <ole2.h>
#endif // wxUSE_OLE_CLIPBOARD
#ifdef __WIN16__
#define memcpy hmemcpy
#endif
// ===========================================================================
// implementation
// ===========================================================================
@@ -686,7 +682,7 @@ bool wxClipboard::AddData( wxDataObject *data )
// This didn't compile, of course
// return wxSetClipboardData(data);
// TODO
wxLogError("Not implemented.");
wxLogError(wxT("Not implemented."));
return FALSE;
}
}
@@ -878,7 +874,7 @@ bool wxClipboard::GetData( wxDataObject& data )
if ( !s )
return FALSE;
textDataObject.SetText(s);
textDataObject.SetText(wxString::FromAscii(s));
delete [] s;
return TRUE;