]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/pen.cpp
fixed (harmless) unused variable warning in release build
[wxWidgets.git] / src / mac / carbon / pen.cpp
index fea55ab34eb7394f3f30661355ad70238b4056af..8edb25bd5b32471a0e7dc6c459a1888cc972ecf4 100644 (file)
@@ -9,17 +9,16 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "pen.h"
 #endif
 
-#include "wx/setup.h"
+#include "wx/wxprec.h"
+
 #include "wx/utils.h"
 #include "wx/pen.h"
 
-#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
-#endif
 
 wxPenRefData::wxPenRefData()
 {