]> git.saurik.com Git - wxWidgets.git/commitdiff
Explicitly call wxObject ctor in wxColourPropertyValue ctors
authorJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 3 Oct 2008 17:46:01 +0000 (17:46 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 3 Oct 2008 17:46:01 +0000 (17:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/advprops.h

index cd879699d0a5abe00f1938f4026327cf2edca5be..c13993e63739ba993a27b625ee4ac755d2ad74ac 100644 (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 );
     }