]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/clipcmn.cpp
fixed bug with Broadcast() not waking up all threads (Pieter van der Meulen)
[wxWidgets.git] / src / common / clipcmn.cpp
index 85fbacce040cb6fff04716903ebdc9010fb721a9..9507ed416b69ea4abeca6340eab9d791d96f608d 100644 (file)
@@ -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