- // implement the wxObject method in terms of our, more specific, one
- virtual wxObjectRefData *CreateRefData() const { return CreateData(); }
+ // implement the wxGDIObject method in terms of our, more specific, one
+ virtual wxGDIRefData *CreateGDIRefData() const { return CreateData(); }
+
+ // we can't [efficiently] clone objects of this class
+ virtual wxGDIRefData *
+ CloneGDIRefData(const wxGDIRefData *WXUNUSED(data)) const
+ {
+ wxFAIL_MSG( _T("must be implemented if used") );
+
+ return NULL;
+ }