Add wxACCEL_CMD, move constants to _accel.i

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-08-29 18:53:10 +00:00
parent da14a87dee
commit 1cc14cea1c
2 changed files with 16 additions and 8 deletions

View File

@@ -158,6 +158,11 @@ typedef unsigned long wxUIntPtr;
%typemap(constcode) wxEventType "PyDict_SetItemString(d, \"$symname\", PyInt_FromLong($value));";
%define %property(NAME, STUFF...)
%pythoncode {
NAME = property(STUFF)
}
%enddef
//----------------------------------------------------------------------
// Macros for the docstring and autodoc features of SWIG. These will
@@ -687,11 +692,6 @@ enum {
wxID_HIGHEST,
wxACCEL_ALT,
wxACCEL_CTRL,
wxACCEL_SHIFT,
wxACCEL_NORMAL,
wxPD_AUTO_HIDE,
wxPD_APP_MODAL,
wxPD_CAN_ABORT,