]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/treectrl.cpp
added intl.h for contextmenu
[wxWidgets.git] / src / mac / carbon / treectrl.cpp
index 7a548a743646328e7e24f73973c8ef446102337f..203bef61753c904713be1975b0b9bc7cd2bef9fc 100644 (file)
@@ -9,20 +9,19 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "treectrl.h"
 #endif
 
+#include "wx/wxprec.h"
+
 #include "wx/stubs/textctrl.h"
 #include "wx/treebase.h"
 #include "wx/stubs/treectrl.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
 IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject)
 
-#endif
-
 wxTreeCtrl::wxTreeCtrl()
 {
     m_imageListNormal = NULL;