]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/validate.cpp
Don't use "Cancel" button in the about dialog of the listctrl sample.
[wxWidgets.git] / src / common / validate.cpp
index 787d99bd5f60c38d8627dbeb6287aa0ac90bbafc..cbd48bdc80d83393993722c76f44604c4744503a 100644 (file)
@@ -34,7 +34,7 @@ bool wxValidator::ms_isSilent = false;
 
 wxValidator::wxValidator()
 {
-  m_validatorWindow = (wxWindow *) NULL;
+  m_validatorWindow = NULL;
 }
 
 wxValidator::~wxValidator()