From b3730a59c634c207eb78122f731892b1f0733c64 Mon Sep 17 00:00:00 2001 From: Dummy Date: Wed, 29 Apr 2020 15:46:47 +0200 Subject: [PATCH] Document default value for wxDialog::Show() parameter correctly It's "true", not "1". See #18743. --- interface/wx/dialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/dialog.h b/interface/wx/dialog.h index 513a4c5591..a15c842f10 100644 --- a/interface/wx/dialog.h +++ b/interface/wx/dialog.h @@ -581,7 +581,7 @@ public: otherwise the box is hidden. If @false and the dialog is modal, control is returned to the calling program. */ - virtual bool Show(bool show = 1); + virtual bool Show(bool show = true); /** Shows an application-modal dialog.