added another inline AddTool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -221,6 +221,16 @@ public:
|
|||||||
// toolbar construction
|
// toolbar construction
|
||||||
// --------------------
|
// --------------------
|
||||||
|
|
||||||
|
// the most commonly used version of AddTool()
|
||||||
|
wxToolBarToolBase *AddTool(int id,
|
||||||
|
const wxBitmap& bitmap,
|
||||||
|
const wxString& shortHelpString = wxEmptyString,
|
||||||
|
const wxString& longHelpString = wxEmptyString)
|
||||||
|
{
|
||||||
|
return AddTool(id, bitmap, wxNullBitmap, FALSE, NULL,
|
||||||
|
shortHelpString, longHelpString);
|
||||||
|
}
|
||||||
|
|
||||||
// If pushedBitmap is NULL, a reversed version of bitmap is created and
|
// If pushedBitmap is NULL, a reversed version of bitmap is created and
|
||||||
// used as the pushed/toggled image. If toggle is TRUE, the button toggles
|
// used as the pushed/toggled image. If toggle is TRUE, the button toggles
|
||||||
// between the two states.
|
// between the two states.
|
||||||
|
Reference in New Issue
Block a user