]> git.saurik.com Git - wxWidgets.git/blame - docs/tech/tn0005.txt
fixed to translatable strings output
[wxWidgets.git] / docs / tech / tn0005.txt
CommitLineData
f6bcfd97
BP
1 Adding a wxWindows contribution
2 ===============================
3
4Here are some different kinds of contribution:
5
61. Bug fixes. You can send these to the wx-devel list.
72. New classes. New classes normally go in the contrib hierarchy:
8 please see below for more details. They may be promoted to
9 the main wxWindows hierarchy if they are deemed to be 'core'.
103. A utility application, such as a new dialog editor or
11 file format conversion utility. If adding to the CVS
12 archive, you may put it under the utils hierarchy,
13 preferably with further src and docs directories.
14
15You may or may not wish to add your code to the main wxWindows CVS
16archive. Whether your code is appropriate for this archive
17should first be ascertained by discussing it on wx-devel@wxwindows.org.
18
19The contrib hierarchy
20---------------------
21
22When contributing a new class or set of classes, please
23organise your files in the following hierarchy, so that
24when a user unarchives your contribution, it
25slots neatly into the existing source hierarchy.
26It also simplifies compilation for users, since wxWindows
27makefiles and project files are set up to search in
28contrib/include/wx and contrib/lib. For example, to
29include yourclass.h, the following directive is used:
30
31#include "wx/yourclass/yourclass.h"
32
33Here are the directories:
34
35contrib/include/wx/yourclass/ ; Your header(s) go here
36contrib/src/yourclass/ ; Your source file(s) go here
37contrib/samples/yourclass/ ; Your sample(s) go here
38contrib/docs/latex/yourclass/ ; Your Latex doc sources go here
39contrib/docs/html/yourclass/ ; Your HTML doc files go here
40contrib/docs/htmlhelp/yourclass/ ; Your MS HTML Help doc files go here
41contrib/docs/htb/yourclass/ ; Your wxHTML doc files go here
42contrib/docs/pdf/yourclass/ ; Your PDF doc files go here
43contrib/docs/winhelp/yourclass/ ; Your WinHelp doc files go here
44
45It is recommended that you produce a manual using Tex2RTF, as specified
46in Technical Note TN0003. This allows you to output all the above
47formats, though for PDF you will need Latex and Ghostscript or
48Word and Adobe Acrobat, and for MS HTML Help and WinHelp you need
49the appropriate (freely available) help compilers.
50
51Your binary library files can go in the main lib directory or contrib/lib,
52but the main lib directory is recommended.
53
54Please include a readme.txt in your source directory, and conform
55as much as possible to the coding guidelines specified on the web
56site in the 'Backroom' section. Include as many makefiles as
57possible for different compilers.
58
59Your archive can be in .tgz or .zip format. For inclusion on
60the wxWindows ftp site and CD-ROM, please send your submission to
61Julian Smart <julian@wxwindows.org> as a binary attachment.
62An entry will be added to the Contributions web page.
63
64Author: Julian Smart
65Version: $Id$
66