Use constexpr to declare constants in wxPropertyGrid
This commit is contained in:
parent
b727e47df7
commit
5b92a7badc
14 changed files with 132 additions and 119 deletions
|
|
@ -291,10 +291,10 @@ wxPG_EX_WINDOW_STYLE_MASK = wxPG_EX_WINDOW_PG_STYLE_MASK|wxPG_EX_WINDOW_PGMAN_ST
|
|||
};
|
||||
|
||||
// Combines various styles.
|
||||
#define wxPG_DEFAULT_STYLE (0)
|
||||
constexpr long wxPG_DEFAULT_STYLE = 0L;
|
||||
|
||||
// Combines various styles.
|
||||
#define wxPGMAN_DEFAULT_STYLE (0)
|
||||
constexpr long wxPGMAN_DEFAULT_STYLE = 0L;
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue