mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 06:05:36 +08:00
Remove wxUSE_UNICODE checks as they're always true now
Also remove all code guarded by "#if !wxUSE_UNICODE".
This commit is contained in:
@@ -235,14 +235,12 @@ bool wxBitmapDataObject::QtSetDataFrom(const QMimeData &mimeData)
|
||||
// wxTextDataObject
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
void wxTextDataObject::GetAllFormats(wxDataFormat *formats,
|
||||
wxDataObjectBase::Direction WXUNUSED(dir)) const
|
||||
{
|
||||
formats[0] = wxDataFormat(wxDF_UNICODETEXT);
|
||||
formats[1] = wxDataFormat(wxDF_TEXT);
|
||||
}
|
||||
#endif
|
||||
|
||||
void wxTextDataObject::QtSetDataSingleFormat(const QMimeData &mimeData, const wxDataFormat &WXUNUSED(format))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user