#include "wx/colour.h"
#include "wx/bitmap.h"
-typedef long wxDash ;
+typedef char wxDash ;
class WXDLLEXPORT wxPen;
int m_nbDash ;
wxDash * m_dash ;
wxColour m_colour;
-/* TODO: implementation
- WXHPEN m_hPen;
-*/
};
#define M_PENDATA ((wxPenRefData *)m_refData)
inline int GetDashes(wxDash **ptr) const {
*ptr = (M_PENDATA ? M_PENDATA->m_dash : (wxDash*) NULL); return (M_PENDATA ? M_PENDATA->m_nbDash : 0);
}
+ inline int GetDashCount() const { return (M_PENDATA->m_nbDash); }
+ inline wxDash* GetDash() const { return (M_PENDATA->m_dash); }
inline wxBitmap *GetStipple() const { return (M_PENDATA ? (& M_PENDATA->m_stipple) : (wxBitmap*) NULL); };