Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-28 11:50:06 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-28 11:54:17 +0300
commit4bd5b824b08823d2ed26161a7260672411efddd2 (patch)
tree0c4009c1d8770ae1c4e9dca1fac81ebcf36bdaa2 /intern/ghost/intern/GHOST_SystemCocoa.h
parentbe587d76efff6610f3b6d65cf42f1ee31ec3bdee (diff)
Fix missing confirm quit dialog on macOS, after recent changes.
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemCocoa.h')
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.h b/intern/ghost/intern/GHOST_SystemCocoa.h
index 6802ad42c7b..605643c20a5 100644
--- a/intern/ghost/intern/GHOST_SystemCocoa.h
+++ b/intern/ghost/intern/GHOST_SystemCocoa.h
@@ -261,6 +261,11 @@ public:
*/
GHOST_TSuccess handleKeyEvent(void *eventPtr);
+ /**
+ * Informs if the system provides native dialogs (eg. confirm quit)
+ */
+ virtual bool supportsNativeDialogs(void);
+
protected:
/**
* Initializes the system.