X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4e325b3df3d4c0b3ca21d4d1781acab6a488e4c..cb6780ff0129b790a29c0660e936430b0b063db8:/include/wx/gtk/treectrl.h diff --git a/include/wx/gtk/treectrl.h b/include/wx/gtk/treectrl.h index d6949a6482..ff47d7c803 100644 --- a/include/wx/gtk/treectrl.h +++ b/include/wx/gtk/treectrl.h @@ -1,13 +1,12 @@ -/* - * Author: Robert Roebling - * - * Copyright: (C) 1997,1998 Robert Roebling - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the wxWindows Licence, which - * you have received with this library (see Licence.htm). - * - */ +///////////////////////////////////////////////////////////////////////////// +// Name: treectrl.h +// Purpose: +// Author: Denis Pershin +// Created: 08/08/98 +// Id: $Id$ +// Copyright: (c) 1998 Denis Pershin and Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// #ifndef __GTKTREECTRL_H__ #define __GTKTREECTRL_H__ @@ -186,6 +185,10 @@ private: guint expand_handler; guint collapse_handler; +// It is a quick hack to make TreeCtrl working... I do not know why +// but signals is GTK does not disconnected... + bool ignore; + DECLARE_DYNAMIC_CLASS(wxTreeItem) }; @@ -212,7 +215,7 @@ public: int GetCount() const; - long InsertItem( long parent, const wxString& label, long data = 0, + long InsertItem( long parent, const wxString& label, int image = -1, int selImage = -1, long insertAfter = wxTREE_INSERT_LAST );