#endif
#include "wx/gdiobj.h"
+#include "wx/colour.h"
+#include "wx/bitmap.h"
-typedef WXDWORD wxDash ;
+typedef long wxDash ;
class WXDLLEXPORT wxPen;
friend class WXDLLEXPORT wxPen;
public:
wxPenRefData();
+ wxPenRefData(const wxPenRefData& data);
~wxPenRefData();
protected:
}
inline wxBitmap *GetStipple() const { return (M_PENDATA ? (& M_PENDATA->m_stipple) : NULL); };
+
+// Implementation
+
+ // Useful helper: create the brush resource
+ bool RealizeResource();
+
+ // When setting properties, we must make sure we're not changing
+ // another object
+ void Unshare();
};
#endif