X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af309447ff8413abd2fa5e9cc780fcef1c891f87..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/wxPython/src/controls2.i diff --git a/utils/wxPython/src/controls2.i b/utils/wxPython/src/controls2.i index 78f4ad82be..db89aaf1ce 100644 --- a/utils/wxPython/src/controls2.i +++ b/utils/wxPython/src/controls2.i @@ -155,8 +155,9 @@ public: long GetItemData(long item); %addmethods { - %new wxListItem* GetItem() { + %new wxListItem* GetItem(long itemId) { wxListItem* info = new wxListItem; + info->m_itemId = itemId; self->GetItem(*info); return info; } @@ -186,7 +187,7 @@ public: #endif long GetTopItem(); long HitTest(const wxPoint& point, int& OUTPUT); - %name(InsertColumnWithInfo)long InsertColumn(long col, wxListItem& info); + %name(InsertColumnWith)long InsertColumn(long col, wxListItem& info); long InsertColumn(long col, const wxString& heading, int format = wxLIST_FORMAT_LEFT, int width = -1); @@ -228,9 +229,6 @@ public: ~wxTreeItemId(); bool IsOk() const { return m_itemId != 0; } -// %addmethods { -// long GetId() { return (long)(*self); } -// } }; @@ -419,6 +417,9 @@ public: ///////////////////////////////////////////////////////////////////////////// // // $Log$ +// Revision 1.16 1999/02/25 07:08:32 RD +// wxPython version 2.0b5 +// // Revision 1.15 1999/02/20 09:02:56 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,