// Created: 29.06.2003
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_INIT_H_
#define _WX_INIT_H_
+#include "wx/defs.h"
#include "wx/wxchar.h"
// ----------------------------------------------------------------------------
{
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; }