]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clipbrd.cpp
added an error message if a bitmap can't be addedto the image list
[wxWidgets.git] / src / gtk / clipbrd.cpp
index d142820342067dbc2cacd8f61b57168a953904cd..4314ac726b504ed67dc55ea4830eebd65951e2ef 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "wx/clipbrd.h"
 
+#if wxUSE_CLIPBOARD
+
 #include "glib.h"
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
@@ -547,3 +549,8 @@ void wxClipboardModule::OnExit()
     if (wxTheClipboard) delete wxTheClipboard;
     wxTheClipboard = (wxClipboard*) NULL;
 }
+
+#endif
+
+  // wxUSE_CLIPBOARD
+