Using
a Prebuilt wxHatch Binary
(If you don't already have one, prebuilt binaries for windows and Linux can be downloaded
from the wxHatch website.)
Launch wxHatch!
[if
using the cygwin, msys or Unix environment start wxHatch from the command
line] by typing wxhatch & and press enter]
Initial setup: Choose | Select External Compiler to
select the one you
have.
Obtaining
and compiling the wxWidgets
Library
If you don't already use wxWidgets
you will need to download the wxWidgets library. Either
- Automatic: wxHatch can fetch and automatically compile this using Tools |
Update
- Choose a nearby download server
- click Scan for updates
- Select the recent stable build, and tick the two checkboxes
- click Ok, and the download will be carried out, followed by compilation of the library
- Manual: If you are behind a
firewall, you can
download the library manually:click here for details You will need to select the wxWidgets directory using Choose |
Select wxWidgets Directory Then Build
the wxWidgets Library:
- on Unix (or msys/cygwin)
use Make | Configure and then
Make | Rebuild wxWidgets library
- with
Borland, Digital mars, Microsoft Visual C or Open Watcom
compilers use
Make | Rebuild wxWidgets library
Choosing
a new project: This
provides a selection box for the type of project (e.g. text
application, drawing/imaging application, list box application, new
dialog) and the project will be placed in a new directory with the
selected name.
Build your first
project: Use the Make menu,
and choose Make to build the
project. This will produce a makefile for the compiler selected.
Now choose Make | Run to execute the program.
Initially, this
produces a blank window, colored green, with no menus and which
responds to no mouse events. It can be closed by clicking in the
top right corner;
The
power of wxHatch comes from the ease with which menus and dialogs can
be added, or mouse events handled in the window as
described in Step Two
wxHatch
Home 