X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4db307e110e2559ac88fcad53bb2b7688240e29c..613de0e89efab1cbf8463ea06e0cf0b2914fbce9:/include/wx/stackwalk.h diff --git a/include/wx/stackwalk.h b/include/wx/stackwalk.h index 2a652b0759..47805cd738 100644 --- a/include/wx/stackwalk.h +++ b/include/wx/stackwalk.h @@ -27,7 +27,7 @@ class WXDLLIMPEXP_BASE wxStackFrameBase private: // put this inline function here so that it is defined before use wxStackFrameBase *ConstCast() const - { return wx_const_cast(wxStackFrameBase *, this); } + { return const_cast(this); } public: wxStackFrameBase(size_t level, void *address = NULL)