X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..b81abd0d1d0fcde8db54f8c5e736b2b9daaf2ea0:/src/stubs/pen.cpp diff --git a/src/stubs/pen.cpp b/src/stubs/pen.cpp index 2502b392fb..ff76f284a4 100644 --- a/src/stubs/pen.cpp +++ b/src/stubs/pen.cpp @@ -26,7 +26,7 @@ wxPenRefData::wxPenRefData() m_join = wxJOIN_ROUND ; m_cap = wxCAP_ROUND ; m_nbDash = 0 ; - m_dash = 0 ; + m_dash = (wxXSTUBXDash*)NULL; /* TODO: null data m_hPen = 0; */ @@ -76,7 +76,7 @@ wxPen::wxPen(const wxColour& col, int Width, int Style) M_PENDATA->m_join = wxJOIN_ROUND ; M_PENDATA->m_cap = wxCAP_ROUND ; M_PENDATA->m_nbDash = 0 ; - M_PENDATA->m_dash = 0 ; + M_PENDATA->m_dash = (wxXSTUBXDash*)NULL; RealizeResource(); @@ -94,7 +94,7 @@ wxPen::wxPen(const wxBitmap& stipple, int Width) M_PENDATA->m_join = wxJOIN_ROUND ; M_PENDATA->m_cap = wxCAP_ROUND ; M_PENDATA->m_nbDash = 0 ; - M_PENDATA->m_dash = 0 ; + M_PENDATA->m_dash = (wxXSTUBXDash*)NULL; RealizeResource(); @@ -168,7 +168,7 @@ void wxPen::SetDashes(int nb_dashes, const wxDash *Dash) Unshare(); M_PENDATA->m_nbDash = nb_dashes; - M_PENDATA->m_dash = (wxDash *)Dash; + M_PENDATA->m_dash = (wxXSTUBXDash*)Dash; RealizeResource(); }