Skip to content

Commit

Permalink
wxGUI g.gui.animation: fix wx.CheckBox widget deprecation warning (OS…
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi authored Jun 20, 2020
1 parent c05ef6d commit 32848ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/wxpython/animation/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
from core.settings import UserSettings
from gui_core.gselect import Select
from gui_core.widgets import FloatValidator
from gui_core.wrap import SpinCtrl, CheckBox, TextCtrl, Button, \
BitmapButton, StaticText, StaticBox, Choice, RadioButton, EmptyImage
from gui_core.wrap import BitmapButton, Button, CheckBox, Choice, \
ComboBox, EmptyImage, RadioButton, SpinCtrl, StaticBox, StaticText, TextCtrl

from animation.utils import TemporalMode, getRegisteredMaps, getNameAndLayer, getCpuCount
from animation.data import AnimationData, AnimLayer
Expand Down Expand Up @@ -2017,7 +2017,7 @@ def _createTemporalPage(self, notebook):
pos=(
row,
0))
self.tempFormat = wx.ComboBox(parent=panel, name='GetValue')
self.tempFormat = ComboBox(parent=panel, name='GetValue')
self.tempFormat.SetItems(self._timeFormats)
self.tempFormat.SetValue(self._initFormat)
self.winId['animation:temporal:format'] = self.tempFormat.GetId()
Expand Down

0 comments on commit 32848ab

Please sign in to comment.