Added wxSTOCK_FOR_BUTTON flag for wxGetStockLabel().
This allows to retrieve labels appropriate for the buttons and not menu items which currently means without trailing ellipsis. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,7 +33,11 @@ enum wxStockLabelQueryFlag
|
||||
wxSTOCK_NOFLAGS = 0,
|
||||
|
||||
wxSTOCK_WITH_MNEMONIC = 1,
|
||||
wxSTOCK_WITH_ACCELERATOR = 2
|
||||
wxSTOCK_WITH_ACCELERATOR = 2,
|
||||
|
||||
// return label for button, not menu item: notice that this always included
|
||||
// wxSTOCK_WITH_MNEMONIC as buttons should use mnemonics
|
||||
wxSTOCK_FOR_BUTTON = 5
|
||||
};
|
||||
|
||||
// Returns label that should be used for given stock UI element (e.g. "&OK"
|
||||
|
Reference in New Issue
Block a user