I have a little Problem with access of a Panel in another Panel.
I'm trying to write that one Panel should repeated be inserted in another Panel.
So far so good. This Works.
But now the User should be posible to remove this Panel.
So far so good.
Just there in the Places of the Old Panels, there are holes.
So I will remove this holes.
So I should call Layout of the base Panel.
But I'm not been in the way to access this Panel.
So the repeated Panel has his Parent in Constructor:
Code: Select all
class TrackControl: public wxPanel
{
public:
TrackControl(wxPanel *parent, int id );
So I need now this *parent in a Function of TrackControl.
Any Suggestion for solve.
A little bit confuse
Mungo1981