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:
@@ -72,7 +72,10 @@ class WXDLLIMPEXP_BASE wxInitializer
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// initialize the library
|
// 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)
|
// has the initialization been successful? (explicit test)
|
||||||
bool IsOk() const { return m_ok; }
|
bool IsOk() const { return m_ok; }
|
||||||
|
Reference in New Issue
Block a user