X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..6433f6d3165a3f8633f42c59694a9104a7b37a93:/src/motif/pen.cpp diff --git a/src/motif/pen.cpp b/src/motif/pen.cpp index bb5ab62127..3163d410e4 100644 --- a/src/motif/pen.cpp +++ b/src/motif/pen.cpp @@ -26,7 +26,7 @@ wxPenRefData::wxPenRefData() m_join = wxJOIN_ROUND ; m_cap = wxCAP_ROUND ; m_nbDash = 0 ; - m_dash = 0 ; + m_dash = (wxMOTIFDash*)NULL; } wxPenRefData::wxPenRefData(const wxPenRefData& data) @@ -69,7 +69,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 = (wxMOTIFDash*)NULL; RealizeResource(); @@ -87,7 +87,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 = (wxMOTIFDash*)NULL; RealizeResource(); @@ -161,7 +161,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 = (wxMOTIFDash *)Dash; RealizeResource(); }