Changes needed for new RTL methods, and also various other updates to
wx CVS. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,11 +38,18 @@ bool wxIsStockID(wxWindowID id);
|
||||
// given ID
|
||||
bool wxIsStockLabel(wxWindowID id, const wxString& label);
|
||||
|
||||
enum wxStockLabelQueryFlag
|
||||
{
|
||||
wxSTOCK_NOFLAGS = 0,
|
||||
|
||||
wxSTOCK_WITH_MNEMONIC = 1,
|
||||
wxSTOCK_WITH_ACCELERATOR = 2
|
||||
};
|
||||
|
||||
// Returns label that should be used for given stock UI element (e.g. "&OK"
|
||||
// for wxID_OK):
|
||||
wxString wxGetStockLabel(wxWindowID id,
|
||||
bool withCodes = true,
|
||||
wxString accelerator = wxPyEmptyString);
|
||||
long flags = wxSTOCK_WITH_MNEMONIC);
|
||||
|
||||
|
||||
MustHaveApp(wxBell);
|
||||
|
Reference in New Issue
Block a user