X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..135b23b266fffceb26b29d832c7d25db99038d0d:/include/wx/msw/subwin.h?ds=sidebyside diff --git a/include/wx/msw/subwin.h b/include/wx/msw/subwin.h index 79d48668eb..2c877186eb 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 @@ -165,7 +165,7 @@ private: wxWindowIDRef *m_ids; - DECLARE_NO_COPY_CLASS(wxSubwindows) + wxDECLARE_NO_COPY_CLASS(wxSubwindows); }; // convenient macro to forward a few methods which are usually propagated to