fix up some more todos in wxExtensions

This commit is contained in:
Ocraftyone
2023-11-22 06:00:55 -05:00
parent 2b9cb53676
commit 7f83f460e1
2 changed files with 0 additions and 10 deletions

View File

@@ -827,7 +827,6 @@ void ModeSizer::set_items_border(int border)
void ModeSizer::sys_color_changed()
{
// this->SetHGap(std::lround(m_hgap_unscaled * em_unit(m_parent))); //OcraftyoneTODO: LEGACY (PS removed)
for (size_t m = 0; m < m_mode_btns.size(); m++)
m_mode_btns[m]->msw_rescale();
}
@@ -1006,13 +1005,6 @@ BlinkingBitmap::BlinkingBitmap(wxWindow* parent, const std::string& icon_name) :
bmp = ScalableBitmap(parent, icon_name);
}
void BlinkingBitmap::msw_rescale() //OcraftyoneTODO: removed by ps
{
bmp.sys_color_changed();
this->SetSize(bmp.GetSize());
this->SetMinSize(bmp.GetSize());
}
void BlinkingBitmap::invalidate()
{
this->SetBitmap(wxNullBitmap);

View File

@@ -55,7 +55,6 @@ void msw_buttons_rescale(wxDialog* dlg, const int em_unit, const std::vector<
int em_unit(wxWindow* win);
int mode_icon_px_size();
wxBitmap create_menu_bitmap(const std::string& bmp_name); //OcraftyoneTODO: LEGACY (PS deleted)
wxBitmapBundle* get_bmp_bundle(const std::string& bmp_name, int px_cnt = 16);
wxBitmapBundle* get_empty_bmp_bundle(int width, int height);
wxBitmapBundle* get_solid_bmp_bundle(int width, int height, const std::string& color);
@@ -403,7 +402,6 @@ public:
~BlinkingBitmap() {}
void msw_rescale(); //OcraftyoneTODO: LEGACY (PS deleted)
void invalidate();
void activate();
void blink();