-
- wxPenRefData();
- wxPenRefData( const wxPenRefData& data );
-
- int m_width;
- int m_style;
- int m_joinStyle;
- int m_capStyle;
- wxColour m_colour;
- int m_countDashes;
- wxDash *m_dash;
-};
-
-wxPenRefData::wxPenRefData()
-{
- m_width = 1;
- m_style = wxSOLID;
- m_joinStyle = wxJOIN_ROUND;
- m_capStyle = wxCAP_ROUND;
- m_dash = (wxDash*) NULL;
- m_countDashes = 0;
-}
-
-wxPenRefData::wxPenRefData( const wxPenRefData& data )
-{
- m_style = data.m_style;
- m_width = data.m_width;
- m_joinStyle = data.m_joinStyle;
- m_capStyle = data.m_capStyle;
- m_colour = data.m_colour;
- m_countDashes = data.m_countDashes;
+ wxPenRefData()
+ {
+ m_width = 1;
+ m_style = wxSOLID;
+ m_joinStyle = wxJOIN_ROUND;
+ m_capStyle = wxCAP_ROUND;
+ m_dash = (wxGTKDash*) NULL;
+ m_countDashes = 0;
+ }
+
+ wxPenRefData( const wxPenRefData& data )
+ : wxObjectRefData()
+ {
+ m_style = data.m_style;
+ m_width = data.m_width;
+ m_joinStyle = data.m_joinStyle;
+ m_capStyle = data.m_capStyle;
+ m_colour = data.m_colour;
+ m_countDashes = data.m_countDashes;