Added a few files; fixed some warnings and wxMotif compile problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
wxWindows 2.0 Change Log
|
||||
------------------------
|
||||
wxWindows 2 Change Log
|
||||
----------------------
|
||||
|
||||
Beta 3, January 1999
|
||||
--------------------
|
||||
Beta 3, January 31st 1999
|
||||
-------------------------
|
||||
|
||||
wxGTK:
|
||||
|
||||
- wxClipboard/DnD API changes (still in progress).
|
||||
- wxToolTip class added.
|
||||
- Miscellaneous fixes.
|
||||
|
||||
wxMSW:
|
||||
|
||||
- wxRegConfig DeleteAll bug fixed.
|
||||
@@ -13,6 +17,7 @@ wxMSW:
|
||||
- TWIN32 support added.
|
||||
- Renamed VC++ makefiles from .nt to .vc, and
|
||||
factored out program/library settings.
|
||||
- Fixed wxIniConfig bug.
|
||||
|
||||
wxMotif:
|
||||
|
||||
|
11
docs/gtk/makewxgtk
Normal file
11
docs/gtk/makewxgtk
Normal file
@@ -0,0 +1,11 @@
|
||||
# makewxgtk
|
||||
# Sets permissions (in case we extracted wxGTK from zip files)
|
||||
# and makes wxGTK.
|
||||
# Call from top-level wxWindows directory.
|
||||
# Note that this uses standard (but commonly-used) configure options;
|
||||
# if you're feeling brave, you may wish to compile with threads.
|
||||
# -- Julian Smart
|
||||
chmod a+x configure config.sub config.guess setup/general/* setup/shared/*
|
||||
./configure --with-shared --with-gtk --with-debug_flag --with-debug_info --without-threads -without-odbc
|
||||
make makefiles
|
||||
make
|
@@ -19,14 +19,39 @@ COMPILING USING CONFIGURE
|
||||
you can follow the following steps to use the simpler (but
|
||||
less automatic) makefile system. If using configure, the
|
||||
following script should make the library and samples, when
|
||||
run from the top-level wxWindows directory (see also 'makewx'
|
||||
in this directory):
|
||||
run from the top-level wxWindows directory (see also 'makewxmotif'
|
||||
in this directory). Make this script executable with the command
|
||||
chmod a+x makewxmotif.
|
||||
|
||||
# Make wxMotif using the configure system
|
||||
chmod a+x configure config.sub setup/general/* config.guess setup/shared/*
|
||||
./configure --with-shared --with-motif --with-debug_flag \
|
||||
--with-debug_info --without-threads
|
||||
-------:x-----Cut here-----:x-----
|
||||
# makewxmotif
|
||||
# Sets permissions (in case we extracted wxMotif from zip files)
|
||||
# and makes wxMotif.
|
||||
# Call from top-level wxWindows directory.
|
||||
# Note that this uses standard (but commonly-used) configure options;
|
||||
# if you're feeling brave, you may wish to compile with threads.
|
||||
# -- Julian Smart
|
||||
chmod a+x configure config.sub config.guess setup/general/* setup/shared/*
|
||||
./configure --with-shared --with-motif --without-gtk --with-debug_flag --with-debug_info --without-threads
|
||||
make makefiles
|
||||
make
|
||||
-------:x-----Cut here-----:x-----
|
||||
|
||||
This script will build wxMotif using shared libraries.
|
||||
|
||||
- Change directory to a sample e.g. samples/minimal, and type make.
|
||||
The binary will end up under the Linux (or other appropriate) subdirectory.
|
||||
|
||||
- To build an application outside the wxWindows hierarchy, you can
|
||||
use `wx-config --cflags` when compiling source files and `wx-config --libs`
|
||||
when linking, where wx-config is in the wxWindows root directory.
|
||||
These invocations return the appropriate flags for the compiler.
|
||||
|
||||
- When compiling certain utilities such as Dialog Editor, you may find
|
||||
that the makefile refers to wx-config as above. Unless you have used
|
||||
"make install" to install wxWindows, wx-config won't be found, so
|
||||
either edit the makefile to hard-wire the flags, or place wx-config
|
||||
where it will be found by the makefile.
|
||||
|
||||
COMPILING USING MAKEFILES
|
||||
|
||||
@@ -41,8 +66,6 @@ COMPILING USING MAKEFILES
|
||||
|
||||
export WXWIN=/home/jacs/wx2
|
||||
|
||||
Later, there will be a better makefile system
|
||||
and/or alternate make.env files as per wxWindows 1.68.
|
||||
Please feel free to contribute settings files for your environment.
|
||||
|
||||
- Change directory to src/motif and type:
|
||||
@@ -50,7 +73,10 @@ COMPILING USING MAKEFILES
|
||||
make -f makefile.unx motif
|
||||
|
||||
This should make the library libwx_motif.a in the lib
|
||||
directory.
|
||||
directory. Note that this makefile system does not build shared
|
||||
libraries, only static ones (that is, the wxWindows library will be
|
||||
linked statically; to see remaining dependencies on shared libraries,
|
||||
type e.g. ldd minimal_motif).
|
||||
|
||||
- Make a sample, such as the minimal sample:
|
||||
|
||||
@@ -63,13 +89,13 @@ Notes:
|
||||
------
|
||||
|
||||
- Better installation and makefile systems are
|
||||
required. Although the wxGTK config system can be used to make
|
||||
wxMotif and samples, it can't easily be made to work
|
||||
with applications outside the wxWindows hierarchy. Hence the
|
||||
simple makefile system.
|
||||
required. A revised configure system is in preparation.
|
||||
|
||||
- Debugging mode is switched on by default. To compile in non-debug
|
||||
mode, remove the -D__WXDEBUG__ switch in make.env.
|
||||
mode, remove the -D__WXDEBUG__ switch in make.env (or if using the
|
||||
configure system, change --with-debug_flag to --without_debug_flag
|
||||
and --with-debug_info to --without-debug_info in the makewxmotif
|
||||
script).
|
||||
|
||||
- Some classes can be switched off in include/wx/motif/setup.h,
|
||||
if you are having trouble with a particular file. However,
|
||||
@@ -106,5 +132,5 @@ Notes:
|
||||
wxwin-users@wx.dent.med.uni-muenchen.de
|
||||
|
||||
|
||||
Julian Smart, December 1998.
|
||||
Julian Smart, January 1999.
|
||||
julian.smart@ukonline.co.uk
|
||||
|
@@ -1,5 +0,0 @@
|
||||
# Make wxMotif using the configure system
|
||||
chmod a+x configure config.sub setup/general/* config.guess setup/shared/*
|
||||
./configure --with-shared --with-motif --with-debug_flag --with-debug_info --without-threads
|
||||
make
|
||||
|
11
docs/motif/makewxmotif
Normal file
11
docs/motif/makewxmotif
Normal file
@@ -0,0 +1,11 @@
|
||||
# makewxmotif
|
||||
# Sets permissions (in case we extracted wxMotif from zip files)
|
||||
# and makes wxMotif.
|
||||
# Call from top-level wxWindows directory.
|
||||
# Note that this uses standard (but commonly-used) configure options;
|
||||
# if you're feeling brave, you may wish to compile with threads.
|
||||
# -- Julian Smart
|
||||
chmod a+x configure config.sub config.guess setup/general/* setup/shared/*
|
||||
./configure --with-shared --with-motif --without-gtk --with-debug_flag --with-debug_info --without-threads
|
||||
make makefiles
|
||||
make
|
@@ -25,11 +25,18 @@ Unarchive the required files plus any optional documentation
|
||||
files into a suitable directory such as c:\wx. Alter your
|
||||
WXWIN environment variable to point to this directory.
|
||||
|
||||
Other add-on packages are available from the wxWindows Web site, such as:
|
||||
|
||||
- glcanvas.zip. Use OpenGL in a wxWindows window.
|
||||
- ogl3.zip. Object Graphics Library: build network diagrams, CASE tools etc.
|
||||
- tex2rtf3.zip. Tex2RTF: create Windows Help, HTML, and Word RTF files from
|
||||
the same document source.
|
||||
|
||||
Compilation
|
||||
-----------
|
||||
|
||||
At present, wxWindows compiles with VC++ 4.0/5.0/6.0,
|
||||
BC++ 4.5/5.0, Gnu-Win32 b19/b20, and Mingw32. It may compile
|
||||
BC++ 4.5/5.0, Cygwin b19/b20, and Mingw32. It may compile
|
||||
with 16-bit compilers (BC++ and VC++ 1.5) but this hasn't
|
||||
been tested lately.
|
||||
|
||||
@@ -181,26 +188,29 @@ the debugging version of the library is 90MB, with samples coming in
|
||||
at 40MB :-) However, wxWindows at least makes a good test suite for
|
||||
improving the compiler.
|
||||
|
||||
Gnu-Win32 b19/b20/Mingw32 compilation
|
||||
-------------------------------------
|
||||
Cygwin b19/b20/Mingw32 compilation
|
||||
----------------------------------
|
||||
|
||||
wxWindows 2.0 supports Gnu-Win32/Cygwin b19, b20, Mingw32, and Mingw32/EGCS.
|
||||
wxWindows 2.0 supports Cygwin (formerly GnuWin32) b19, b20, Mingw32, and Mingw32/EGCS.
|
||||
|
||||
Thanks are due to Keith Garry Boyce (garp@opustel.com) and Cygnus for making
|
||||
it all possible.
|
||||
|
||||
From wxWindows 2.0 beta 9, both Gnu-Win32 and Mingw32 (the minimal
|
||||
distribution of Gnu-Win32) can be used with the same makefiles.
|
||||
From wxWindows 2.0 beta 9, both Cygwin and Mingw32 (the minimal
|
||||
distribution of Cygwin) can be used with the same makefiles.
|
||||
|
||||
Here are the steps required:
|
||||
|
||||
- Retrieve and install the latest beta of Gnu-Win32, or Mingw32, as per the
|
||||
- Retrieve and install the latest beta of Cygwin, or Mingw32, as per the
|
||||
instructions with either of these packages.
|
||||
|
||||
- If using Mingw32 (including the EGCS variant), you need some
|
||||
extra files to use the wxWindows makefiles. You can find these
|
||||
files in ports/mingw32 on the ftp site or CD-ROM, as extra.zip.
|
||||
These should be extracted to the Mingw32 directory.
|
||||
If you have already have downloaded bison, flex, make, rm, mv
|
||||
from elsewhere, you won't need this.
|
||||
|
||||
IMPORTANT: also see mingw32.txt in this directory (docs/msw)
|
||||
about a fix that has to be applied to a Mingw32 header file.
|
||||
|
||||
@@ -208,14 +218,16 @@ Here are the steps required:
|
||||
to set up appropriate variables, if necessary mounting drives.
|
||||
Run it before compiling.
|
||||
|
||||
- For Gnu-Win32, make sure there's a \tmp directory on your
|
||||
- For Cygwin, make sure there's a \tmp directory on your
|
||||
Windows drive or bison will crash.
|
||||
|
||||
- Edit wx/src/makeg95.env and search for MINGW32. Take note of
|
||||
the comments for adjusting settings to suit Gnu-Win32 or
|
||||
the comments for adjusting settings to suit Cygwin or
|
||||
Mingw32. Basically, this is just a case of adding the __MINGW32__ symbol
|
||||
to OPTIONS for Mingw32, or removing it for Cygnus Gnu-Win32.
|
||||
to OPTIONS for Mingw32, or removing it for Cygnus Cygwin.
|
||||
For Mingw32/EGCS, add both __MINGW32__ and __EGCS__.
|
||||
You may need to remove -loldnames from WINLIBS for Mingw32, or add it for
|
||||
Cygwin.
|
||||
|
||||
- Mingw32 may not support winsock.h, so comment out
|
||||
socket-related files in src/msw/makefile.g95.
|
||||
@@ -229,7 +241,7 @@ Here are the steps required:
|
||||
|
||||
- Use the 'strip' command to reduce executable size.
|
||||
|
||||
- With Cygnus Gnu-Win32, you can invoke gdb --nw myfile.exe to
|
||||
- With Cygnus Cygwin, you can invoke gdb --nw myfile.exe to
|
||||
debug an executable. If there are memory leaks, they will be
|
||||
flagged when the program quits.
|
||||
|
||||
@@ -244,7 +256,7 @@ Gotchas:
|
||||
- libwx.a is 48 MB or more - but much less if compiled with no
|
||||
debug info (-g0) and level 4 optimization (-O4).
|
||||
- install.exe doesn't have built-in decompression because lzexpand.lib
|
||||
isn't available with Gnu-Win32. However, you can use it with external
|
||||
isn't available with Cygwin. However, you can use it with external
|
||||
decompression utilities.
|
||||
- Doesn't compile src/msw/ole files, so no drag and drop.
|
||||
|
||||
@@ -268,8 +280,11 @@ a tool for writing products with.
|
||||
Use makefile.twn in much the same way as makefile.g95, as
|
||||
described above. Not all sample makefiles are supplied yet.
|
||||
|
||||
Notes
|
||||
-----
|
||||
For some reason, I found I had to copy TWIN32's Windows resource
|
||||
compiler (rc) to the current working directory for it to be found.
|
||||
|
||||
General Notes
|
||||
-------------
|
||||
|
||||
- Debugging: under Windows 95, debugging output isn't output in
|
||||
the same way that it is under NT or Windows 3.1. Set
|
||||
|
@@ -1,7 +1,7 @@
|
||||
wxWindows 2.0
|
||||
-------------
|
||||
wxWindows 2 beta 3
|
||||
------------------
|
||||
|
||||
Welcome to wxWindows 2.0, a sophisticated cross-platform C++
|
||||
Welcome to wxWindows 2, a sophisticated cross-platform C++
|
||||
framework for writing advanced GUI applications using (where
|
||||
possible) the native controls.
|
||||
|
||||
@@ -21,11 +21,14 @@ important documents and samples.
|
||||
Platforms supported
|
||||
-------------------
|
||||
|
||||
wxWindows 2.0 currently supports the following platforms:
|
||||
wxWindows 2 currently supports the following platforms:
|
||||
|
||||
- Windows 3.1, Windows 95/98, Windows NT
|
||||
- Unix with Motif/Lesstif
|
||||
- Unix with GTK+
|
||||
- Most Unix variants with Motif/Lesstif
|
||||
- Most Unix variants with GTK+
|
||||
|
||||
Most popular C++ compilers are supported; see the release notes
|
||||
(available via docs/html/index.htm) for details.
|
||||
|
||||
Files
|
||||
-----
|
||||
@@ -49,7 +52,7 @@ wx200cw.zip Metrowerks CodeWarrior project files
|
||||
Installation
|
||||
------------
|
||||
|
||||
wxWindows 2.0 needs to be compiled before you can test out
|
||||
wxWindows 2 needs to be compiled before you can test out
|
||||
the samples or write your own applications.
|
||||
For installation information, please see the install.txt file
|
||||
in the individual directories:
|
||||
@@ -80,7 +83,7 @@ commercial applications using wxWindows.
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
See docs/changes.txt for a history of changes to wxWindows 2.0.
|
||||
See docs/changes.txt for a history of changes to wxWindows 2.
|
||||
See docs/html/index.htm for an HTML index of the major documents.
|
||||
|
||||
The Windows help files are located in docs/winhelp.
|
||||
@@ -91,7 +94,7 @@ Further information
|
||||
|
||||
The wxWindows Web site is located at:
|
||||
|
||||
http://wxwin.home.ml.org
|
||||
http://www.wxwindows.org
|
||||
|
||||
The wxGTK Web site (with further wxGTK-specific fiels and
|
||||
information) is located at:
|
||||
@@ -106,7 +109,7 @@ A wxWindows CD-ROM with the latest distribution plus an HTML
|
||||
front-end and hundreds of MB of compilers, utilities and other
|
||||
material may be ordered from the CD-ROM page:
|
||||
|
||||
http://wxwin.home.ml.org/cdrom
|
||||
http://www.wxwindows.org/cdrom.htm
|
||||
|
||||
or contact Julian Smart <julian.smart@ukonline.co.uk>.
|
||||
|
||||
|
Reference in New Issue
Block a user