mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -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
|
@ -122,8 +122,6 @@ void ButtonsListCtrl::Rescale()
|
|||
{
|
||||
//m_mode_sizer->msw_rescale();
|
||||
int em = em_unit(this);
|
||||
// Orca: following is removed by PS in wx 3.16 refactor.
|
||||
// doesn't seem to be doing anything rn so leaving it alone
|
||||
for (Button* btn : m_pageButtons) {
|
||||
//BBS
|
||||
btn->SetMinSize({(btn->GetLabel().empty() ? 40 : 132) * em / 10, 36 * em / 10});
|
||||
|
@ -139,14 +137,6 @@ void ButtonsListCtrl::Rescale()
|
|||
m_sizer->Layout();
|
||||
}
|
||||
|
||||
void ButtonsListCtrl::OnColorsChanged()
|
||||
{
|
||||
for (Button* btn : m_pageButtons)
|
||||
btn->Rescale();
|
||||
|
||||
m_sizer->Layout();
|
||||
}
|
||||
|
||||
void ButtonsListCtrl::SetSelection(int sel)
|
||||
{
|
||||
if (m_selection == sel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue