Normal wxWindow::Close() behavior

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-08-20 13:37:46 +00:00
parent 4c15b7aff2
commit cc6f960f49

View File

@@ -409,7 +409,9 @@ void wxWindowCocoa::Cocoa_FrameChanged(void)
bool wxWindow::Close(bool force) bool wxWindow::Close(bool force)
{ {
return false; // The only reason this function exists is that it is virtual and
// wxTopLevelWindowCocoa will override it.
return wxWindowBase::Close(force);
} }
void wxWindow::CocoaReplaceView(WX_NSView oldView, WX_NSView newView) void wxWindow::CocoaReplaceView(WX_NSView oldView, WX_NSView newView)