X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73c5ed369625e01f374c3379ee28e0c027ba6eb6..2b07d7130880c63b7f7908606a10f885e2719efc:/utils/wxPython/src/_extras.py diff --git a/utils/wxPython/src/_extras.py b/utils/wxPython/src/_extras.py index 02b053f9c4..cb5bf56702 100644 --- a/utils/wxPython/src/_extras.py +++ b/utils/wxPython/src/_extras.py @@ -548,6 +548,15 @@ wxPyDefaultSize.Set(-1,-1) wxDefaultPosition = wxPyDefaultPosition wxDefaultSize = wxPyDefaultSize + +# This is to cover up a bug in SWIG. We are redefining +# the shadow class that is generated for wxAcceleratorTable +# because SWIG incorrectly uses "arg0.this" +class wxAcceleratorTable(wxAcceleratorTablePtr): + def __init__(self,arg0) : + self.this = miscc.new_wxAcceleratorTable(arg0) + self.thisown = 1 + #---------------------------------------------------------------------- ## class wxPyStdOutWindow(wxFrame): @@ -615,7 +624,20 @@ class wxApp(wxPyApp): #---------------------------------------------------------------------------- # # $Log$ +# Revision 1.11 1999/02/20 09:02:55 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, +# it should just work... More news on this later. +# +# Added wxImageList, wxToolTip. +# +# Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the +# wxRegConfig class. +# +# As usual, some bug fixes, tweaks, etc. +# # Revision 1.10 1999/02/01 00:10:39 RD +# # Added the missing EVT_LIST_ITEM_SELECTED and friends. # # Revision 1.9 1999/01/30 07:30:09 RD