]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/gdiobj.cpp
Second try to add "support" for deriving from
[wxWidgets.git] / src / motif / gdiobj.cpp
index adda2bcab1e92aed48a527217f4dde5a4f015932..89a00f8370aa38cce27e1395fe24b9ff65e4e71a 100644 (file)
@@ -9,12 +9,10 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "gdiobj.h"
 #endif
 
 #include "wx/gdiobj.h"
 
-#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
-#endif