1. Implemented support for different icons for different states (expanded,
selected, combination of them) for the tree control (and doc'd it) 2. removed code which was sending extra event if wxFrame::SetSize() was used 3. important changes to wxWizard interface 4. small compilation corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,10 +12,21 @@
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// enum for different images associated with a treectrl item
|
||||
enum wxTreeItemIcon
|
||||
{
|
||||
wxTreeItemIcon_Normal, // not selected, not expanded
|
||||
wxTreeItemIcon_Selected, // selected, not expanded
|
||||
wxTreeItemIcon_Expanded, // not selected, expanded
|
||||
wxTreeItemIcon_SelectedExpanded, // selected, expanded
|
||||
wxTreeItemIcon_Max
|
||||
};
|
||||
|
||||
// tree ctrl default name
|
||||
#ifdef __WXMSW__
|
||||
WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
|
||||
WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
|
||||
#else
|
||||
#define wxTreeCtrlNameStr "wxTreeCtrl"
|
||||
#define wxTreeCtrlNameStr "wxTreeCtrl"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user