From: Mattia B. <mat...@li...> - 2006-07-16 12:33:38
|
On Sun, 16 Jul 2006 14:11:51 +0200 herbert breunung <dei...@we...> wrote: > i recognized that there are some thing the other way than in the docs. > please tell me what the undef parameter stands for? Not really. If you use the documented form it will work, you are just using the pre-wxWidgets 2.4. > $tb->AddTool( 10001, $bmp, wxNullBitmap, wxITEM_NORMAL, undef, > 'tooltip', 'statustext' ); Client data. An arbitrary piece of data you can attach to the toolbar item. Regards Mattia |