diff --git a/src/common/clipcmn.cpp b/src/common/clipcmn.cpp index 85fbacce04..9507ed416b 100644 --- a/src/common/clipcmn.cpp +++ b/src/common/clipcmn.cpp @@ -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