Is that possible?
Code: Select all
class MyPanel1 : public wxPanel
----------------
MyPanel1* cp[100];
for(int i=0; i<10; i++)
{
cp[i]=new MyPanel1(this);
m_listCtrl1->SetItem(i, 0, cp[i] );
}
Code: Select all
class MyPanel1 : public wxPanel
----------------
MyPanel1* cp[100];
for(int i=0; i<10; i++)
{
cp[i]=new MyPanel1(this);
m_listCtrl1->SetItem(i, 0, cp[i] );
}
You may not be aware of it, but there is nice online documentation for wxWidgets at http://docs.wxwidgets.org/. There you can look at the interface of individual classes. The documentation should answer most of "is it possible" questions rater quick. For example, you could learn there is no wxListCtrl (or inherited) method that would allow manipulating its items as if it were wxWindows.dkaip wrote:I have wxListCtrl and in cells i whant to put wxPanel Objects.
Is that possible?