From: Paul Cornett Date: Sun, 20 Jan 2013 03:24:21 +0000 (+0000) Subject: silence GCC warning "base class ‘class wxEvtHandler’ should be explicitly initialized... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3e118784c7bcea6bd324aabcf793552043d481c0?ds=sidebyside silence GCC warning "base class ‘class wxEvtHandler’ should be explicitly initialized in the copy constructor" git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/validate.h b/include/wx/validate.h index 3f60b59389..e79a3becb5 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -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();