Fixed crash of build under OSX and Linux.

+ Added flag to control if application rescale is possible
This commit is contained in:
YuSanka 2019-04-16 14:06:09 +02:00
parent fc63a28481
commit 3b9803ba6e
8 changed files with 54 additions and 23 deletions

View file

@ -44,6 +44,8 @@ struct PresetTab {
class MainFrame : public DPIFrame
{
bool m_loaded {false};
bool m_can_rescale_application {true};
float m_scale_factor_cache;
wxString m_qs_last_input_file = wxEmptyString;
wxString m_qs_last_output_file = wxEmptyString;