]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toolbar.cpp
Document wxBitmapToggleButton, add update UI event in Base class for all toggle buttons
[wxWidgets.git] / src / mac / carbon / toolbar.cpp
index 175ccb4872770cfd163c34104884421333a9eb47..168d34321321ef4572a6ff19e2803835b8a3bfc7 100644 (file)
@@ -108,9 +108,8 @@ public:
                 DisposeControl( m_controlHandle );
             else
             {
-                // the embedded control is not under the responsibility of the tool, it will be disposed of in the
+                // the embedded control is not under the responsibility of the tool, it gets disposed of in the
                 // proper wxControl destructor
-                wxASSERT( IsValidControlHandle(GetControl()->GetPeer()->GetControlRef() )) ;
             }
             m_controlHandle = NULL ;
         }