X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/427ff66291af2d8dd34ff5ee68c81436997144a1..f9007c324c9b4f6288156dcf0b865090ee0c0c38:/src/mac/clipbrd.cpp diff --git a/src/mac/clipbrd.cpp b/src/mac/clipbrd.cpp index 942a17c6fb..7f9987f0f6 100644 --- a/src/mac/clipbrd.cpp +++ b/src/mac/clipbrd.cpp @@ -10,7 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation #pragma implementation "clipbrd.h" #endif @@ -143,7 +142,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len) #if wxUSE_UNICODE wxCharBuffer buf = st.ToAscii() ; #else - char* buf = st ; + const char* buf = st ; #endif char* newdata = new char[strlen(buf)+1] ; memcpy( newdata , buf , strlen(buf)+1 ) ;