From 76cebbff3537fea6a083ec534624dc765595e679 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Jan 2005 00:13:39 +0000 Subject: [PATCH] added argc and argv arguments to wxInitializer ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/init.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wx/init.h b/include/wx/init.h index a30de75228..7cdcda57f8 100644 --- a/include/wx/init.h +++ b/include/wx/init.h @@ -72,7 +72,10 @@ class WXDLLIMPEXP_BASE wxInitializer { public: // initialize the library - wxInitializer() { m_ok = wxInitialize(); } + wxInitializer(int argc = 0, wxChar **argv = NULL) + { + m_ok = wxInitialize(argc, argv); + } // has the initialization been successful? (explicit test) bool IsOk() const { return m_ok; } -- 2.50.0