// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "clipbrd.h"
#endif
+#include "wx/wxprec.h"
+
+#if wxUSE_CLIPBOARD
+
#include "wx/app.h"
#include "wx/frame.h"
#include "wx/bitmap.h"
case wxDF_TEXT:
case wxDF_OEMTEXT:
mactype = kScrapFlavorTypeText ;
+ sz -= 1;
break ;
#if wxUSE_UNICODE
case wxDF_UNICODETEXT :
mactype = kScrapFlavorTypeUnicode ;
+ sz -= 2;
break ;
#endif
#if wxUSE_DRAG_AND_DROP
delete[] array ;
return transferred ;
}
+
+#endif