From 3ff9846a227b8eba066d12cedbc86d58cd61c192 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 21 Dec 2017 19:03:12 +0100 Subject: [PATCH] Document alignment styles in wxStaticBox Mention that they work in wxGTK, even if it seems to be the only platform supporting them currently. --- interface/wx/statbox.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/wx/statbox.h b/interface/wx/statbox.h index 8627255027..d57949ee9b 100644 --- a/interface/wx/statbox.h +++ b/interface/wx/statbox.h @@ -71,7 +71,11 @@ public: Checkbox size. If ::wxDefaultSize is specified then a default size is chosen. @param style - Window style. See wxStaticBox. + Window style. There are no wxStaticBox-specific styles, but generic + ::wxALIGN_LEFT, ::wxALIGN_CENTRE_HORIZONTAL and ::wxALIGN_RIGHT can + be used here to change the position of the static box label when + using wxGTK (these styles are ignored under the other platforms + currently). @param name Window name.