]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/validate.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / validate.h
index 3f60b593894b5b4261239f2e8af80c92eaf62b3d..e79a3becb533af6b7c62b45b78f1f1c6d2a347a5 100644 (file)
@@ -38,7 +38,8 @@ class WXDLLIMPEXP_CORE wxValidator : public wxEvtHandler
 public:
     wxValidator();
     wxValidator(const wxValidator& other)
-        : m_validatorWindow(other.m_validatorWindow)
+        : wxEvtHandler()
+        , m_validatorWindow(other.m_validatorWindow)
     {
     }
     virtual ~wxValidator();