Document that wxGetSingleChoice() geometry parameters are ignored

Also make it clear that wxCHOICE_{HEIGHT,WIDTH} constants are not really
used for anything.

Closes #23949.

Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org>
This commit is contained in:
Blake-Madden 2023-10-07 12:02:51 -04:00 committed by Vadim Zeitlin
parent 543fd3fabc
commit 4235a018be
2 changed files with 17 additions and 13 deletions

View file

@ -17,12 +17,14 @@
class WXDLLIMPEXP_FWD_CORE wxListBoxBase;
// ----------------------------------------------------------------------------
// some (ugly...) constants
// some constants
// ----------------------------------------------------------------------------
// These constants are no longer used and only remain here for compatibility.
#define wxCHOICE_HEIGHT 150
#define wxCHOICE_WIDTH 200
// Default style for choice dialogs.
#define wxCHOICEDLG_STYLE \
(wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxOK | wxCANCEL | wxCENTRE)