]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/init.h
added more HP-UX charset names
[wxWidgets.git] / include / wx / init.h
index a30de7522871f35b0448a8a2c78412821b981a64..7cdcda57f8b49014ca14f98f351375f24e0ef971 100644 (file)
@@ -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; }