X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a9a0244bcb5ce86ecb515878cf44bebfa0b2fd..7d4911333fc8fedcb8d02974394f30e4286b5a56:/interface/wx/stockitem.h?ds=sidebyside diff --git a/interface/wx/stockitem.h b/interface/wx/stockitem.h index 34801d6578..83baf0f802 100644 --- a/interface/wx/stockitem.h +++ b/interface/wx/stockitem.h @@ -34,7 +34,19 @@ enum wxStockLabelQueryFlag E.g. "Print...\tCtrl-P". This can be combined with wxSTOCK_WITH_MNEMONIC to get "&Print...\tCtrl-P". */ - wxSTOCK_WITH_ACCELERATOR = 2 + wxSTOCK_WITH_ACCELERATOR = 2, + + /** + Return the label appropriate for a button and not a menu item. + + Currently the main difference is that the trailing ellipsis used in + some stock labels is never included in the returned label. Also, the + mnemonics is included if this flag is used. So the returned value for + wxID_PRINT when this flag is used is "&Print". + + This flag can't be combined with wxSTOCK_WITH_ACCELERATOR. + */ + wxSTOCK_FOR_BUTTON = 5 }; /** @addtogroup group_funcmacro_misc */