# "t" --> touch *.i files
elif [ "$1" = "t" ]; then
shift
- CMD="set CMD=touch src\*.i; touch contrib\glcanvas\*.i; touch contrib\ogl\*.i; touch contrib\stc\*.i"
+ #CMD="set CMD=touch src\*.i; touch contrib\glcanvas\*.i; touch contrib\ogl\*.i; touch contrib\stc\*.i"
+ CMD='find . -name "*.i" | xargs -l touch'
# "i" --> install
elif [ "$1" = "i" ]; then
echo $CMD
-$CMD
+eval $CMD
if [ "$OTHERCMD" != "" ]; then
h = nb.GetClientSize().height
if w < 300: w = 300
if h < 300: h = 300
- win = TestPanel(nb, wxSize(w, h), log)
+ win = wxPanel(nb, -1)
+ tp = TestPanel(win, wxSize(w, h), log)
+ def OnPanelSize(evt, tp=tp):
+ tp.SetSize(evt.GetSize())
+ EVT_SIZE(win, OnPanelSize)
return win
#----------------------------------------------------------------------
self.list.InsertColumnInfo(2, info)
+
items = musicdata.items()
for x in range(len(items)):
key, data = items[x]
self.list.SetColumnWidth(0, wxLIST_AUTOSIZE)
self.list.SetColumnWidth(1, wxLIST_AUTOSIZE)
+ self.list.SetColumnWidth(2, 100)
# show how to select an item
self.list.SetItemState(5, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED)