use TWIST buttons by default on the Mac, but also make it possible to
skip the style adjustments so the programmer can do what they want too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,8 +17,15 @@ class TestPanel(wx.Panel):
|
||||
#wx.TR_TWIST_BUTTONS
|
||||
#| wx.TR_ROW_LINES
|
||||
#| wx.TR_NO_LINES
|
||||
| wx.TR_FULL_ROW_HIGHLIGHT
|
||||
| wx.TR_FULL_ROW_HIGHLIGHT
|
||||
|
||||
# By default the style will be adjusted on
|
||||
# Mac to use twisty buttons and no lines. If
|
||||
# you would rather control this yourself then
|
||||
# add this style.
|
||||
#| wx.TR_DONT_ADJUST_MAC
|
||||
)
|
||||
|
||||
isz = (16,16)
|
||||
il = wx.ImageList(isz[0], isz[1])
|
||||
fldridx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FOLDER, wx.ART_OTHER, isz))
|
||||
|
Reference in New Issue
Block a user