//
// 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:
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