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
This commit is contained in:
Vadim Zeitlin
2011-07-09 23:37:21 +00:00
parent e7cda1c350
commit 065ba6fb09

View File

@@ -645,12 +645,12 @@ bool wxGenericValidator::TransferFromWindow(void)
*/ */
void wxGenericValidator::Initialize() void wxGenericValidator::Initialize()
{ {
m_pBool = 0; m_pBool = NULL;
m_pInt = 0; m_pInt = NULL;
m_pString = 0; m_pString = NULL;
m_pArrayInt = 0; m_pArrayInt = NULL;
#if wxUSE_DATETIME #if wxUSE_DATETIME
m_pDateTime = 0; m_pDateTime = NULL;
#endif // wxUSE_DATETIME #endif // wxUSE_DATETIME
} }