Various wxMotif fixes. Changed rotate sample to use a wxScrolledWindow
instead of the frame, so it works on wxMotif. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
Readme for wxWindows 2.0 Ide-files
|
||||
First release Feb. 1999, detlev@reymann-online.de
|
||||
|
||||
1. What you can do with this IDE files
|
||||
1. What you can do with the BC++ IDE files
|
||||
2. Where to install the files
|
||||
3. How to modify them for your own needs
|
||||
4. How to create IDE files for your own wxWindows-programs
|
||||
|
||||
1. What you can do with this IDE files
|
||||
======================================
|
||||
1. What you can do with the IDE files
|
||||
=====================================
|
||||
|
||||
There are two IDE files. src\bc32.ide should help you to
|
||||
create the wxWindows libraries from within the Ide of Borlands
|
||||
@@ -40,14 +40,14 @@ $inherit-macro (Julian found the trick), this should work.
|
||||
|
||||
To add a new sample to samples\bc32.ide, follow these steps:
|
||||
|
||||
a. Choose Project->New target... and type in e.g.
|
||||
1. Choose Project->New target... and type in e.g.
|
||||
samples\newsample. Press OK.
|
||||
b. Static, no OWL, MFC or class libraries. Check Multithread
|
||||
2. Static, no OWL, MFC or class libraries. Check Multithread
|
||||
on. Press OK.
|
||||
c. Right-click on the new node, choose Add node... and add
|
||||
3. Right-click on the new node, choose Add node... and add
|
||||
..\lib\wx32.lib and ..\lib\xpm.lib. Add any other source
|
||||
files you require.
|
||||
d. Right-click on the new node, choose Edit Local Options.. and
|
||||
4. Right-click on the new node, choose Edit Local Options.. and
|
||||
add in Directories, specify the following:
|
||||
|
||||
Include: $inherit;.\newsample
|
||||
@@ -59,22 +59,21 @@ d. Right-click on the new node, choose Edit Local Options.. and
|
||||
4. How to create IDE files for your own wxWindows-programs
|
||||
==========================================================
|
||||
|
||||
I think you are familiar with the necessary options for your own
|
||||
program. So I will only describe what is neccessary to link
|
||||
yout program with the wxWindows library. If you want to create
|
||||
an IDE file for your own wxWindows program, create a new project
|
||||
from the menu file->new->project. Deactivate all the
|
||||
standard-options, the only three thing that should be activated is
|
||||
"static" for the libraries, if you want to use the library
|
||||
produced with the library-ide, the checkbox OLE (you can
|
||||
leave this checkbox unchecked, but then you have to add the
|
||||
library \bc5\lib\ole2w32.lib to your project), and the
|
||||
Multithread checkbox. You have to add
|
||||
the include-path of wxWindows to the include-path in the
|
||||
options-dialog (options->project->directories->include). The
|
||||
result should be something like:
|
||||
path_of_my_program;\bc5\include;\wxwin2\include; Then you have
|
||||
to add the libraries to the project. Open the project-view and
|
||||
activate your program. Then right-click and choose "add" and
|
||||
select the wxWindows library (e.g. \wxwin\lib\wx32.lib). Also
|
||||
add the xpm library.
|
||||
If you want to create an IDE file for your own wxWindows program,
|
||||
please follow these steps.
|
||||
|
||||
1. Create a new project from the menu file->new->project.
|
||||
2. Deactivate all the standard-options, the only three things
|
||||
that should be activated are "static" for the libraries,
|
||||
the checkbox OLE (you can leave this checkbox unchecked,
|
||||
but then you have to add the library \bc5\lib\ole2w32.lib
|
||||
to your project), and the Multithread checkbox.
|
||||
3. Add the include-path of wxWindows to the include-path in the
|
||||
options-dialog (options->project->directories->include). The
|
||||
result should be something like:
|
||||
path_of_my_program;\bc5\include;\wxwin2\include;
|
||||
4. Add the libraries to the project. Open the project-view and
|
||||
activate your program. Then right-click and choose "add" and
|
||||
select the wxWindows library (e.g. \wxwin\lib\wx32.lib). Also
|
||||
add the xpm library.
|
||||
|
||||
|
@@ -305,10 +305,25 @@ of how to create your own project files.
|
||||
Borland C++Builder compilation
|
||||
------------------------------
|
||||
|
||||
C++Builder compilation is the same as for Borland C++ above.
|
||||
1. Build the wxWindows libraries using the Borland make utility as
|
||||
specified in the section called "Borland C++ 4.5/5.0 compilation"
|
||||
above. (C++ Builder includes a stand-alone C++ compiler. For example,
|
||||
C++ Builder 4.0 comes with C++ 5.4.)
|
||||
|
||||
Tested with C++Builder 1.0 and 3.0. Only makefiles are currently
|
||||
supplied.
|
||||
2. Create a template .bpr (project) file for new Borland/wxWindows,
|
||||
being sure to make the following settings:
|
||||
|
||||
a) 32 bit compiler
|
||||
b) Defines: __WXMSW__;__WIN95__
|
||||
c) Data alignment=byte
|
||||
d) Include path: \libs\wx2\include
|
||||
|
||||
To use this template project file, just add the wxWindows libraries to
|
||||
the project along with your own source files. If you need to run one or
|
||||
two wx source files in the debugger, include them explicitly in your BCB
|
||||
project and they will get linked in in preference to any files in the
|
||||
lib; just make sure that your include path finds all the wx include
|
||||
files.
|
||||
|
||||
Watcom C++ 10.6/11 compilation
|
||||
---------------------------
|
||||
|
Reference in New Issue
Block a user