projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed start parameter of wxDC::DrawPolyPolygon() to count (patch 882189)
[wxWidgets.git]
/
include
/
wx
/
msw
/
treectrl.h
diff --git
a/include/wx/msw/treectrl.h
b/include/wx/msw/treectrl.h
index e19e87a1a14ee506e6aa02d160d94ada823b02c9..effeda59ff1200ccd4ba2caaacd6c147a8901dcb 100644
(file)
--- a/
include/wx/msw/treectrl.h
+++ b/
include/wx/msw/treectrl.h
@@
-317,7
+317,12
@@
public:
// unselect all items (only makes sense for multiple selection control)
void UnselectAll();
// select this item
// unselect all items (only makes sense for multiple selection control)
void UnselectAll();
// select this item
- void SelectItem(const wxTreeItemId& item);
+ void SelectItem(const wxTreeItemId& item, bool select = true);
+ // unselect this item
+ void UnselectItem(const wxTreeItemId& item);
+ // toggle item selection
+ void ToggleItemSelection(const wxTreeItemId& item);
+
// make sure this item is visible (expanding the parent item and/or
// scrolling to this item if necessary)
void EnsureVisible(const wxTreeItemId& item);
// make sure this item is visible (expanding the parent item and/or
// scrolling to this item if necessary)
void EnsureVisible(const wxTreeItemId& item);
@@
-403,10
+408,12
@@
public:
long& cookie) const );
#endif // WXWIN_COMPATIBILITY_2_4
long& cookie) const );
#endif // WXWIN_COMPATIBILITY_2_4
+ virtual bool ShouldInheritColours() const { return false; }
+
// implementation
// --------------
// implementation
// --------------
- virtual
long
MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+ virtual
WXLRESULT
MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
virtual bool MSWCommand(WXUINT param, WXWORD id);
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
virtual bool MSWCommand(WXUINT param, WXWORD id);
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);