Use enum instead of macros to represent wxPropertyGrid::DoSelectProperty flags.
This commit is contained in:
@@ -591,27 +591,28 @@ enum wxPG_KEYBOARD_ACTIONS
|
|||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// wxPropertyGrid::DoSelectProperty flags (selFlags)
|
// wxPropertyGrid::DoSelectProperty flags (selFlags)
|
||||||
|
enum wxPG_SELECT_PROPERTY_FLAGS
|
||||||
// Focuses to created editor
|
{
|
||||||
#define wxPG_SEL_FOCUS 0x0001
|
// Focuses to created editor
|
||||||
// Forces deletion and recreation of editor
|
wxPG_SEL_FOCUS = 0x0001,
|
||||||
#define wxPG_SEL_FORCE 0x0002
|
// Forces deletion and recreation of editor
|
||||||
// For example, doesn't cause EnsureVisible
|
wxPG_SEL_FORCE = 0x0002,
|
||||||
#define wxPG_SEL_NONVISIBLE 0x0004
|
// For example, doesn't cause EnsureVisible
|
||||||
// Do not validate editor's value before selecting
|
wxPG_SEL_NONVISIBLE = 0x0004,
|
||||||
#define wxPG_SEL_NOVALIDATE 0x0008
|
// Do not validate editor's value before selecting
|
||||||
// Property being deselected is about to be deleted
|
wxPG_SEL_NOVALIDATE = 0x0008,
|
||||||
#define wxPG_SEL_DELETING 0x0010
|
// Property being deselected is about to be deleted
|
||||||
// Property's values was set to unspecified by the user
|
wxPG_SEL_DELETING = 0x0010,
|
||||||
#define wxPG_SEL_SETUNSPEC 0x0020
|
// Property's values was set to unspecified by the user
|
||||||
// Property's event handler changed the value
|
wxPG_SEL_SETUNSPEC = 0x0020,
|
||||||
#define wxPG_SEL_DIALOGVAL 0x0040
|
// Property's event handler changed the value
|
||||||
// Set to disable sending of wxEVT_PG_SELECTED event
|
wxPG_SEL_DIALOGVAL = 0x0040,
|
||||||
#define wxPG_SEL_DONT_SEND_EVENT 0x0080
|
// Set to disable sending of wxEVT_PG_SELECTED event
|
||||||
// Don't make any graphics updates
|
wxPG_SEL_DONT_SEND_EVENT = 0x0080,
|
||||||
#define wxPG_SEL_NO_REFRESH 0x0100
|
// Don't make any graphics updates
|
||||||
|
wxPG_SEL_NO_REFRESH = 0x0100
|
||||||
|
};
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user