]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/gdiobj.cpp
Call CreateControl instead of CreateBase
[wxWidgets.git] / src / motif / gdiobj.cpp
index 0d9e4fec5efc33599720f7fd3421db64c3310bf7..89a00f8370aa38cce27e1395fe24b9ff65e4e71a 100644 (file)
@@ -9,14 +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
-
-// TODO: Nothing to do, unless you want to.