]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/pen.h
added methods for sequential scan of wxTextFile: Get{First|Next|Prev|Last}Line
[wxWidgets.git] / include / wx / motif / pen.h
index ea8e8079fb988ec331701022c75971c16425dca7..e8ac082a8096bd26f33fd59a02922372557c0390 100644 (file)
@@ -20,7 +20,7 @@
 #include "wx/colour.h"
 #include "wx/bitmap.h"
 
-typedef    long wxDash ;
+typedef    char wxDash ;
 
 class WXDLLEXPORT wxPen;
 
@@ -41,9 +41,6 @@ protected:
   int           m_nbDash ;
   wxDash *      m_dash ;
   wxColour      m_colour;
-/* TODO: implementation
-  WXHPEN        m_hPen;
-*/
 };
 
 #define M_PENDATA ((wxPenRefData *)m_refData)
@@ -87,6 +84,8 @@ public:
   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); };