Cover default button in wxDialog::CreateStdDialogButtonSizer docs
Add a note explaining that when creating a button sizer with this method, one of the buttons will be usually made the default. See #23992. Closes #24001.
This commit is contained in:
parent
b297edbe79
commit
4ddea5658d
1 changed files with 6 additions and 0 deletions
|
|
@ -291,6 +291,12 @@ public:
|
|||
wxCLOSE, wxHELP, wxNO_DEFAULT.
|
||||
|
||||
The sizer lays out the buttons in a manner appropriate to the platform.
|
||||
|
||||
@note Unlike when using wxStdDialogButtonSizer directly, creating the sizer
|
||||
with this method usually results in one of its buttons being default
|
||||
(and having initial focus): @a wxNO_DEFAULT will make the No button
|
||||
the default, otherwise the OK or Yes button will be set as the default
|
||||
when present.
|
||||
*/
|
||||
wxStdDialogButtonSizer* CreateStdDialogButtonSizer(long flags);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue