// 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
HWND operator[](size_t n) const
{
- return wx_const_cast(wxSubwindows *, this)->Get(n);
+ return const_cast<wxSubwindows *>(this)->Get(n);
}
// initialize the given window: id will be stored in wxWindowIDRef ensuring
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