X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..8e62855a3fecf13954e850d64df98033ef48762b:/include/wx/msw/subwin.h diff --git a/include/wx/msw/subwin.h b/include/wx/msw/subwin.h index 79d48668eb..27f5f714cc 100644 --- a/include/wx/msw/subwin.h +++ b/include/wx/msw/subwin.h @@ -61,7 +61,7 @@ public: HWND operator[](size_t n) const { - return wx_const_cast(wxSubwindows *, this)->Get(n); + return const_cast(this)->Get(n); } // initialize the given window: id will be stored in wxWindowIDRef ensuring