X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52b90aa7abd254ce774fa00fa9843a11a3d359d4..ca6911c361b04290fe1f0e64b616249b3b3d71ba:/include/wx/msw/subwin.h diff --git a/include/wx/msw/subwin.h b/include/wx/msw/subwin.h index 06ba1433e5..2c877186eb 100644 --- a/include/wx/msw/subwin.h +++ b/include/wx/msw/subwin.h @@ -18,7 +18,7 @@ // wxSubwindows contains all HWNDs making part of a single wx control // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxSubwindows +class WXDLLIMPEXP_CORE wxSubwindows { public: // the number of subwindows can be specified either as parameter to ctor or @@ -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