]> git.saurik.com Git - wxWidgets.git/commitdiff
calling explicit base class constructor from copy constructor
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 10:55:30 +0000 (10:55 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 10:55:30 +0000 (10:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/core/private/strconv_cf.h
include/wx/valnum.h

index 1c49cc391971e391a93150285c294bf44662d4af..a2955285764446504eed9b65fc352f40f281f541 100644 (file)
@@ -295,7 +295,7 @@ public:
         Init(CFStringGetSystemEncoding()) ;
     }
 
-    wxMBConv_cf(const wxMBConv_cf& conv)
+    wxMBConv_cf(const wxMBConv_cf& conv) : wxMBConv()
     {
         m_encoding = conv.m_encoding;
     }
index 19320248e40ca0c7e8b807b6b3ac5727b847b2e8..2fbfe607b898b2261fa83b2bf119352f7c392e05 100644 (file)
@@ -49,7 +49,7 @@ protected:
         m_style = style;
     }
 
-    wxNumValidatorBase(const wxNumValidatorBase& other)
+    wxNumValidatorBase(const wxNumValidatorBase& other) : wxValidator()
     {
         m_style = other.m_style;
     }