]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/region.cpp
A few tweaks and cleanups
[wxWidgets.git] / src / msw / region.cpp
index d0336daaff5599ea84e01de4e487ef594a92951c..ec84dd0205736ca03ebbc3742d4957689b8c1706 100644 (file)
@@ -119,20 +119,17 @@ wxRegion::wxRegion(size_t n, const wxPoint *points, int fillStyle)
 #endif
 }
 
-/*
- * Destroy the region.
- */
 wxRegion::~wxRegion()
 {
     // m_refData unrefed in ~wxObject
 }
 
-wxObjectRefData *wxRegion::CreateData() const
+wxObjectRefData *wxRegion::CreateRefData() const
 {
     return new wxRegionRefData;
 }
 
-wxObjectRefData *wxRegion::CloneData(wxObjectRefData *data) const
+wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const
 {
     return new wxRegionRefData(*(wxRegionRefData *)data);
 }