#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);
// Useful helper: create the brush resource
bool RealizeResource();
-protected:
- virtual wxObjectRefData* CreateRefData() const;
- virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
+private:
+ void Unshare();
};
#endif