]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clipbrd.cpp
OnExit() is called for modules which were initialized even if the init of
[wxWidgets.git] / src / gtk / clipbrd.cpp
index f220a49abdd8b72d7f4b75fc8a681c4825de5709..4314ac726b504ed67dc55ea4830eebd65951e2ef 100644 (file)
 
 #include "wx/clipbrd.h"
 
+#if wxUSE_CLIPBOARD
+
+#include "glib.h"
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
 //-----------------------------------------------------------------------------
 // data
 //-----------------------------------------------------------------------------
@@ -543,3 +549,8 @@ void wxClipboardModule::OnExit()
     if (wxTheClipboard) delete wxTheClipboard;
     wxTheClipboard = (wxClipboard*) NULL;
 }
+
+#endif
+
+  // wxUSE_CLIPBOARD
+