]> git.saurik.com Git - wxWidgets.git/commitdiff
added #if wxUSE_CLIPBOARD
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 13 Dec 1999 16:16:52 +0000 (16:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 13 Dec 1999 16:16:52 +0000 (16:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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