From 065ba6fb0957f75b2c68edbbdc9d90ecf1e538c6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 9 Jul 2011 23:37:21 +0000 Subject: [PATCH] No changes, just use NULL instead of 0 for pointers. Initialize pointers with NULL in wxGenericValidator. See #13304. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/valgen.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index 1172c888cb..dbafcaa721 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -645,12 +645,12 @@ bool wxGenericValidator::TransferFromWindow(void) */ void wxGenericValidator::Initialize() { - m_pBool = 0; - m_pInt = 0; - m_pString = 0; - m_pArrayInt = 0; + m_pBool = NULL; + m_pInt = NULL; + m_pString = NULL; + m_pArrayInt = NULL; #if wxUSE_DATETIME - m_pDateTime = 0; + m_pDateTime = NULL; #endif // wxUSE_DATETIME } -- 2.45.2