don't use deprecated toolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f087f1d84a
commit
05e0b047d8
@ -150,7 +150,7 @@ IMPLEMENT_APP(LifeApp)
|
|||||||
|
|
||||||
// some shortcuts
|
// some shortcuts
|
||||||
#define ADD_TOOL(id, bmp, tooltip, help) \
|
#define ADD_TOOL(id, bmp, tooltip, help) \
|
||||||
toolBar->AddTool(id, bmp, wxNullBitmap, false, wxDefaultCoord, wxDefaultCoord, (wxObject *)NULL, tooltip, help)
|
toolBar->AddTool(id, wxEmptyString, bmp, wxNullBitmap, wxITEM_NORMAL, tooltip, help)
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user