]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valnum.h
doing WakeUp in osx_carbon differently for the main event as well
[wxWidgets.git] / include / wx / valnum.h
index 0385c9f9ad669e1f87c3920327bd09cb91a3f642..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;
     }
@@ -409,7 +409,7 @@ public:
     {
         DoSetMinMax();
 
-        SetPrecision(std::numeric_limits<ValueType>::digits10);
+        this->SetPrecision(std::numeric_limits<ValueType>::digits10);
     }
 
     // Ctor specifying an explicit precision.