Some little tweaks...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,7 +39,8 @@ elif [ "$1" = "d" ]; then
|
|||||||
# "t" --> touch *.i files
|
# "t" --> touch *.i files
|
||||||
elif [ "$1" = "t" ]; then
|
elif [ "$1" = "t" ]; then
|
||||||
shift
|
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
|
# "i" --> install
|
||||||
elif [ "$1" = "i" ]; then
|
elif [ "$1" = "i" ]; then
|
||||||
@@ -110,7 +111,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo $CMD
|
echo $CMD
|
||||||
$CMD
|
eval $CMD
|
||||||
|
|
||||||
|
|
||||||
if [ "$OTHERCMD" != "" ]; then
|
if [ "$OTHERCMD" != "" ]; then
|
||||||
|
@@ -108,7 +108,11 @@ def runTest(frame, nb, log):
|
|||||||
h = nb.GetClientSize().height
|
h = nb.GetClientSize().height
|
||||||
if w < 300: w = 300
|
if w < 300: w = 300
|
||||||
if h < 300: h = 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
|
return win
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
@@ -122,6 +122,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
|
|||||||
self.list.InsertColumnInfo(2, info)
|
self.list.InsertColumnInfo(2, info)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
items = musicdata.items()
|
items = musicdata.items()
|
||||||
for x in range(len(items)):
|
for x in range(len(items)):
|
||||||
key, data = items[x]
|
key, data = items[x]
|
||||||
@@ -138,6 +139,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
|
|||||||
|
|
||||||
self.list.SetColumnWidth(0, wxLIST_AUTOSIZE)
|
self.list.SetColumnWidth(0, wxLIST_AUTOSIZE)
|
||||||
self.list.SetColumnWidth(1, wxLIST_AUTOSIZE)
|
self.list.SetColumnWidth(1, wxLIST_AUTOSIZE)
|
||||||
|
self.list.SetColumnWidth(2, 100)
|
||||||
|
|
||||||
# show how to select an item
|
# show how to select an item
|
||||||
self.list.SetItemState(5, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED)
|
self.list.SetItemState(5, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED)
|
||||||
|
Reference in New Issue
Block a user