From ece44c3a20c532439e97308ce82b614ed29f7ddc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 21 Feb 2017 17:25:07 -0800 Subject: [PATCH] more little demo fixes --- demo/PropertyGrid.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/demo/PropertyGrid.py b/demo/PropertyGrid.py index a0b0bbab..4086672e 100644 --- a/demo/PropertyGrid.py +++ b/demo/PropertyGrid.py @@ -7,9 +7,11 @@ import os import os.path import wx +import wx.adv +import wx.propgrid as wxpg + from six import exec_ _ = wx.GetTranslation -import wx.propgrid as wxpg ############################################################################ @@ -768,7 +770,7 @@ class TestPanel( wx.Panel ): pg.SetPropertyAttribute( "File", wxpg.PG_FILE_INITIAL_PATH, "C:\\Program Files\\Internet Explorer" ) 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( IntProperty2("IntProperty2", value=1024) )