mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
--disable-nativeanimation is gone, wxGenericAnimationCtrl is a real class
This commit is contained in:
@@ -289,7 +289,6 @@ def main(wxDir, args):
|
||||
"--disable-debugreport",
|
||||
"--enable-uiactionsim",
|
||||
"--enable-autoidman",
|
||||
"--disable-nativeanimation",
|
||||
]
|
||||
|
||||
if sys.platform.startswith("darwin"):
|
||||
@@ -406,7 +405,6 @@ def main(wxDir, args):
|
||||
flags["wxUSE_IFF"] = "1"
|
||||
flags["wxUSE_ACCESSIBILITY"] = "1"
|
||||
flags["wxUSE_WINRT"] = "0"
|
||||
flags["wxUSE_NATIVE_ANIMATIONCTRL"] = "0"
|
||||
|
||||
# Remove this when Windows XP finally dies, or when there is a
|
||||
# solution for ticket #13116...
|
||||
|
||||
@@ -306,6 +306,7 @@
|
||||
"AlphaPixelData_Accessor":"wx.",
|
||||
"Animation":"wx.adv.",
|
||||
"AnimationCtrl":"wx.adv.",
|
||||
"AnimationCtrlGeneric":"wx.adv.",
|
||||
"AnimationCtrlNameStr":"wx.adv.",
|
||||
"AnimationDecoder":"wx.adv.",
|
||||
"AnimationDisposal":"wx.adv.",
|
||||
@@ -1355,6 +1356,7 @@
|
||||
"Gauge":"wx.",
|
||||
"GaugeNameStr":"wx.",
|
||||
"GenericAboutBox":"wx.adv.",
|
||||
"GenericAnimationCtrl":"wx.adv.",
|
||||
"GenericCalendarCtrl":"wx.adv.",
|
||||
"GenericDatePickerCtrl":"wx.adv.",
|
||||
"GenericDirCtrl":"wx.",
|
||||
|
||||
@@ -53,10 +53,15 @@ def run():
|
||||
module.addItem(tools.wxListWrapperTemplate('wxAnimationDecoderList', 'wxAnimationDecoder', module,
|
||||
header_extra='#include <wx/animate.h>'))
|
||||
|
||||
|
||||
c = module.find('wxAnimationCtrl')
|
||||
tools.fixWindowClass(c)
|
||||
module.addGlobalStr('wxAnimationCtrlNameStr', c)
|
||||
|
||||
# Add the generic class too
|
||||
gen = tools.copyClassDef(c, 'wxGenericAnimationCtrl')
|
||||
module.insertItemAfter(c, gen)
|
||||
|
||||
# move this before wxAnimationCtrl so it can be used for default arg values
|
||||
item = module.find('wxNullAnimation')
|
||||
module.items.remove(item)
|
||||
|
||||
Reference in New Issue
Block a user