From 31c2bd7aa3c00876474834423c02fcb26956ed67 Mon Sep 17 00:00:00 2001 From: Liam Treacy Date: Tue, 22 Jan 2019 11:06:30 +0000 Subject: [PATCH] Add default parameter to wxDialog::Show() in wxQt Closes https://github.com/wxWidgets/wxWidgets/pull/1164 --- include/wx/qt/dialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/qt/dialog.h b/include/wx/qt/dialog.h index 8bd995d906..288e1b3ed2 100644 --- a/include/wx/qt/dialog.h +++ b/include/wx/qt/dialog.h @@ -34,7 +34,7 @@ public: virtual int ShowModal() wxOVERRIDE; virtual void EndModal(int retCode) wxOVERRIDE; virtual bool IsModal() const wxOVERRIDE; - virtual bool Show(bool show) wxOVERRIDE; + virtual bool Show(bool show = true) wxOVERRIDE; QDialog *GetDialogHandle() const;