X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/671478ee469decd0576e0d27817bf92c6fb3632d..d4d8988c72e26ea5ef68b87a53691da7c3751a95:/src/common/dobjcmn.cpp?ds=sidebyside diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index f6e84ec3fa..90affa06e6 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "dataobjbase.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -42,7 +38,7 @@ #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxSimpleDataObjectList); +WX_DEFINE_LIST(wxSimpleDataObjectList) // ---------------------------------------------------------------------------- // globals @@ -280,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