X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..248eaddf7a14cefa161d514763e8fefb8d6f2f79:/include/wx/init.h diff --git a/include/wx/init.h b/include/wx/init.h index 6f7894eb42..7cdcda57f8 100644 --- a/include/wx/init.h +++ b/include/wx/init.h @@ -6,7 +6,7 @@ // Created: 29.06.2003 // RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _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; }