Implement wxTopLevelWindow::EnableCloseButton() for wxOSX

Just forward this wx method to Cocoa standardWindowButton:NSWindowCloseButton.

See #17133
This commit is contained in:
John Roberts
2015-09-06 14:12:16 +02:00
committed by Vadim Zeitlin
parent 8d6a2b3921
commit 6055d8d0a5
7 changed files with 26 additions and 2 deletions

View File

@@ -142,8 +142,6 @@ public:
corner of a dialog) and the Close entry of the system menu (most often
in the left upper corner of the dialog).
Currently only implemented for wxMSW and wxGTK.
Returns @true if operation was successful. This may be wrong on X11
(including GTK+) where the window manager may not support this operation
and there is no way to find out.