Explicitly call wxObject ctor in wxColourPropertyValue ctors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2008-10-03 17:46:01 +00:00
parent 104837f26e
commit b2c36e3549

View File

@ -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 );
}