]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/minifram.cpp
don't include headers not needed when wxUSE_GUI == 0
[wxWidgets.git] / src / motif / minifram.cpp
index bf6c50b3503e5a500419dcfd423f197e79150ca2..50524f24521bb7bc61690fb719b715a00ba31983 100644 (file)
@@ -9,14 +9,12 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "minifram.h"
 #endif
 
 #include "wx/minifram.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
-#endif