From 15a68c9916d174649d4ae7742d3a84cb1d2893a1 Mon Sep 17 00:00:00 2001 From: PB Date: Fri, 29 Mar 2019 21:51:10 +0100 Subject: [PATCH] Add basic information to wxDisplayChangedEvent documentation The event had no description at all, so at least the very basic information has been added. Closes https://github.com/wxWidgets/wxWidgets/pull/1280 --- interface/wx/event.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/interface/wx/event.h b/interface/wx/event.h index dfd7e1b626..566419f015 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -3291,7 +3291,25 @@ public: wxMouseCaptureLostEvent(wxWindowID windowId = 0); }; +/** + @class wxDisplayChangedEvent + A display changed event is sent to top-level windows when the display resolution has changed. + + This event is currently emitted under Windows only. + + @beginEventTable{wxDisplayChangedEvent} + @event{EVT_DISPLAY_CHANGED(func)} + Process a @c wxEVT_DISPLAY_CHANGED event. + @endEventTable + + @onlyfor{wxmsw} + + @library{wxcore} + @category{events} + + @see wxDisplay +*/ class wxDisplayChangedEvent : public wxEvent {