X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e94ee7915bdb56e4a964331cbbd3ff2441e8edef..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/stockitem.h diff --git a/include/wx/stockitem.h b/include/wx/stockitem.h index 05814e8905..b13f84dc12 100644 --- a/include/wx/stockitem.h +++ b/include/wx/stockitem.h @@ -35,9 +35,13 @@ enum wxStockLabelQueryFlag wxSTOCK_WITH_MNEMONIC = 1, 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 + // by default, stock items text is returned with ellipsis, if appropriate, + // this flag allows to avoid having it + wxSTOCK_WITHOUT_ELLIPSIS = 4, + + // return label for button, not menu item: buttons should always use + // mnemonics and never use ellipsis + wxSTOCK_FOR_BUTTON = wxSTOCK_WITHOUT_ELLIPSIS | wxSTOCK_WITH_MNEMONIC }; // Returns label that should be used for given stock UI element (e.g. "&OK"