projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxCocoa: Added basic (i.e. not working) implementation of wxComboBox
[wxWidgets.git]
/
include
/
wx
/
generic
/
treectlg.h
diff --git
a/include/wx/generic/treectlg.h
b/include/wx/generic/treectlg.h
index 7d42d09ae2117a07b78fc6392b15838392de2273..d7856f0ea613df244556007030711ff54df4a792 100644
(file)
--- a/
include/wx/generic/treectlg.h
+++ b/
include/wx/generic/treectlg.h
@@
-6,7
+6,7
@@
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) 1997,1998 Robert Roebling
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) 1997,1998 Robert Roebling
-// Licence: wxWindows licen
s
e
+// Licence: wxWindows licen
c
e
/////////////////////////////////////////////////////////////////////////////
#ifndef _GENERIC_TREECTRL_H_
/////////////////////////////////////////////////////////////////////////////
#ifndef _GENERIC_TREECTRL_H_
@@
-207,9
+207,9
@@
public:
#if WXWIN_COMPATIBILITY_2_2
// deprecated: Use GetItemParent instead.
wxTreeItemId GetParent(const wxTreeItemId& item) const
#if WXWIN_COMPATIBILITY_2_2
// deprecated: Use GetItemParent instead.
wxTreeItemId GetParent(const wxTreeItemId& item) const
- { return GetItemParent( item ); }
+
{ return GetItemParent( item ); }
- // Expose the base class method hidden by the one above.
+
// Expose the base class method hidden by the one above.
wxWindow *GetParent() const { return wxScrolledWindow::GetParent(); }
#endif // WXWIN_COMPATIBILITY_2_2
wxWindow *GetParent() const { return wxScrolledWindow::GetParent(); }
#endif // WXWIN_COMPATIBILITY_2_2
@@
-362,7
+362,7
@@
public:
void OnKillFocus( wxFocusEvent &event );
void OnChar( wxKeyEvent &event );
void OnMouse( wxMouseEvent &event );
void OnKillFocus( wxFocusEvent &event );
void OnChar( wxKeyEvent &event );
void OnMouse( wxMouseEvent &event );
- void OnI
dle( wxIdleEvent &event
);
+ void OnI
nternalIdle(
);
// implementation helpers
protected:
// implementation helpers
protected:
@@
-376,7
+376,9
@@
protected:
wxGenericTreeItem *m_anchor;
wxGenericTreeItem *m_current,
wxGenericTreeItem *m_anchor;
wxGenericTreeItem *m_current,
- *m_key_current;
+ *m_key_current,
+ // A hint to select a parent item after deleting a child
+ *m_select_me;
unsigned short m_indent;
unsigned short m_spacing;
int m_lineHeight;
unsigned short m_indent;
unsigned short m_spacing;
int m_lineHeight;
@@
-467,6
+469,7
@@
protected:
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl)
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl)
+ DECLARE_NO_COPY_CLASS(wxGenericTreeCtrl)
};
#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)
};
#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)