From b2c36e35494f0105f942069fa0d717b2d9a6fa36 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Fri, 3 Oct 2008 17:46:01 +0000 Subject: [PATCH] Explicitly call wxObject ctor in wxColourPropertyValue ctors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/propgrid/advprops.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/propgrid/advprops.h b/include/wx/propgrid/advprops.h index cd879699d0..c13993e637 100644 --- a/include/wx/propgrid/advprops.h +++ b/include/wx/propgrid/advprops.h @@ -84,6 +84,7 @@ public: wxColour m_colour; wxColourPropertyValue() + : wxObject() { m_type = 0; } @@ -93,6 +94,7 @@ public: } wxColourPropertyValue( const wxColourPropertyValue& v ) + : wxObject() { m_type = v.m_type; m_colour = v.m_colour; @@ -105,17 +107,20 @@ public: } wxColourPropertyValue( const wxColour& colour ) + : wxObject() { m_type = wxPG_COLOUR_CUSTOM; m_colour = colour; } wxColourPropertyValue( wxUint32 type ) + : wxObject() { m_type = type; } wxColourPropertyValue( wxUint32 type, const wxColour& colour ) + : wxObject() { Init( type, colour ); } -- 2.45.2