wxArtProvider HOWTO extended: update documentation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-04-16 23:03:35 +00:00
parent a81c3c2383
commit 0dec0ec2a7

View File

@@ -22,11 +22,14 @@ when adding new bitmap/icon.
First of all, you have to add new wxArtID constant to include/wx/artprov.h.
Look for "Art IDs" and add new definition to the list, e.g.
#define wxART_MY_BITMAP _T("my_bitmap")
Add it to docs/latex/wx/artprov.tex, too.
It may happen that the intended use of the new resource doesn't fit into any
of defined client categories (search for "Art clients" in the header). In case
the new resource is part of a larger category, you need to define a new
client. Just add it to the list of existing clients:
client. Just add it to the list of existing clients (and don't forget to
update artprov.tex):
#define wxART_MY_CLIENT _T("my_client_C")
(Note that you *have* to add the trailing "_C"!)