]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/brush.h
Switched to DECLARE_NO_COPY_CLASS
[wxWidgets.git] / include / wx / mgl / brush.h
index 5d12600bad1b903dc98b18c1b17e691468d8f484..2352b224427561fa7fa6e8f25d22482304a4a7d6 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -56,11 +56,14 @@ public:
     
     // implementation:
 
     
     // implementation:
 
-    void Unshare();
-    
     void* GetMaskPattern() const;
     void* GetPixPattern() const;
 
     void* GetMaskPattern() const;
     void* GetPixPattern() const;
 
+protected:
+    // ref counting code
+    virtual wxObjectRefData *CreateRefData() const;
+    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxBrush)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxBrush)
 };