How to get standard menu icons
BlitzMax Forums/Brucey's Modules/How to get standard menu icons
| ||
I was originally going to use wxArtProvider.GetBitmap(...) but it only has the following icons: I need to get the standard menu icons for Add and Delete (if I use wxID_Add when I create menuitem it automatically sets a bitmap). |
| ||
When you say get them, you mean you want access to the image that is used? |
| ||
Yes, as in a wxBitmap.. So I can then.. m_toolBar2.AddTool(tID_tool_Save, "Save", menubitmap, wxNullBitmap, wxITEM_NORMAL, "Save Project", "Saves the current project") EDIT: Unless, are there the same standard toolid's as there are menu id's? |
| ||
I think they are the same.... try it and see... if not I'll need to have a dig around, but I wouldn't be too hopeful. |
| ||
Nope ;( |