Use constexpr to declare constants in wxPropertyGrid

This commit is contained in:
Artur Wieczorek 2023-01-22 20:15:00 +02:00
parent b727e47df7
commit 5b92a7badc
14 changed files with 132 additions and 119 deletions

View file

@ -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;
// -----------------------------------------------------------------------