]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/sizers.i
Did splitting of wxEntry for wxMSW. Not nearly as complex as wxGTK
[wxWidgets.git] / utils / wxPython / src / sizers.i
index cc9dfca159effdef3d059c970bd8fc0379791719..341e1cdb045af4fb7e34241d9dbebe7b6b201781 100644 (file)
@@ -6,7 +6,7 @@
 //
 // Created:     18-Sept-1999
 // RCS-ID:      $Id$
-// Copyright:   (c) 1998 by Total Control Software
+// Copyright:   (c) 1999 by Total Control Software
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
 
 //---------------------------------------------------------------------------
 
-%{
-class wxPyUserData : public wxObject {
-public:
-    wxPyUserData(PyObject* obj) { m_obj = obj; Py_INCREF(m_obj); }
-    ~wxPyUserData() {
-        bool doSave = wxPyRestoreThread();
-        Py_DECREF(m_obj);
-        wxPySaveThread(doSave);
-    }
-    PyObject* m_obj;
-};
-%}
-
-//---------------------------------------------------------------------------
 
 class wxSizerItem {
 public:
@@ -69,6 +55,11 @@ public:
     int GetFlag();
     int GetBorder();
 
+    void SetInitSize( int x, int y );
+    void SetOption( int option );
+    void SetFlag( int flag );
+    void SetBorder( int border );
+
     // wxObject* GetUserData();
     %addmethods {
         // Assume that the user data is a wxPyUserData object and return the contents