mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Add possible impl for MSWGetTaskBarButton, commented out for now
This commit is contained in:
20
etg/frame.py
20
etg/frame.py
@@ -57,6 +57,26 @@ def run():
|
||||
|
||||
# TODO: support this
|
||||
c.find('MSWGetTaskBarButton').ignore()
|
||||
#c.addCppMethod('wxTaskBarButton*', 'MSWGetTaskBarButton', '()',
|
||||
# doc="""\
|
||||
# MSW-specific function for accessing the taskbar button under Windows 7 or later.
|
||||
#
|
||||
# Returns a :class:`wx.TaskBarButton` pointer representing the taskbar button of the
|
||||
# window under Windows 7 or later. The returned ``wx.TaskBarButton`` may be
|
||||
# used, if not ``None``, to access the functionality including thumbnail
|
||||
# representations, thumbnail toolbars, notification and status overlays,
|
||||
# and progress indicators.
|
||||
#
|
||||
# This method will raise a ``NotImplemetedError`` on platforms other than MSW.
|
||||
# """,
|
||||
# body="""\
|
||||
# #ifdef __WXMSW__
|
||||
# return self->MSWGetTaskBarButton();
|
||||
# #else
|
||||
# wxPyRaiseNotImplemented();
|
||||
# return NULL;
|
||||
# #endif
|
||||
# """)
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
tools.doCommonTweaks(module)
|
||||
|
||||
Reference in New Issue
Block a user