#ifndef _WX_INIT_H_
#define _WX_INIT_H_
-#include "wx/wxchar.h"
+#include "wx/defs.h"
+#include "wx/chartype.h"
// ----------------------------------------------------------------------------
// wxEntry helper functions which allow to have more fine grained control
{
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; }