Added some new test cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,6 +92,11 @@ class MyCanvas(wxScrolledWindow):
|
||||
dc.SetTextForeground(wxColour(0, 0xFF, 0x80))
|
||||
dc.DrawText("a bitmap", 200, 85)
|
||||
|
||||
## dc.SetFont(wxFont(14, wxSWISS, wxNORMAL, wxNORMAL))
|
||||
## dc.SetTextForeground("BLACK")
|
||||
## dc.DrawText("TEST this STRING", 10, 200)
|
||||
|
||||
|
||||
font = wxFont(20, wxSWISS, wxNORMAL, wxNORMAL)
|
||||
dc.SetFont(font)
|
||||
dc.SetTextForeground(wxBLACK)
|
||||
|
Reference in New Issue
Block a user