From 55f80941bfb3dbe8f867a8a31c32f27ee11cd485 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Fri, 4 Sep 2020 18:22:14 +0100 Subject: [PATCH] Mention that wxFD_OVERWRITE_PROMPT is always enabled on OSX This style is ignored on OSX because there is no way to disable the overwrite prompt from showing. Fixes #13541 --- interface/wx/filedlg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/wx/filedlg.h b/interface/wx/filedlg.h index abb4a20556..3be2c15429 100644 --- a/interface/wx/filedlg.h +++ b/interface/wx/filedlg.h @@ -133,6 +133,7 @@ const char wxFileSelectorDefaultWildcardStr[]; @style{wxFD_OVERWRITE_PROMPT} For save dialog only: prompt for a confirmation if a file will be overwritten. + This style is always enabled on wxOSX and cannot be disabled. @style{wxFD_NO_FOLLOW} Directs the dialog to return the path and file name of the selected shortcut file, not its target as it does by default. Currently this