]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/utils.i
* wxStream fixes (integer/line parsing).
[wxWidgets.git] / utils / wxPython / src / utils.i
index 747df35a9f7a9654873cc8dcfe0b03618385cb8d..d3c46612ca7ce444d72bab9d828b2695f8ea6656 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        utils.i
-// Purpose:     SWIG definitions of various utility classes classes
+// Purpose:     SWIG definitions of various utility classes
 //
 // Author:      Robin Dunn
 //
 %include my_typemaps.i
 
 
-#ifdef SEPARATE
 %{
-    static wxString wxPyEmptyStr("");
-%}
+#ifdef SEPARATE
+    wxString wxPyEmptyStr("");
 #endif
+%}
 
 
 %{
@@ -54,11 +54,6 @@ public:
              long style = 0);
     ~wxConfig();
 
-    //static wxConfigBase * Create();
-    //static wxConfigBase * Get();
-    //static wxConfigBase * Set(wxConfigBase *pConfig);
-
-
 
     void DontCreateOnDemand();
     bool DeleteAll();  // This is supposed to have been fixed...
@@ -121,11 +116,9 @@ public:
     %name(ReadInt)long Read(const wxString& key, long defaultVal = 0);
     %name(ReadFloat)double Read(const wxString& key, double defaultVal = 0.0);
 
-    void SetAppName(const wxString& appName);
     void SetExpandEnvVars (bool bDoIt = TRUE);
     void SetPath(const wxString& strPath);
     void SetRecordDefaults(bool bDoIt = TRUE);
-    void SetVendorName(const wxString& vendorName);
 
     bool Write(const wxString& key, const wxString& value);
     %name(WriteInt)bool Write(const wxString& key, long value);
@@ -135,37 +128,12 @@ public:
 
 
 //---------------------------------------------------------------------------
-/////////////////////////////////////////////////////////////////////////////
-//
-// $Log$
-// Revision 1.2  1999/02/20 09:03:02  RD
-// Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
-// window handle.  If you can get the window handle into the python code,
-// it should just work...  More news on this later.
-//
-// Added wxImageList, wxToolTip.
-//
-// Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
-// wxRegConfig class.
-//
-// As usual, some bug fixes, tweaks, etc.
-//
-// Revision 1.1  1998/12/15 20:41:23  RD
-// Changed the import semantics from "from wxPython import *" to "from
-// wxPython.wx import *"  This is for people who are worried about
-// namespace pollution, they can use "from wxPython import wx" and then
-// prefix all the wxPython identifiers with "wx."
-//
-// Added wxTaskbarIcon for wxMSW.
-//
-// Made the events work for wxGrid.
-//
-// Added wxConfig.
-//
-// Added wxMiniFrame for wxGTK, (untested.)
-//
-// Changed many of the args and return values that were pointers to gdi
-// objects to references to reflect changes in the wxWindows API.
-//
-// Other assorted fixes and additions.
-//
+
+%init %{
+
+    wxClassInfo::CleanUpClasses();
+    wxClassInfo::InitializeClasses();
+
+%}
+
+//---------------------------------------------------------------------------