]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/weakref.h
Add wxCocoa to the list of ports which don't need wxColour to derive from wxGDIObject.
[wxWidgets.git] / include / wx / weakref.h
index 4af0b2525a17216f2288014434ef02a8d976c431..73dcf5cdcab266f53488d00a910ee9c51520a3af 100644 (file)
@@ -59,7 +59,7 @@ protected:
         }
     }
 
-    void AssignCopy( const wxWeakRefStatic& wr )
+    void AssignCopy(const wxWeakRefStatic& wr)
     {
         Assign( wr.m_pobj );
     }
@@ -139,7 +139,7 @@ protected:
 
     void AssignCopy(const wxWeakRefImpl& wr)
     {
-        DoAssign( wr.m_pobj, wr.m_ptbase );
+        DoAssign(wr.m_pobj, wr.m_ptbase);
     }
 
     void DoAssign( T* pobj, wxTrackable *ptbase ) {
@@ -220,7 +220,7 @@ public:
 
 // Weak ref implementation assign objects are queried for wxTrackable
 // using dynamic_cast<>
-template<class T>
+template <class T>
 class wxWeakRefDynamic : public wxTrackerNode
 {
 public:
@@ -293,11 +293,6 @@ protected:
         }
     }
 
-    void AssignCopy(const wxWeakRefDynamic& wr)
-    {
-        Assign(wr.m_pobj);
-    }
-
     virtual void OnObjectDestroy()
     {
         wxASSERT_MSG( m_pobj, "tracked object should have removed us itself" );