//---------------------------------------------------------------------------
-%{
-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