X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ee9d6182c9b7774477e97f4326766ac05cc70c2..99e839da3c9c40a3dac7cf1bb841d6459fcac1b0:/src/common/clipcmn.cpp diff --git a/src/common/clipcmn.cpp b/src/common/clipcmn.cpp index 85fbacce04..bbb7b68c67 100644 --- a/src/common/clipcmn.cpp +++ b/src/common/clipcmn.cpp @@ -6,7 +6,7 @@ // Created: 28.06.99 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "clipboardbase.h" #endif @@ -31,6 +31,8 @@ #include "wx/clipbrd.h" #include "wx/module.h" +#if wxUSE_CLIPBOARD + // ---------------------------------------------------------------------------- // wxClipboardModule: module responsible for initializing the global clipboard // object @@ -75,3 +77,5 @@ void wxClipboardModule::OnExit() wxTheClipboard = (wxClipboard *)NULL; } + +#endif // wxUSE_CLIPBOARD