put refdata virtuals in the right class this time

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-03-11 16:46:24 +00:00
parent 31002e44b5
commit 92f4e151a6

View File

@@ -43,9 +43,6 @@ public:
} }
protected: protected:
virtual wxObjectRefData* CreateRefData() const;
virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
int m_width; int m_width;
int m_style; int m_style;
int m_join ; int m_join ;
@@ -111,9 +108,9 @@ public:
// Useful helper: create the brush resource // Useful helper: create the brush resource
bool RealizeResource(); bool RealizeResource();
// When setting properties, we must make sure we're not changing protected:
// another object virtual wxObjectRefData* CreateRefData() const;
void Unshare(); virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
}; };
#endif #endif