small corrections for dnd code and added wxFileDataObject demo to the sample
(wxMSW only) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -483,7 +483,9 @@ bool wxClipboard::IsOpened() const
|
||||
|
||||
bool wxClipboard::SetData( wxDataObject *data )
|
||||
{
|
||||
#if !wxUSE_OLE_CLIPBOARD
|
||||
(void)wxEmptyClipboard();
|
||||
#endif // wxUSE_OLE_CLIPBOARD
|
||||
|
||||
if ( data )
|
||||
return AddData(data);
|
||||
|
Reference in New Issue
Block a user