From ed0d1c7fcfce6338a3df498e6e324321da7b1bfc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 28 Feb 2003 15:35:35 +0000 Subject: [PATCH] Use the right constants git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/FontEnumerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/demo/FontEnumerator.py b/wxPython/demo/FontEnumerator.py index 5775b52eec..67b5f6ef10 100644 --- a/wxPython/demo/FontEnumerator.py +++ b/wxPython/demo/FontEnumerator.py @@ -36,7 +36,7 @@ class TestPanel(wxPanel): def OnSelect(self, evt): face = self.lb1.GetStringSelection() - font = wxFont(28, wxDEFAULT, wxDEFAULT, wxDEFAULT, False, face) + font = wxFont(28, wxDEFAULT, wxNORMAL, wxNORMAL, False, face) self.txt.SetFont(font) self.txt.SetSize(self.txt.GetBestSize())