m_join = wxJOIN_ROUND ;
m_cap = wxCAP_ROUND ;
m_nbDash = 0 ;
- m_dash = 0 ;
+ m_dash = (wxMSWDash*)NULL;
m_hPen = 0;
}
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 = (wxMSWDash*)NULL;
M_PENDATA->m_hPen = 0 ;
#ifndef __WIN32__
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 = (wxMSWDash*)NULL;
M_PENDATA->m_hPen = 0 ;
RealizeResource();
logb.lbColor = ms_colour;
- wxDash *real_dash;
+ wxMSWDash *real_dash;
if (M_PENDATA->m_style==wxUSER_DASH && M_PENDATA->m_nbDash && M_PENDATA->m_dash)
{
- real_dash = new wxDash[M_PENDATA->m_nbDash];
+ real_dash = new wxMSWDash[M_PENDATA->m_nbDash];
int i;
for (i=0; i<M_PENDATA->m_nbDash; i++)
- real_dash[i] = M_PENDATA->m_dash[i] * M_PENDATA->m_width;
+ real_dash[i] = M_PENDATA->m_dash[i] * M_PENDATA->m_width;
}
else
{
- real_dash = 0;
+ real_dash = (wxMSWDash*)NULL;
}
// Win32s doesn't have ExtCreatePen function...
M_PENDATA->m_style==wxUSER_DASH
? M_PENDATA->m_nbDash
: 0,
- (const DWORD*)real_dash );
+ real_dash );
}
else
{
Unshare();
M_PENDATA->m_nbDash = nb_dashes;
- M_PENDATA->m_dash = (wxDash *)Dash;
+ M_PENDATA->m_dash = (wxMSWDash *)Dash;
RealizeResource();
}