File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -31,24 +31,10 @@ def get_version(rel_path: str) -> str:
31
31
32
32
_APP_VERSION = get_version ("_version.py" )
33
33
34
- # try:
35
- # if hasattr(wx, "GetLibraryVersionInfo"):
36
- # WX_VERSION = wx.GetLibraryVersionInfo() # type: wx.VersionInfo
37
- # WX_VERSION = (WX_VERSION.Major, WX_VERSION.Minor, WX_VERSION.Micro)
38
- # else:
39
- # # old kicad used this (exact version doesnt matter)
40
- # WX_VERSION = (3, 0, 2)
41
- # except:
42
- # WX_VERSION = (3, 1, 6)
43
-
44
34
def get_btn_bitmap (bitmap ):
45
35
path = resource_path (bitmap )
46
36
png = wx .Bitmap (path , wx .BITMAP_TYPE_PNG )
47
-
48
- #if WX_VERSION >= (3, 1, 6):
49
37
return wx .BitmapBundle (png )
50
- #else:
51
- #return png
52
38
53
39
def ParseFloat (InputString , DefaultValue = 0.0 ):
54
40
value = DefaultValue
Original file line number Diff line number Diff line change 1
- __version__ = "1.0.1 "
1
+ __version__ = "1.1.0 "
You can’t perform that action at this time.
0 commit comments