mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Code cleaning.
+ Use default DPIfont for wxHtmlWindows
This commit is contained in:
parent
436e12e99f
commit
c8133b91b7
5 changed files with 7 additions and 54 deletions
|
@ -218,19 +218,7 @@ private:
|
|||
void rescale(const wxRect &suggested_rect)
|
||||
{
|
||||
this->Freeze();
|
||||
/*
|
||||
#if wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3)
|
||||
if (m_force_rescale) {
|
||||
#endif // wxVERSION_EQUAL_OR_GREATER_THAN
|
||||
// rescale fonts of all controls
|
||||
scale_controls_fonts(this, m_new_font_point_size);
|
||||
// rescale current window font
|
||||
scale_win_font(this, m_new_font_point_size);
|
||||
#if wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3)
|
||||
m_force_rescale = false;
|
||||
}
|
||||
#endif // wxVERSION_EQUAL_OR_GREATER_THAN
|
||||
*/
|
||||
|
||||
m_force_rescale = false;
|
||||
#if !wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3)
|
||||
// rescale fonts of all controls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue