wxDataObject changes - ok for MSW, still not for GTK/Motif/...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -584,7 +584,7 @@ bool wxClipboard::GetData( wxDataObject *data )
|
||||
}
|
||||
|
||||
// build the list of supported formats
|
||||
size_t nFormats = data->GetFormatCount(FALSE /* for SetData() */);
|
||||
size_t nFormats = data->GetFormatCount(wxDataObject::Set);
|
||||
wxDataFormat format, *formats;
|
||||
if ( nFormats == 1 )
|
||||
{
|
||||
@@ -597,7 +597,7 @@ bool wxClipboard::GetData( wxDataObject *data )
|
||||
formats = new wxDataFormat[nFormats];
|
||||
}
|
||||
|
||||
data->GetAllFormats(formats, FALSE);
|
||||
data->GetAllFormats(formats, wxDataObject::Set);
|
||||
|
||||
// get the format enumerator
|
||||
bool result = FALSE;
|
||||
|
Reference in New Issue
Block a user