X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70b8ab778fc3f9f89874a242bfa014f2b313c59b..27005f3a3f26b3b7d413863c4e73c7c30ff6fcc1:/src/x11/clipbrd.cpp?ds=sidebyside 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++)