Added wxGenericDirCtrl and other varioius updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,6 +5,10 @@ from wxPython.wx import *
|
||||
|
||||
def runTest(frame, nb, log):
|
||||
data = wxFontData()
|
||||
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)
|
||||
if dlg.ShowModal() == wxID_OK:
|
||||
data = dlg.GetFontData()
|
||||
|
Reference in New Issue
Block a user