#include "wx/colour.h"
#include "wx/bitmap.h"
-class WXDLLEXPORT wxPen;
+class WXDLLIMPEXP_FWD_CORE wxPen;
class WXDLLEXPORT wxPenRefData: public wxGDIRefData
{
- friend class WXDLLEXPORT wxPen;
+ friend class WXDLLIMPEXP_FWD_CORE wxPen;
public:
wxPenRefData();
wxPenRefData(const wxPenRefData& data);
}
protected:
- virtual wxObjectRefData* CreateRefData() const;
- virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
-
int m_width;
int m_style;
int m_join ;
// Useful helper: create the brush resource
bool RealizeResource();
- // When setting properties, we must make sure we're not changing
- // another object
- void Unshare();
+private:
+ void Unshare();
};
#endif