Add destructors for all menu components and sub components. Finish menu navigation for class selection window and class info window.
This commit is contained in:
@@ -28,7 +28,10 @@ public:
|
||||
}
|
||||
|
||||
virtual inline ~ScrollableWindowComponent(){
|
||||
|
||||
MenuComponent::~MenuComponent();
|
||||
for(MenuComponent*component:components){
|
||||
delete component;
|
||||
}
|
||||
}
|
||||
protected:
|
||||
virtual inline void AfterCreate()override{
|
||||
|
||||
Reference in New Issue
Block a user