X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70b8ab778fc3f9f89874a242bfa014f2b313c59b..68ca6f52521f2f69e88e992f2d0788462e61a2d9:/src/x11/clipbrd.cpp diff --git a/src/x11/clipbrd.cpp b/src/x11/clipbrd.cpp index e315f5a4cc..e9ba9c5a04 100644 --- a/src/x11/clipbrd.cpp +++ b/src/x11/clipbrd.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "clipbrd.h" #endif @@ -396,9 +396,11 @@ bool wxClipboard::AddData( wxDataObject *data ) wxDataFormat *array = new wxDataFormat[ m_data->GetFormatCount() ]; m_data->GetAllFormats( array ); +#if 0 /* primary selection or clipboard */ Atom clipboard = m_usePrimary ? (Atom) 1 // 1 = primary selection : g_clipboardAtom; +#endif // 0 for (size_t i = 0; i < m_data->GetFormatCount(); i++)