beremiz
Clone
Summary
Browse
Changes
Graph
Fix exception when canvas becomes null because of window resize, and avoid useless parameter+condition in GetLogicalDC
wxPython4
2021-09-05, Edouard Tisserant
3d736248ab3b
Fix exception when canvas becomes null because of window resize, and avoid useless parameter+condition in GetLogicalDC
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of Beremiz
# Copyright (C) 2019: Edouard TISSERANT
#
# See COPYING file for copyrights details.
from __future__ import absolute_import
from svghmi.svghmi import *