+ return const_cast<wxSubwindows *>(this)->Get(n);
+ }
+
+ // initialize the given window: id will be stored in wxWindowIDRef ensuring
+ // that it is not reused while this object exists
+ void Set(size_t n, HWND hwnd, wxWindowID id)
+ {
+ wxASSERT_MSG( n < m_count, wxT("subwindow index out of range") );
+
+ m_hwnds[n] = hwnd;
+ m_ids[n] = id;