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:
Vadim Zeitlin
2000-08-05 15:53:54 +00:00
parent 0b471f42ee
commit 50e38d88a2

View File

@@ -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.