make validator pointer const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,7 +104,7 @@ extern WXDLLIMPEXP_DATA_CORE(const wxValidator) wxDefaultValidator;
|
|||||||
// a wxValidator parameter to avoid using "#if wxUSE_VALIDATORS"
|
// a wxValidator parameter to avoid using "#if wxUSE_VALIDATORS"
|
||||||
// everywhere
|
// everywhere
|
||||||
class WXDLLIMPEXP_FWD_CORE wxValidator;
|
class WXDLLIMPEXP_FWD_CORE wxValidator;
|
||||||
static const wxValidator* wxDefaultValidatorPtr = NULL;
|
static const wxValidator* const wxDefaultValidatorPtr = NULL;
|
||||||
#define wxDefaultValidator (*wxDefaultValidatorPtr)
|
#define wxDefaultValidator (*wxDefaultValidatorPtr)
|
||||||
|
|
||||||
// this macro allows to avoid warnings about unused parameters when
|
// this macro allows to avoid warnings about unused parameters when
|
||||||
|
Reference in New Issue
Block a user