Commit Graph

14 Commits

Author SHA1 Message Date
Robin Dunn
8c4dffb091 Add virtual dtor for DC classes 2018-01-29 14:11:00 -08:00
Robin Dunn
d330ad1b40 Add context manager methods to wx.DC 2018-01-29 12:23:57 -08:00
Robin Dunn
c073d1be58 Fix the SetFonts in HtmlEasyPrinting and HtmlPrintout too 2017-04-24 12:36:29 -07:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
d8ad925f60 Fix TextExtent methods in wx.DC 2016-07-15 16:28:33 -07:00
Robin Dunn
bb01dc0d7f Use absolute import of wtc in the unittest modules, instead of depending on them being run as __main__ and getting the folder on the sys.path by default. 2016-06-30 16:49:19 -07:00
Robin Dunn
4f38ee259d Remove imp_unittest 2016-05-07 19:16:28 -07:00
Robin Dunn
3c81c73b9e Adapt tests to GetHandle changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-02 05:39:36 +00:00
Robin Dunn
94e26d00b7 ClientDC doesn't have a context to begin with, so use MemoryDC for the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-23 00:44:18 +00:00
Robin Dunn
8fecc2b5f9 * Rename the wrappers for the C++ wxPlatformInfo to wx.PlatformInformation.
* Restore the wx.PlatformInfo tuple like it exists in Classic.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-24 00:15:33 +00:00
Robin Dunn
d1bdbd0155 Test dc.DrawLines to check PySequence --> wxPointList conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:32:28 +00:00
Robin Dunn
019fd15013 Fix some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 21:39:16 +00:00
Robin Dunn
8171e9d81a Add and update DC unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 08:12:54 +00:00
Robin Dunn
317f312acc Lotsa new unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:59:15 +00:00