X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8eccedebe44ad610a30b23be57b26fcafcaee09..bca7bfc878242483c1130c460c488c27002607a9:/include/wx/generic/treelay.h?ds=sidebyside diff --git a/include/wx/generic/treelay.h b/include/wx/generic/treelay.h index 9c626dcf9f..4bcc4baf0f 100644 --- a/include/wx/generic/treelay.h +++ b/include/wx/generic/treelay.h @@ -12,18 +12,18 @@ #ifndef _WX_TREELAY_H_ #define _WX_TREELAY_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wxtree.h" #endif #ifndef WX_PRECOMP -#include +#include "wx/object.h" class wxList; class wxDC; class wxMouseEvent; #endif -#include +#include "wx/string.h" #if wxUSE_TREELAYOUT @@ -131,6 +131,7 @@ public: virtual long GetClientData(long id) const; virtual long AddChild(const wxString& name, const wxString& parent = ""); + virtual long AddChild(const wxString& name, long parent); virtual long NameToId(const wxString& name); // Data members