More forward-ported wxPython-bindings related cleanup from 2.9.0 branch, also documented wxPGProperty::GetItemAtY()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-05-30 11:20:35 +00:00
parent b512ed9320
commit 14bac4b5b9
6 changed files with 24 additions and 305 deletions

View File

@@ -583,30 +583,10 @@ class WXDLLIMPEXP_PROPGRID
friend class wxPropertyGridManager;
friend class wxPGCanvas;
#ifndef SWIG
DECLARE_DYNAMIC_CLASS(wxPropertyGrid)
#endif
public:
#ifdef SWIG
%pythonAppend wxPropertyGrid {
self._setOORInfo(self)
self.DoDefaultTypeMappings()
self.edited_objects = {}
self.DoDefaultValueTypeMappings()
if not hasattr(self.__class__,'_vt2setter'):
self.__class__._vt2setter = {}
}
%pythonAppend wxPropertyGrid() ""
wxPropertyGrid( wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxPG_DEFAULT_STYLE,
const wxChar* name = wxPyPropertyGridNameStr );
%RenameCtor(PrePropertyGrid, wxPropertyGrid());
#else
#ifndef SWIG
/**
Two step constructor.
@@ -614,6 +594,7 @@ public:
wxPropertyGrid
*/
wxPropertyGrid();
#endif
/** The default constructor. The styles to be used are styles valid for
the wxWindow and wxScrolledWindow.
@@ -628,7 +609,6 @@ public:
/** Destructor */
virtual ~wxPropertyGrid();
#endif
/** Adds given key combination to trigger given action.