]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/validate.cpp
* Fixed two memory leaks.
[wxWidgets.git] / src / common / validate.cpp
index c5eb5c4ca2286910bd1da6ed9f3237ea6b0d8bb6..fe0ec85316afacdb4639fb6f39b92285564b4e6c 100644 (file)
@@ -34,7 +34,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
 
 wxValidator::wxValidator(void)
 {
 
 wxValidator::wxValidator(void)
 {
-  m_validatorWindow = NULL;
+  m_validatorWindow = (wxWindow *) NULL;
 }
 
 wxValidator::~wxValidator()
 }
 
 wxValidator::~wxValidator()