Skip to content

Commit

Permalink
fixed Wx deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed May 4, 2024
1 parent 0efc836 commit ce208fc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion hyo2/bagexplorer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
logger.addHandler(logging.NullHandler())

name = 'BAG Explorer'
__version__ = '1.3.0'
__version__ = '1.3.1'
__author__ = '[email protected]'
__license__ = 'LGPLv3 license'
__copyright__ = 'Copyright (c) 2024, University of New Hampshire, Center for Coastal and Ocean Mapping'
34 changes: 17 additions & 17 deletions hyo2/bagexplorer/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@

logger = logging.getLogger(__name__)

ID_ABOUT_BAG_TOOLS = wx.NewId()
ID_MANUAL_BAG_TOOLS = wx.NewId()
ID_ABOUT_HDF_COMPASS = wx.NewId()
ID_OPEN_SAMPLES = wx.NewId()
ID_ABOUT_BAG_TOOLS = wx.NewIdRef()
ID_MANUAL_BAG_TOOLS = wx.NewIdRef()
ID_ABOUT_HDF_COMPASS = wx.NewIdRef()
ID_OPEN_SAMPLES = wx.NewIdRef()

ID_TOOLS_BBOX_GJS = wx.NewId()
ID_TOOLS_BBOX_GML = wx.NewId()
ID_TOOLS_BBOX_KML = wx.NewId()
ID_TOOLS_BBOX_SHP = wx.NewId()
ID_TOOLS_BBOX_GJS = wx.NewIdRef()
ID_TOOLS_BBOX_GML = wx.NewIdRef()
ID_TOOLS_BBOX_KML = wx.NewIdRef()
ID_TOOLS_BBOX_SHP = wx.NewIdRef()

ID_TOOLS_UNC_ASC = wx.NewId()
ID_TOOLS_UNC_GTF = wx.NewId()
ID_TOOLS_UNC_XYZ = wx.NewId()
ID_TOOLS_UNC_ASC = wx.NewIdRef()
ID_TOOLS_UNC_GTF = wx.NewIdRef()
ID_TOOLS_UNC_XYZ = wx.NewIdRef()

ID_TOOLS_ELV_ASC = wx.NewId()
ID_TOOLS_ELV_GTF = wx.NewId()
ID_TOOLS_ELV_XYZ = wx.NewId()
ID_TOOLS_ELV_ASC = wx.NewIdRef()
ID_TOOLS_ELV_GTF = wx.NewIdRef()
ID_TOOLS_ELV_XYZ = wx.NewIdRef()

ID_TOOLS_TKL_CSV = wx.NewId()
ID_TOOLS_TKL_CSV = wx.NewIdRef()

ID_TOOLS_META_VAL = wx.NewId()
ID_TOOLS_META_XML = wx.NewId()
ID_TOOLS_META_VAL = wx.NewIdRef()
ID_TOOLS_META_XML = wx.NewIdRef()

frame.BaseFrame.icon_folder = os.path.abspath(os.path.join(os.path.dirname(__file__), 'media'))

Expand Down

0 comments on commit ce208fc

Please sign in to comment.