]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/clipcmn.cpp
added wx/defs.h include to correct compilation issues under Mac OS X
[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