Fix for compilation of wxX11 without UTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
04458a61f8
commit
fe443d5392
@ -378,10 +378,12 @@ void wxBitmapDataObject::DoConvertToPng()
|
||||
// wxTextDataObject
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if defined(wxNEEDS_UTF8_FOR_TEXT_DATAOBJ) || defined(wxNEEDS_UTF16_FOR_TEXT_DATAOBJ)
|
||||
void
|
||||
wxTextDataObject::GetAllFormats(wxDataFormat *formats,
|
||||
wxDataObjectBase::Direction WXUNUSED(dir)) const
|
||||
{
|
||||
*formats++ = GetPreferredFormat();
|
||||
}
|
||||
#endif
|
||||
#endif // wxUSE_DATAOBJ
|
||||
|
Loading…
Reference in New Issue
Block a user