diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index 5c3e41d015..9ac38bff4b 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -133,7 +133,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject) wxColour::wxColour() { - m_refData = new wxColourRefData(); } wxColour::wxColour( unsigned char red, unsigned char green, unsigned char blue ) diff --git a/src/gtk1/colour.cpp b/src/gtk1/colour.cpp index 5c3e41d015..9ac38bff4b 100644 --- a/src/gtk1/colour.cpp +++ b/src/gtk1/colour.cpp @@ -133,7 +133,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject) wxColour::wxColour() { - m_refData = new wxColourRefData(); } wxColour::wxColour( unsigned char red, unsigned char green, unsigned char blue )