Hello,
I am using the wxScrollBar in an application and would like it to
display using the "new" XP themes on windows. However, it uses the
"old" standard gray scroll bars instead. Is there a flag to set to tell
it to use the new style theme?
The little program below shows that the styled text control scrollbars
are rendered with themes, but the stand alone scroll bar isn't. I've
also attached a screen shot.
thanks,
eric
# sample program
import wx
from wx import stc
class MyFrame(wx.Frame):
def __init__(self):
wx.Frameinit__(self, None, -1, "My Frame", size=(350, 150))
panel = wx.Panel(self, -1)
stc.StyledTextCtrl( panel, -1, pos = (5,5), size=(300,50) )
wx.ScrollBar(panel, pos=(40,80), size=(100, 20),
style=wx.HRIZNTAL)
if __name__ == "__main__":
app = wx.PySimpleApp()
frame = MyFrame()
frame.Show(True)
app.MainLoop()
To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org
For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org