diff --git a/CHANGES.rst b/CHANGES.rst index f92931a8..d8161400 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -49,6 +49,15 @@ New and improved in this release: agw version) Pane has been closed (after it has been closed, not when it is about to be closed, which is when EVT_AUI_PANE_CLOSE is sent.) (PR#1628) +* Exposed the wx.DC methods GetGraphicsContext and SetGraphicsContext. Depending + on the platform and the type of the DC, there may be a wx.GraphicsContext used + for the implementation of the DC. If so, the GetGraphicsContext method enables + access to it. Be sure to check that the return value is not None before trying + to use it. + +* Simplified the implementation of the wx.App.InitLocale method. See the + MigrationGuide for more information. + diff --git a/etg/grid.py b/etg/grid.py index 85945785..ce1cf02d 100644 --- a/etg/grid.py +++ b/etg/grid.py @@ -609,9 +609,10 @@ def run(): # Custom code to deal with the wxGridBlockCoordsVector return type of these # methods. It's a wxVector, which we'll just convert to a list. - # TODO: There are starting to be enough of these that we ought to either - # wrap wxVector, or add something in tweaker_tools to make adding code - # like this easier and more automated. + + # TODO: There are a few of these now to we ought to either wrap wxVector, or add + # something in tweaker_tools to make adding code like this easier and more + # automated. code = """\ wxPyThreadBlocker blocker; PyObject* result = PyList_New(0);