]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/window.h
fixed typo in wxString::swap() which was completely broken
[wxWidgets.git] / include / wx / mac / window.h
index c5fb27507f6dffec2ea7986cbef5281bdc5b55bb..8ab6a1c366465c4bb1b0fa0788a4ad912d26fc91 100644 (file)
@@ -210,7 +210,8 @@ public :
        virtual bool                                            MacCanFocus() const { return true ; }
 
        virtual bool                                            MacDispatchMouseEvent(wxMouseEvent& event ) ;
-
+       // this should not be overriden in classes above wxWindowMac because it is called from its destructor via DeleteChildren
+  virtual void            RemoveChild( wxWindowBase *child );
        virtual void                                            MacPaintBorders( int left , int top ) ;
        WXWindow                                                    MacGetRootWindow() const  ;
        wxTopLevelWindowMac*                MacGetTopLevelWindow() const ;