mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-23 14:45:04 +08:00
Fix some event macro arguments in interface declarations
Remove the non-existent arguments and unnecessary backslashes.
See #25278.
(cherry picked from commit 0b8049e577)
This commit is contained in:
committed by
Vadim Zeitlin
parent
1709b226df
commit
5a102b41f1
@@ -48,10 +48,10 @@ enum wxMediaCtrlPlayerControls
|
||||
Event wxMediaCtrl uses.
|
||||
|
||||
@beginEventTable{wxMediaEvent}
|
||||
@event{EVT_MEDIA_LOADED(id\, func)}
|
||||
@event{EVT_MEDIA_LOADED(id, func)}
|
||||
Sent when a media has loaded enough data that it can start playing.
|
||||
Processes a @c wxEVT_MEDIA_LOADED event type.
|
||||
@event{EVT_MEDIA_STOP(id\, func)}
|
||||
@event{EVT_MEDIA_STOP(id, func)}
|
||||
Sent when a media has switched to the @c wxMEDIASTATE_STOPPED state.
|
||||
You may be able to Veto this event to prevent it from stopping,
|
||||
causing it to continue playing - even if it has reached that end of
|
||||
@@ -59,16 +59,16 @@ enum wxMediaCtrlPlayerControls
|
||||
want to loop the media, for example, catch the @c EVT_MEDIA_FINISHED
|
||||
and play there instead).
|
||||
Processes a @c wxEVT_MEDIA_STOP event type.
|
||||
@event{EVT_MEDIA_FINISHED(id\, func)}
|
||||
@event{EVT_MEDIA_FINISHED(id, func)}
|
||||
Sent when a media has finished playing in a wxMediaCtrl.
|
||||
Processes a @c wxEVT_MEDIA_FINISHED event type.
|
||||
@event{EVT_MEDIA_STATECHANGED(id\, func)}
|
||||
@event{EVT_MEDIA_STATECHANGED(id, func)}
|
||||
Sent when a media has switched its state (from any media state).
|
||||
Processes a @c wxEVT_MEDIA_STATECHANGED event type.
|
||||
@event{EVT_MEDIA_PLAY(id\, func)}
|
||||
@event{EVT_MEDIA_PLAY(id, func)}
|
||||
Sent when a media has switched to the @c wxMEDIASTATE_PLAYING state.
|
||||
Processes a @c wxEVT_MEDIA_PLAY event type.
|
||||
@event{EVT_MEDIA_PAUSE(id\, func)}
|
||||
@event{EVT_MEDIA_PAUSE(id, func)}
|
||||
Sent when a media has switched to the @c wxMEDIASTATE_PAUSED state.
|
||||
Processes a @c wxEVT_MEDIA_PAUSE event type.
|
||||
@endEventTable
|
||||
|
||||
@@ -60,7 +60,7 @@ enum
|
||||
internal top level window list.
|
||||
|
||||
@beginEventEmissionTable
|
||||
@event{EVT_MAXIMIZE(id, func)}
|
||||
@event{EVT_MAXIMIZE(func)}
|
||||
Process a @c wxEVT_MAXIMIZE event. See wxMaximizeEvent.
|
||||
@event{EVT_MOVE(func)}
|
||||
Process a @c wxEVT_MOVE event, which is generated when a window is moved.
|
||||
@@ -75,7 +75,7 @@ enum
|
||||
See wxMoveEvent.
|
||||
@event{EVT_SHOW(func)}
|
||||
Process a @c wxEVT_SHOW event. See wxShowEvent.
|
||||
@event{EVT_FULLSCREEN(id, func)}
|
||||
@event{EVT_FULLSCREEN(func)}
|
||||
Process a @c wxEVT_FULLSCREEN event. See wxFullScreenEvent.
|
||||
@endEventTable
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ enum wxWindowVariant
|
||||
@endExtraStyleTable
|
||||
|
||||
@beginEventEmissionTable
|
||||
@event{EVT_ACTIVATE(id, func)}
|
||||
@event{EVT_ACTIVATE(func)}
|
||||
Process a @c wxEVT_ACTIVATE event. See wxActivateEvent.
|
||||
@event{EVT_CHILD_FOCUS(func)}
|
||||
Process a @c wxEVT_CHILD_FOCUS event. See wxChildFocusEvent.
|
||||
|
||||
Reference in New Issue
Block a user