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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user