]> git.saurik.com Git - wxWidgets.git/commitdiff
Normal wxWindow::Close() behavior
authorDavid Elliott <dfe@tgwbd.org>
Wed, 20 Aug 2003 13:37:46 +0000 (13:37 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 20 Aug 2003 13:37:46 +0000 (13:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/window.mm

index dd2e272a75232a363c5291875d40eb3e6ec2534b..759671ac120f24c1402104c3f716e6185fbc54f9 100644 (file)
@@ -409,7 +409,9 @@ void wxWindowCocoa::Cocoa_FrameChanged(void)
 
 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)