]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dc.cpp
Tweaked the layout sample a bit for wxGridBagSizer
[wxWidgets.git] / src / motif / dc.cpp
index cba31c0c30b073872e7b765afc6feeeaf898bca2..9eacd3404f62122826eead93773ffeeee25481a2 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "dc.h"
 #endif
 
@@ -17,9 +17,7 @@
 #include "wx/dcmemory.h"
 #include "wx/defs.h"
 
-#if !USE_SHARED_LIBRARY
     IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
-#endif
 
 //-----------------------------------------------------------------------------
 // constants