FIX:obj_table: brim type choices display issue [STUDIO-2597]

Change-Id: I616d27bdd061a75eb432a0f759c5f7813c6d7e23
This commit is contained in:
liz.li 2023-06-05 10:23:35 +08:00 committed by Lane.Wei
parent 8ae8cce200
commit 0f4e51209e
2 changed files with 12 additions and 19 deletions

View file

@ -416,7 +416,7 @@ public:
bool b_icon;
bool b_editable;
bool b_from_config;
wxString *choices;
wxArrayString choices;
int choice_count;
int horizontal_align;
@ -427,13 +427,11 @@ public:
size = 32;
else
size = -1;
choices = nullptr;
choice_count = 0;
}
~ObjectGridCol()
{
choices = nullptr;
}
};
ObjectGridTable(ObjectTablePanel* panel): m_panel(panel) { }