]> git.saurik.com Git - wxWidgets.git/blob - docs/msw/bc_ide.txt
patched DoSetClippingRegionAsRegion to update clipping state vars
[wxWidgets.git] / docs / msw / bc_ide.txt
1 Readme for wxWindows 2.0 Ide-files
2 First release Feb. 1999, detlev@reymann-online.de
3
4 1. What you can do with this ide-files
5 2. Where to install the files
6 3. How to modify them for your own needs
7 4. How to create ide-files for your own wxWindows-programs
8
9 1. What you can do with this ide-files
10 ======================================
11
12 There are two ide-files. src\bc32.ide should help you to
13 create the wxWindows libraries from within the Ide of Borlands
14 C++, v. 5.x. Note that this doesn't include debugging code: you
15 need to change the settings if you wish to include debug
16 information. Previously, bc32d.ide was supplied with debug
17 settings, but this proved to time-consuming to maintain.
18
19 2. Where to install the files
20 =============================
21
22 You should copy the files for the libraries into the
23 src-directory of your wxWindows-Installation (e.g. C:\wxwin\src).
24 And the other file for the samples should be copied into the
25 samples-directory (e.g. C:\wxwin\samples).
26
27 (If installing from setup.exe or wx2..._bc.zip the files
28 will be installed into the appropriate directories
29 automatically).
30
31 3. How to modify them for your own needs
32 ========================================
33
34 If your wxWindows-Installation resides on the same drive as your
35 Borland-Compiler and additionally the Borland-Installation is
36 the default (e.g. C:\BC5) then there should be no need to change
37 anything. Otherwise please change the path from within the ide
38 (Options->project->directories). Because we use the
39 $inherit-macro (Julian found the trick), this should work.
40
41 To add a new sample to samples\bc32.ide, follow these steps:
42
43 a. Choose Project->New target... and type in e.g.
44 samples\newsample. Press OK.
45 b. Static, no OWL, MFC or class libraries. Press OK.
46 c. Right-click on the new node, choose Add node... and add
47 ..\lib\wx32.lib. Add any other source files you require.
48 d. Right-click on the new node, choose Edit Local Options.. and
49 add in Directories, specify the following:
50
51 Include: $inherit;.\newsample
52 Library: $inherit;
53 Source: .\newsample
54 Intermediate: .\newsample
55 Final: .\newsample
56
57 4. How to create ide-files for your own wxWindows-programs
58 ==========================================================
59
60 I think you are familiar with the necessary options for your own
61 programm. So I will only describe what is neccessary to link
62 yout programm with the wxWindows-library. If you want to create
63 a ide-file for your own wxWindows-program, create a new project
64 from the menu file->new->project. Deactivate all the
65 standard-options, the only two thing that should be activated is
66 "static" for the libraries, if you want to use the library
67 produced with the library-ide and the checkbox OLE (You can
68 leave this checkbox unchecked, but then you have to add the
69 library \bc5\lib\ole2w32.lib to your project). You have to add
70 the include-path of wxWindows to the include-path in the
71 options-dialog (options->project->directories->include). The
72 result should be something like:
73 path_of_my_program;\bc5\include;\wxwin2\include; Then you have
74 to add the libraries to the project. Open the project-view and
75 activate your programm. Then right-click and choose "add" and
76 select the wxWindows-library (e.g. \wxwin\lib\wx32.lib).