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
This commit is contained in:
parent
297ebe6b97
commit
76cebbff35
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user