Some tweaks and cleanup.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-04-30 18:37:26 +00:00
parent ed1ae3fb27
commit 926bb76c2a
14 changed files with 1009 additions and 44 deletions

View File

@@ -71,12 +71,16 @@ public:
&wxPyCallback::EventThunker);
}
// This really belongs in the wxObject base class. It's probably
// time to actually add it...
const char* GetClassName() {
return self->GetClassInfo()->GetClassName();
}
}
%pragma(python) addtoclass = "
_prop_list_ = {}
"
// %pragma(python) addtoclass = "
// _prop_list_ = {}
// "
// %pragma(python) addtoclass = "
// def __getattr__(self, name):
// pl = self._prop_list_
@@ -604,7 +608,7 @@ public:
void Append(int id, const wxString& item,
const wxString& helpString = wxPyEmptyStr,
bool checkable = FALSE);
int checkable = FALSE);
%name(AppendMenu)void Append(int id, const wxString& item, wxMenu *subMenu,
const wxString& helpString = wxPyEmptyStr);
%name(AppendItem)void Append(const wxMenuItem* item);