X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..6ac23e25b85468c7885f6ab43ca0a45f6458af2e:/src/mac/carbon/treectrl.cpp?ds=sidebyside diff --git a/src/mac/carbon/treectrl.cpp b/src/mac/carbon/treectrl.cpp index 7a548a7436..203bef6175 100644 --- a/src/mac/carbon/treectrl.cpp +++ b/src/mac/carbon/treectrl.cpp @@ -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;