Demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-01-01 05:17:22 +00:00
parent 27d9601235
commit 1077f448d5
3 changed files with 11 additions and 9 deletions

View File

@@ -8,9 +8,7 @@ def runTest(frame, nb, log):
data.EnableEffects(true)
font_colour = wxColour(255, 0, 0) # colour of font (red)
data.SetColour(font_colour) # set colour
##print data.GetColour()
dlg = wxFontDialog(frame, data)
dlg.SetSize((250,250))
if dlg.ShowModal() == wxID_OK:
data = dlg.GetFontData()
font = data.GetChosenFont()