projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't remember size passed to SetSize() as pending position/size for TLW as deferred...
[wxWidgets.git]
/
include
/
wx
/
init.h
diff --git
a/include/wx/init.h
b/include/wx/init.h
index a30de7522871f35b0448a8a2c78412821b981a64..7cdcda57f8b49014ca14f98f351375f24e0ef971 100644
(file)
--- a/
include/wx/init.h
+++ b/
include/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; }