From fd3eb2e9228055e3394a81fcf635b437ffba8f64 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Mar 2026 21:30:59 +0100 Subject: [PATCH] Remove @onlyfor{wxosx} from EnableFullScreenView() documentation This function exists in all ports, so don't use this macro. Do document that it does nothing in all ports except wxOSX. Closes #26296. --- interface/wx/toplevel.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/interface/wx/toplevel.h b/interface/wx/toplevel.h index 7248f51c7d..6c036df68b 100644 --- a/interface/wx/toplevel.h +++ b/interface/wx/toplevel.h @@ -697,6 +697,9 @@ public: /** Enables the zoom button to toggle full screen mode. + This function is currently only implemented in wxOSX and simply returns + @false in the other ports. + A wxFullScreenEvent is generated when the users enters or exits full screen via the enter/exit full screen button. @@ -709,7 +712,7 @@ public: for possible values. It is available since wxWidgets 3.1.6. @return @true if the button behaviour has been changed, @false if running - under another OS. + under unsupported OS. @note Having the button is also required to let ShowFullScreen() make use of the full screen API: a full screen window gets its own space @@ -719,8 +722,6 @@ public: Only @c ::wxFULLSCREEN_NOTOOLBAR and @c ::wxFULLSCREEN_NOMENUBAR will be used when using the fullscreen API (other values are ignored). - @onlyfor{wxosx} - @see ShowFullScreen(), wxFullScreenEvent @since 3.1.0