// the same native GDI object
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_FWD_CORE wxGDIRefData : public wxObjectRefData
+class WXDLLIMPEXP_CORE wxGDIRefData : public wxObjectRefData
{
public:
// override this in the derived classes to check if this data object is
{
public:
// checks if the object can be used
- bool IsOk() const
+ virtual bool IsOk() const
{
// the cast here is safe because the derived classes always create
// wxGDIRefData objects