]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/clipcmn.cpp
minimize searching for tlw parent, remove useless code
[wxWidgets.git] / src / common / clipcmn.cpp
index f253ccb9c1a1a6572cd49b5fdab4a691dad344e6..4b9225b04259b4b5d658d2759deaddb7260af35e 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        common/clipcmn.cpp
+// Name:        src/common/clipcmn.cpp
 // Purpose:     common (to all ports) wxClipboard functions
 // Author:      Robert Roebling
 // Modified by:
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "clipboardbase.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_CLIPBOARD
+
 #include "wx/clipbrd.h"
-#include "wx/module.h"
 
-#if wxUSE_CLIPBOARD
+#ifndef WX_PRECOMP
+    #include "wx/module.h"
+#endif
 
 static wxClipboard *gs_clipboard = NULL;