Fixed some (out) typemaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -192,9 +192,15 @@ public:
|
||||
// wxListItem: the item or column info, used to exchange data with wxListCtrl
|
||||
class wxListItem : public wxObject {
|
||||
public:
|
||||
// turn off this typemap
|
||||
%typemap(out) wxListItem*;
|
||||
|
||||
wxListItem();
|
||||
~wxListItem();
|
||||
|
||||
// Turn it back on again
|
||||
%typemap(out) wxListItem* { $result = wxPyMake_wxObject($1, $owner); }
|
||||
|
||||
// resetting
|
||||
void Clear();
|
||||
void ClearAttributes();
|
||||
@@ -455,6 +461,8 @@ MustHaveApp(wxPyListCtrl);
|
||||
%rename(ListCtrl) wxPyListCtrl;
|
||||
class wxPyListCtrl : public wxControl {
|
||||
public:
|
||||
// turn off this typemap
|
||||
%typemap(out) wxPyListCtrl*;
|
||||
|
||||
%pythonAppend wxPyListCtrl "self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl)"
|
||||
%pythonAppend wxPyListCtrl() ""
|
||||
@@ -467,6 +475,9 @@ public:
|
||||
const wxString& name = wxPyListCtrlNameStr);
|
||||
%RenameCtor(PreListCtrl, wxPyListCtrl());
|
||||
|
||||
// Turn it back on again
|
||||
%typemap(out) wxPyListCtrl* { $result = wxPyMake_wxObject($1, $owner); }
|
||||
|
||||
bool Create(wxWindow* parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
|
Reference in New Issue
Block a user