Converted the main demo framework files to the new namespace, (none of

the actual samples yet except NewNamespace...)
Added the GridDragAndDrop sample
Fixed the NewNamespace sample to actually have something to display


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-06-05 23:18:16 +00:00
parent 0e8922d54e
commit 46ddee38b0
10 changed files with 614 additions and 260 deletions

View File

@@ -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.
</ol>
<p>
You can also look at the <a href="data/grid.i">SWIG interface
file</a> used to generate the grid module for a lot more clues as to
how things work.
"""