X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/427ff66291af2d8dd34ff5ee68c81436997144a1..11c084163e3702692586f70a9414dca97bb2a2d6:/src/mac/carbon/clipbrd.cpp?ds=sidebyside

diff --git a/src/mac/carbon/clipbrd.cpp b/src/mac/carbon/clipbrd.cpp
index 942a17c6fb..7f9987f0f6 100644
--- a/src/mac/carbon/clipbrd.cpp
+++ b/src/mac/carbon/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 ) ;