wxPython stuff:
1. Added Clipboard and Drag-and-Drop classes 2. Added wxFontEnumerator 3. Many changes to wxMenu, wxMenubar 4. Various other changes and additions 5. Updates to the demo 6. Documentation updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -320,6 +320,9 @@ public:
|
||||
void SetImageList(wxImageList *imageList);
|
||||
void SetStateImageList(wxImageList *imageList);
|
||||
|
||||
unsigned int GetSpacing();
|
||||
void SetSpacing(unsigned int spacing);
|
||||
|
||||
wxString GetItemText(const wxTreeItemId& item);
|
||||
int GetItemImage(const wxTreeItemId& item);
|
||||
int GetItemSelectedImage(const wxTreeItemId& item);
|
||||
@@ -440,17 +443,19 @@ public:
|
||||
#ifdef __WXMSW__
|
||||
wxTextCtrl* EditLabel(const wxTreeItemId& item);
|
||||
wxTextCtrl* GetEditControl();
|
||||
void EndEditLabel(const wxTreeItemId& item, bool discardChanges = FALSE);
|
||||
void EndEditLabel(const wxTreeItemId& item, int discardChanges = FALSE);
|
||||
#else
|
||||
void EditLabel(const wxTreeItemId& item);
|
||||
#endif
|
||||
|
||||
void SortChildren(const wxTreeItemId& item);
|
||||
|
||||
void SetItemBold(const wxTreeItemId& item, bool bold = TRUE);
|
||||
void SetItemBold(const wxTreeItemId& item, int bold = TRUE);
|
||||
bool IsBold(const wxTreeItemId& item) const;
|
||||
wxTreeItemId HitTest(const wxPoint& point);
|
||||
|
||||
void SetItemDropHighlight(const wxTreeItemId& item, int highlight = TRUE);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
//bool GetBoundingRect(const wxTreeItemId& item, wxRect& rect, int textOnly = FALSE)
|
||||
%addmethods {
|
||||
|
||||
Reference in New Issue
Block a user