X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d6a2f1d783eeda7534ab58dee3fbcdcd062e067..909b16f6294d47cae7be032cd2bcab6874ad31af:/wxPython/src/_defs.i diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 7e75d49c80..1e1dfc9fb2 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -31,6 +31,10 @@ %feature("nodefaultdtor"); #endif +// For all items that don't have a %rename already, give them a %rename that +// removes the leading 'wx' (except for wxEVT_* items.) +%rename("%(wxpy)s") ""; + // For now, just supress the warning about using Python keywords as parameter // names. Will need to come back later and correct these rather than just // hide them... @@ -486,6 +490,8 @@ enum { wxCLIP_CHILDREN, wxCLIP_SIBLINGS, + wxWINDOW_STYLE_MASK, + wxALWAYS_SHOW_SB, wxRETAINED, @@ -675,14 +681,6 @@ enum { wxID_HIGHEST, - wxOPEN, - wxSAVE, - wxHIDE_READONLY, - wxOVERWRITE_PROMPT, - wxFILE_MUST_EXIST, - wxMULTIPLE, - wxCHANGE_DIR, - wxACCEL_ALT, wxACCEL_CTRL, wxACCEL_SHIFT, @@ -697,9 +695,6 @@ enum { wxPD_SMOOTH, wxPD_CAN_SKIP, - wxDD_NEW_DIR_BUTTON, - wxDD_DEFAULT_STYLE, - wxMENU_TEAROFF, wxMB_DOCKABLE, wxNO_FULL_REPAINT_ON_RESIZE,