include demo/data/*.wav
include demo/data/*.wdr
include demo/data/*.xrc
+include demo/dllwidget/Makefile
+include demo/dllwidget/makefile.*
+include demo/dllwidget/*.cpp
+include demo/dllwidget/*.py
include samples/doodle/*.txt
include samples/doodle/*.py
include contrib/gizmos/*.h
include contrib/gizmos/contrib/include/wx/gizmos/*.h
include contrib/gizmos/contrib/src/gizmos/*.cpp
+include contrib/gizmos/contrib/src/gizmos/*.xpm
+include contrib/gizmos/contrib/src/gizmos/*.txt
include contrib/dllwidget/*.txt
include contrib/dllwidget/*.i
# "r" --> rpm dist
elif [ "$1" = "r" ]; then
WXPYVER=`python$PYVER -c "import setup;print setup.VERSION"`
- for VER in 15 20 21; do
+ for VER in 21 22; do
getpyver $VER
echo "*****************************************************************"
echo "******* Building wxPython for Python $PYVER"
echo "*****************************************************************"
- # NOTE: This assumes that /usr/local/bin is BEFORE /usr/bin on the PATH
- # AND that you have write access to it.
- rm -f /usr/local/bin/python
- ln -s /usr/bin/python$PYVER /usr/local/bin/python
- SETUP="/usr/local/bin/python -u setup.py"
+ SETUP="python$PYVER -u setup.py"
# save the original
cp setup.py setup.py.save
sed "s/GL_ONLY = /GL_ONLY = 1 #/" < setup.py.temp > setup.py
# build wxPython-gl RPM
- $SETUP $OTHERFLAGS bdist_rpm --binary-only --doc-files README.txt
+ $SETUP $OTHERFLAGS bdist_rpm --binary-only --doc-files README.txt --python=python$PYVER
+ ### --requires=python$PYVER
rm dist/wxPython-gl*.tar.gz
# Build wxPython RPM
cp setup.py setup.py.temp
sed "s/GL_ONLY = /GL_ONLY = 0 #/" < setup.py.temp > setup.py
- $SETUP $OTHERFLAGS bdist_rpm --binary-only
+ $SETUP $OTHERFLAGS bdist_rpm --binary-only --python=python$PYVER
+ ### --requires=python$PYVER
# put the oringal setup.py back
cp setup.py.save setup.py
mv dist/wxPython-gl-$WXPYVER-1.i386.rpm dist/wxPython-gl-$WXPYVER-1-Py$VER.i386.rpm
done
+
# rebuild the source dists without the munched up setup.py
- $SETUP $OTHERFLAGS sdist
$SETUP $OTHERFLAGS bdist_rpm --source-only
exit 0
def __init__(self, parent, ID, pos=wxDefaultPosition, size=wxDefaultSize,
style=wxTR_HAS_BUTTONS):
wxRemotelyScrolledTreeCtrl.__init__(self, parent, ID, pos, size, style)
- ##self.SetBackgroundColour("LIGHT BLUE")
# make an image list
im1 = im2 = -1
pen = wxPen(wxSystemSettings_GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID)
dc.SetPen(pen)
dc.SetBrush(wxBrush(self.GetBackgroundColour(), wxSOLID))
- dc.DrawRectangle(rect.x, rect.y, rect.width+1, rect.height)
+ dc.DrawRectangle(rect.x, rect.y, rect.width+1, rect.height+1)
dc.SetTextForeground("BLACK")
dc.SetBackgroundMode(wxTRANSPARENT)
tw, th = dc.GetTextExtent(text)
style=wxNO_BORDER | wxCLIP_CHILDREN | wxVSCROLL)
splitter = wxThinSplitterWindow(scroller, -1, style=wxSP_3DBORDER | wxCLIP_CHILDREN)
splitter.SetSashSize(2)
- self.tree = TestTree(splitter, -1, style =
- wxTR_HAS_BUTTONS | wxTR_NO_LINES | wxTR_ROW_LINES | wxNO_BORDER )
+ tree = TestTree(splitter, -1, style = wxTR_HAS_BUTTONS |
+ wxTR_NO_LINES |
+ wxTR_ROW_LINES |
+ wxNO_BORDER )
valueWindow = TestValueWindow(splitter, -1, style=wxNO_BORDER)
- splitter.SplitVertically(self.tree, valueWindow)
+ splitter.SplitVertically(tree, valueWindow)
splitter.SetSashPosition(150)
- scroller.SetTargetWindow(self.tree)
+ scroller.SetTargetWindow(tree)
scroller.EnableScrolling(FALSE, FALSE)
- valueWindow.SetTreeCtrl(self.tree)
- self.tree.SetCompanionWindow(valueWindow)
+ valueWindow.SetTreeCtrl(tree)
+ tree.SetCompanionWindow(valueWindow)
self.log = log
led = wxLEDNumberCtrl(self, -1, (25,25), (280, 50))
- led.SetValue("0123456789")
- led.SetAlignment(wxLED_ALIGN_RIGHT)
+ led.SetValue("01234")
led = wxLEDNumberCtrl(self, -1, (25,100), (280, 50))
- led.SetValue("0123456789")
+ led.SetValue("56789")
led.SetAlignment(wxLED_ALIGN_RIGHT)
led.SetDrawFaded(false)
# flags and values that affect this script
#----------------------------------------------------------------------
-VERSION = "2.3.2b7+"
+VERSION = "2.3.2"
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"