mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
Revert to WxWidgets 3.1.5 (#3249)
* revert to WxWidgets 3.1.5 * update nanosvg unicode path
This commit is contained in:
parent
cc23ec6626
commit
374f78c768
95 changed files with 6841 additions and 1618 deletions
|
@ -43,7 +43,9 @@ TabCtrl::TabCtrl(wxWindow * parent,
|
|||
}
|
||||
|
||||
TabCtrl::~TabCtrl()
|
||||
{}
|
||||
{
|
||||
delete images;
|
||||
}
|
||||
|
||||
int TabCtrl::GetSelection() const { return sel; }
|
||||
|
||||
|
@ -165,6 +167,13 @@ void TabCtrl::SetItemData(unsigned int item, void* clientData)
|
|||
btns[item]->SetClientData(clientData);
|
||||
}
|
||||
|
||||
void TabCtrl::AssignImageList(wxImageList* imageList)
|
||||
{
|
||||
if (images == imageList) return;
|
||||
delete images;
|
||||
images = imageList;
|
||||
}
|
||||
|
||||
void TabCtrl::SetItemTextColour(unsigned int item, const StateColor &col)
|
||||
{
|
||||
if (item >= btns.size()) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue