]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated toolbar API
authorPaul Cornett <paulcor@bullseye.com>
Tue, 26 Aug 2008 06:34:14 +0000 (06:34 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 26 Aug 2008 06:34:14 +0000 (06:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/life/life.cpp

index fb1bd8bafad3c729a3db0fbc89d8823655de6f08..13376c261c36e9854004817754f16bd9724507c3 100644 (file)
@@ -150,7 +150,7 @@ IMPLEMENT_APP(LifeApp)
 
 // some shortcuts
 #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)
 
 
 // --------------------------------------------------------------------------