mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
more little demo fixes
This commit is contained in:
@@ -7,9 +7,11 @@ import os
|
|||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
import wx
|
import wx
|
||||||
|
import wx.adv
|
||||||
|
import wx.propgrid as wxpg
|
||||||
|
|
||||||
from six import exec_
|
from six import exec_
|
||||||
_ = wx.GetTranslation
|
_ = wx.GetTranslation
|
||||||
import wx.propgrid as wxpg
|
|
||||||
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
@@ -768,7 +770,7 @@ class TestPanel( wx.Panel ):
|
|||||||
pg.SetPropertyAttribute( "File", wxpg.PG_FILE_INITIAL_PATH,
|
pg.SetPropertyAttribute( "File", wxpg.PG_FILE_INITIAL_PATH,
|
||||||
"C:\\Program Files\\Internet Explorer" )
|
"C:\\Program Files\\Internet Explorer" )
|
||||||
pg.SetPropertyAttribute( "Date", wxpg.PG_DATE_PICKER_STYLE,
|
pg.SetPropertyAttribute( "Date", wxpg.PG_DATE_PICKER_STYLE,
|
||||||
wx.DP_DROPDOWN|wx.DP_SHOWCENTURY )
|
wx.adv.DP_DROPDOWN|wx.adv.DP_SHOWCENTURY )
|
||||||
|
|
||||||
pg.Append( wxpg.PropertyCategory("5 - Custom Properties and Editors") )
|
pg.Append( wxpg.PropertyCategory("5 - Custom Properties and Editors") )
|
||||||
pg.Append( IntProperty2("IntProperty2", value=1024) )
|
pg.Append( IntProperty2("IntProperty2", value=1024) )
|
||||||
|
|||||||
Reference in New Issue
Block a user