X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..96531a71a07563fee5fdfa69eb0a99732fed24de:/src/common/dobjcmn.cpp diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 97b89544ed..90affa06e6 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -38,7 +38,7 @@ #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxSimpleDataObjectList); +WX_DEFINE_LIST(wxSimpleDataObjectList) // ---------------------------------------------------------------------------- // globals @@ -276,7 +276,8 @@ static wxMBConvUTF16 sUTF16Converter ; static inline wxMBConv& GetConv(const wxDataFormat& format) { - return format == wxDF_UNICODETEXT ? sUTF16Converter : (wxMBConv&) wxConvLocal; + return format == wxDF_UNICODETEXT ? (wxMBConv&) sUTF16Converter + : (wxMBConv&) wxConvLocal; } size_t wxTextDataObject::GetDataSize(const wxDataFormat& format) const