]> git.saurik.com Git - wxWidgets.git/commitdiff
silence GCC warning "base class ‘class wxEvtHandler’ should be explicitly initialized...
authorPaul Cornett <paulcor@bullseye.com>
Sun, 20 Jan 2013 03:24:21 +0000 (03:24 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sun, 20 Jan 2013 03:24:21 +0000 (03:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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)
 public:
     wxValidator();
     wxValidator(const wxValidator& other)
-        : m_validatorWindow(other.m_validatorWindow)
+        : wxEvtHandler()
+        , m_validatorWindow(other.m_validatorWindow)
     {
     }
     virtual ~wxValidator();
     {
     }
     virtual ~wxValidator();