X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21d93bcea56017e2792157abf302df30a4846adf..066f3611df971be93b2ec46b82c2f05f3ff9a422:/docs/tech/tn0001.txt diff --git a/docs/tech/tn0001.txt b/docs/tech/tn0001.txt index 9c9ece5f78..68d9a98567 100644 --- a/docs/tech/tn0001.txt +++ b/docs/tech/tn0001.txt @@ -1,4 +1,4 @@ - How to add a new sample to wxWindows. + How to add a new sample to wxWidgets. ===================================== To add a new sample "foo" under directory "samples/foo" you need to do @@ -42,12 +42,15 @@ samples/ with demos/ where needed). by running "autoconf" on a Unix system in the corresponding directory. 5. Add a short description of what the sample does and how does it work - to the "samples overview" section in the wxWindows manual. That section + to the "samples overview" section in the wxWidgets manual. That section lives in docs/latex/wx/tsamples.tex; look at the descriptions for other samples, if you are not familiar with LaTeX. -6. Add sample's files to build/bakefiles/make_dist.mk and - distrib/msw/{generic.rsp,makefile.rsp,vc.rsp}. +6. Add any non-standard sample's files to build/bakefiles/make_dist.mk (the + makefiles copies all bmp, cpp, h, ico, png, rc, xpm and makefiles by + default, you only need to update it if the sample uses some other files) + and run the ./update-manifests.sh script in distrib/scripts (don't forget + to check the changes to manifests/*.rsp files in). === EOF ===