OSX specific : Set top border for the mode buttons, when settings pages has new layouts

(when tabs bar is hidden)

+ Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
This commit is contained in:
YuSanka 2020-11-06 16:24:03 +01:00
parent 1492bc9cd5
commit 8448d1a1dc
7 changed files with 28 additions and 3 deletions

View file

@ -696,6 +696,17 @@ void ModeSizer::SetMode(const int mode)
m_mode_btns[m]->SetState(int(m) == mode);
}
void ModeSizer::set_items_flag(int flag)
{
for (wxSizerItem* item : this->GetChildren())
item->SetFlag(flag);
}
void ModeSizer::set_items_border(int border)
{
for (wxSizerItem* item : this->GetChildren())
item->SetBorder(border);
}
void ModeSizer::msw_rescale()
{