projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put a humane end to the pathetic flailing over whether this can
[wxWidgets.git]
/
include
/
wx
/
init.h
diff --git
a/include/wx/init.h
b/include/wx/init.h
index 6f7894eb42d9ece98e28f9aa4d7d10f0d7812365..7cdcda57f8b49014ca14f98f351375f24e0ef971 100644
(file)
--- 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 <vadim@wxwidgets.org>
// Created: 29.06.2003
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_INIT_H_
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_INIT_H_
@@
-72,7
+72,10
@@
class WXDLLIMPEXP_BASE wxInitializer
{
public:
// initialize the library
{
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; }
// has the initialization been successful? (explicit test)
bool IsOk() const { return m_ok; }