]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/colour.cpp
Use t_str() instead of c_str()
[wxWidgets.git] / src / os2 / colour.cpp
index d1add0c9c3e7fb9c3dc25c8f361acf00dc8de09f..08d79a82f166858e9c1f528a3c16fa8cdb64b957 100644 (file)
@@ -22,7 +22,7 @@
 #define INCL_PM
 #include<os2.h>
 
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxGDIObject)
+IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
 
 // Colour
 
@@ -33,11 +33,6 @@ void wxColour::Init()
     m_cRed = m_cBlue = m_cGreen = 0;
 } // end of wxColour::Init
 
-wxColour::wxColour ()
-{
-    Init();
-} // end of wxColour::wxColour
-
 wxColour::wxColour( const wxColour& rCol )
 {
     *this = rCol;