Second try
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
/*
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
* Author: Robert Roebling
|
// Name: treectrl.h
|
||||||
*
|
// Purpose:
|
||||||
* Copyright: (C) 1997,1998 Robert Roebling
|
// Author: Denis Pershin
|
||||||
*
|
// Created: 08/08/98
|
||||||
* This library is free software; you can redistribute it and/or
|
// Id: $Id$
|
||||||
* modify it under the terms of the wxWindows Licence, which
|
// Copyright: (c) 1998 Denis Pershin and Julian Smart
|
||||||
* you have received with this library (see Licence.htm).
|
// Licence: wxWindows licence
|
||||||
*
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GTKTREECTRL_H__
|
#ifndef __GTKTREECTRL_H__
|
||||||
#define __GTKTREECTRL_H__
|
#define __GTKTREECTRL_H__
|
||||||
@@ -183,8 +182,12 @@ private:
|
|||||||
return m_childlist.Number();
|
return m_childlist.Number();
|
||||||
}
|
}
|
||||||
|
|
||||||
guit expand_handler;
|
guint expand_handler;
|
||||||
guit collapse_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)
|
DECLARE_DYNAMIC_CLASS(wxTreeItem)
|
||||||
};
|
};
|
||||||
@@ -212,7 +215,7 @@ public:
|
|||||||
|
|
||||||
int GetCount() const;
|
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,
|
int image = -1, int selImage = -1,
|
||||||
long insertAfter = wxTREE_INSERT_LAST );
|
long insertAfter = wxTREE_INSERT_LAST );
|
||||||
|
|
||||||
|
@@ -1,13 +1,12 @@
|
|||||||
/*
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
* Author: Robert Roebling
|
// Name: treectrl.h
|
||||||
*
|
// Purpose:
|
||||||
* Copyright: (C) 1997,1998 Robert Roebling
|
// Author: Denis Pershin
|
||||||
*
|
// Created: 08/08/98
|
||||||
* This library is free software; you can redistribute it and/or
|
// Id: $Id$
|
||||||
* modify it under the terms of the wxWindows Licence, which
|
// Copyright: (c) 1998 Denis Pershin and Julian Smart
|
||||||
* you have received with this library (see Licence.htm).
|
// Licence: wxWindows licence
|
||||||
*
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GTKTREECTRL_H__
|
#ifndef __GTKTREECTRL_H__
|
||||||
#define __GTKTREECTRL_H__
|
#define __GTKTREECTRL_H__
|
||||||
@@ -183,8 +182,12 @@ private:
|
|||||||
return m_childlist.Number();
|
return m_childlist.Number();
|
||||||
}
|
}
|
||||||
|
|
||||||
guit expand_handler;
|
guint expand_handler;
|
||||||
guit collapse_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)
|
DECLARE_DYNAMIC_CLASS(wxTreeItem)
|
||||||
};
|
};
|
||||||
@@ -212,7 +215,7 @@ public:
|
|||||||
|
|
||||||
int GetCount() const;
|
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,
|
int image = -1, int selImage = -1,
|
||||||
long insertAfter = wxTREE_INSERT_LAST );
|
long insertAfter = wxTREE_INSERT_LAST );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user