Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -20,10 +20,10 @@ class TestPanel(wxPanel):
 | 
			
		||||
    def OnPaint(self, evt):
 | 
			
		||||
        dc = wxPaintDC(self)
 | 
			
		||||
 | 
			
		||||
        sz = fancytext.getExtent(test_str, dc)
 | 
			
		||||
        fancytext.renderToDC(test_str, dc, 20, 20)
 | 
			
		||||
        w, h = fancytext.GetExtent(test_str, dc)
 | 
			
		||||
        fancytext.RenderToDC(test_str, dc, 20, 20)
 | 
			
		||||
 | 
			
		||||
        fancytext.renderToDC(test_str2, dc, 20, 20 + sz.height + 10)
 | 
			
		||||
        fancytext.RenderToDC(test_str2, dc, 20, 20 + h + 10)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#----------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user