Non-const wxWindow pointers are unfortunately needed quite often in wx API so return a non-const pointer here to allow using it with e.g. wxRendererNative (whose methods all take non-const wxWindow pointers) in the derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775