X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..26b0b998042f7a87ebbf040c071b9748574290ba:/wxPython/demo/wxGrid.py diff --git a/wxPython/demo/wxGrid.py b/wxPython/demo/wxGrid.py index 365e0125e6..676be13eb5 100644 --- a/wxPython/demo/wxGrid.py +++ b/wxPython/demo/wxGrid.py @@ -11,6 +11,7 @@ buttonDefs = { 819 : ('GridEnterHandler',' Remapping keys to behave differently '), 820 : ('GridCustEditor', ' Shows how to create a custom Cell Editor '), 821 : ('GridDragable', ' A wxGrid with dragable rows and columns '), + 822 : ('GridDragAndDrop', 'Shows how to make a grid a drop target for files'), } @@ -26,7 +27,7 @@ class ButtonPanel(wxPanel): for k in keys: text = buttonDefs[k][1] btn = wxButton(self, k, text) - box.Add(btn, 0, wxALIGN_CENTER|wxALL, 15) + box.Add(btn, 0, wxALIGN_CENTER|wxALL, 10) EVT_BUTTON(self, k, self.OnButton) self.SetAutoLayout(True) @@ -94,9 +95,6 @@ changes how the ENTER key works, moving the current cell left to right and wrapping around to the next row when needed.

-You can also look at the SWIG interface -file used to generate the grid module for a lot more clues as to -how things work. """