From 8b283bb88e49a83785c7fbe94fdb0203052022ce Mon Sep 17 00:00:00 2001
From: Julian Smart
+so your program will take on the native 'look and feel' that users are familiar with.
Although GUI applications are mostly built programmatically, there is a dialog editor to help
-build attractive dialogs and panels. Robert Roebling's wxDesigner
+build attractive dialogs and panels. Robert Roebling's wxDesigner
makes light work of resizable, portable dialogs.
-You don't have to use C++ to use wxWindows: wxWindows 1 has been interfaced to several interpreted languages,
-such as CLIPS, Python, Scheme, XLisp and Perl, and there is a Python interface for wxWindows 2.
+You don't have to use C++ to use wxWindows: there is a Python interface for wxWindows 2,
+and also a Perl interface.
-
@@ -65,62 +82,28 @@ quite large for a list of this type.
See Users for a list of some users and their applications, and
also Feedback for comments.
-
-
-The way that events are handled has changed, so for example, where you overrode
-OnSize before, you now have a non-virtual OnSize with a single event class argument.
-To make this function known to wxWindows, you add an entry in an 'event table' using macros. Addition of these macros
-will eventually be made easier by a tool which will allow selection from a list
-and copy-and-paste into your editor. This is extended to button presses, listbox selection
-etc. so callbacks have gone (they may be added back for limited backward compatibility).
-
-The class hierarchy has changed to allow greater flexibility but it probably won't affect your
-existing application. One exception to this is MDI applications which now use separate MDI classes instead of style
-flags. As a result, it won't be possible to switch between MDI and SDI operation at run-time
-without further coding, but a benefit is less interdependence between areas of code,
-and therefore smaller executable size.
-
-Panel items (now called controls) no longer have labels associated with most of them,
-and default panel layout has been removed. The idea is that you make greater use
-of dialog resources, for better-looking dialogs.
-
-
-
-
-
-In other words, wxWindows is not a 'lowest common denominator' approach,
+In other words, wxWindows is not a 'lowest common denominator' approach,
but it will still be possible to write portable programs using the
core API. Forbidding some platform-specific classes would be a stupid
approach that would alienate many potential users, and encourage
the perception that toolkits such as wxWindows are not up to the demands
-of today's sophisticated applications.
+of today's sophisticated applications.
Currently resources such as bitmaps and icons are handled in a platform-specific
way, but it is hoped to reduce this dependence in due course.
-Another reason why wxWindows 2 is not a 'lowest common denominator' toolkit is that
+Another reason why wxWindows 2 is not a 'lowest common denominator' toolkit is that
some functionality missing on some platform has been provided using generic,
platform-independent code, such as the wxTreeCtrl and wxListCtrl classes.
-
There is nothing to stop an application using templates or the string class for its own
-purposes.
+purposes. With wxWindows debugging options on, you may find you get errors when including
+STL headers. You can work around it either by switching off memory checking,
+or by adding this to a header before you include any STL files:
+
+
+
-
@@ -173,12 +167,12 @@ for this widget.
then wxHTML will suit your needs. wxHTML is built into wxWindows - please see the reference
manual for details, and samples/html.
-
To build source from CVS, see the file BuildCVS.txt in the top-level wxWindows distribution
directory.
-
+By ftp, and via the wxWindows CD-ROM.
+
+If you are feeling adventurous, you may also check out the sources directly
+from the cvs
+
-
Other possibilities include: DCOM/CORBA compatibility; a wxWindows book;
-wxStudio, an IDE;
-other platforms; other interface abilities such as speech output.
+wxWorkshop, an IDE;
+other platforms, especially embedded systems; other interface abilities such as speech output.
We will investigate the possibility of compiler or operating system vendors bundling wxWindows with
their product.
@@ -208,17 +206,28 @@ their product.
The high-level goal of wxWindows is to be thought of as the number one C++ framework,
for virtually any platform. Move over, MFC!
-
+You may find more about wxUniversal here.
+
+
-
+Please check out the Community pages,
+in particular the suggested projects, and
+mail Julian Smart or the developers' mailing list with your own suggestions.
diff --git a/docs/html/faqgtk.htm b/docs/html/faqgtk.htm
index ba070ce196..bd6386cbe2 100644
--- a/docs/html/faqgtk.htm
+++ b/docs/html/faqgtk.htm
@@ -22,23 +22,36 @@ wxWindows 2 for GTK FAQ
See also top-level FAQ page.
-
+
+
diff --git a/docs/html/faqmac.htm b/docs/html/faqmac.htm
index 2fb703eaa8..1357289d66 100644
--- a/docs/html/faqmac.htm
+++ b/docs/html/faqmac.htm
@@ -32,15 +32,15 @@ See also top-level FAQ page.
@@ -50,9 +50,9 @@ The author of this port is Stefan Cs
Please note that the version of wxMac in CVS is more robust and nearly feature-complete compared with the packaged 2.0 release.
-Until a new release is made, it is recommended that you download the wxMac 2.3.1 development snapshot or the sources from the CVS trunk.
+Until a new release is made, it is recommended that you download the wxMac 2.3.1 development snapshot or the sources from the CVS trunk.
-
+
diff --git a/docs/html/faqmsw.htm b/docs/html/faqmsw.htm
index be0f8d9091..58dca23c94 100644
--- a/docs/html/faqmsw.htm
+++ b/docs/html/faqmsw.htm
@@ -22,8 +22,26 @@ wxWindows 2 for Windows FAQ
See also top-level FAQ page.
@@ -31,8 +49,8 @@ Windows 95, Windows 98, and Windows NT. A Windows CE version is being looked int
wxWindows 2 is designed to make use of WIN32 features and controls. However, unlike Microsoft,
we have not forgotten users of 16-bit Windows. Most features
work under Windows 3.1, including wxTreeCtrl and wxListCtrl using the generic implementation.
-However, don't expect very Windows-95-specific classes to work, such as wxTaskBarIcon. The wxRegConfig
-class doesn't work either because the Windows 3.1 registry is very simplistic. Check out the 16-bit
+However, don't expect very Windows-95-specific classes to work, such as wxTaskBarIcon. The wxRegConfig
+class doesn't work either because the Windows 3.1 registry is very simplistic. Check out the 16-bit
makefiles to see what other files have been left out.
16-bit compilation is supported under Visual C++ 1.5, and Borland BC++ 4 to 5.
@@ -48,17 +66,17 @@ using wxGTK or wxMotif, then check/debug your wxWindows for Windows
programs with TWIN32, and finally produce an ix86 Windows executable using Cygwin/Mingw32,
without ever needing a copy of Microsoft Windows. See the Technical Note on the Web site detailing cross-compilation.
-
-
@@ -77,43 +95,42 @@ currently the following are known to work:
There is a linking problem with Symantec C++ which I hope someone can help solve.
-
-Borland C++ is fine - and very fast - but it's hard (impossible?) to use the debugger without using project files, and
-the debugger is nowhere near up to VC++'s quality. The IDE isn't great.
+Borland C++ is fine - and very fast - but it's hard (impossible?) to use the debugger without using project files, and
+the debugger is nowhere near up to VC++'s quality. The IDE isn't great.
-C++Builder's power isn't really used with wxWindows since it needs integration with its
-own class library (VCL). For wxWindows, I've only used it with makefiles, in which case
-it's almost identical to BC++ 5.0 (the same makefiles can be used).
+C++Builder's power isn't really used with wxWindows since it needs integration with its
+own class library (VCL). For wxWindows, I've only used it with makefiles, in which case
+it's almost identical to BC++ 5.0 (the same makefiles can be used).
-You can't beat Cygwin's price (free), and you can debug adequately using gdb. However, it's
+You can't beat Cygwin's price (free), and you can debug adequately using gdb. However, it's
quite slow to compile since it does not use precompiled headers.
CodeWarrior is cross-platform - you can debug and generate Windows executables from a Mac, but not
the other way around I think - but the IDE is, to my mind, a bit primitive.
-Watcom C++ is a little slow and the debugger is not really up to today's standards.
+Watcom C++ is a little slow and the debugger is not really up to today's standards.
-
+
+Yes, Unicode is fully supported under Windows NT/2000 (Windows 9x don't
+have Unicode support anyhow).
-
With a DLL approach, and with different versions and configurations of wxWindows
@@ -122,7 +139,7 @@ negating the point of using DLLs. Of course, this is not a problem just associat
wxWindows!
-
+by your application. So for example, the 'minimal' sample is less than 300KB using VC++ 6.
If you want to distribute really small executables, you can
use Petite
@@ -140,60 +157,90 @@ by Ian Luck. This nifty utility compresses Windows executables by around 50%, so
will shrink to a mere 250KB. With this sort of size, there is reduced incentive to
use DLLs.
-
-
-VC++ 5's optimization code seems to be broken and can
+VC++ 5's optimization code seems to be broken and can
cause problems: this can be seen when deleting an object Dialog
Editor, in Release mode with optimizations on. If in doubt,
switch off optimisations, although this will result in much
larger executables. It seems possible that the library can be created with
strong optimization, so long as the application is not strongly
-optimized. For example, in wxWindows project, set to 'Minimum
-Size'. In Dialog Editor project, set to 'Customize: Favor Small
-Code' (and no others). This will then work.
+optimized. For example, in wxWindows project, set to 'Minimum
+Size'. In Dialog Editor project, set to 'Customize: Favor Small
+Code' (and no others). This will then work.
-
-Here are Vadim's notes:
+Here are Vadim's notes:
tmake can be found at
www.troll.no/freebies/tmake.html.
-It's a Perl5 program and so it needs Perl (doh). There is a binary for
-Windows (available from the same page), but I haven't used it, so
-I don't know if it works as flawlessly as "perl tmake" does (note
-for people knowing Perl: don't try to run tmake with -w, it won't
+It's a Perl5 program and so it needs Perl (doh). There is a binary for
+Windows (available from the same page), but I haven't used it, so
+I don't know if it works as flawlessly as "perl tmake" does (note
+for people knowing Perl: don't try to run tmake with -w, it won't
do you any good). Using it extremely simple: to regenerate makefile.b32
just go to distrib/msw/tmake and type
-The makefiles are untested - I don't have any of Borland, Watcom or
-Symantec and I don't have enough diskspace to recompile even with
+The makefiles are untested - I don't have any of Borland, Watcom or
+Symantec and I don't have enough diskspace to recompile even with
VC6 using makefiles. The new makefiles are as close as possible to the
old ones, but not closer: in fact, there has been many strange things
(should I say bugs?) in some of makefiles, some files were not compiled
@@ -205,13 +252,13 @@ The templates are described in tmake ref manual (1-2 pages of text)
and are quite simple. They do contain some Perl code, but my Perl is
primitive (very C like) so it should be possible for anybody to make
trivial modifications to it (I hope that only trivial modifications
-will be needed). I've tagged the ol makefiles as MAKEFILES_WITHOUT_TMAKE
+will be needed). I've tagged the ol makefiles as MAKEFILES_WITHOUT_TMAKE
in the cvs, so you can always retrieve them and compare the new ones,
this will make it easier to solve the problems you might have.
Another important file is filelist.txt: it contains the list of all
files to be compiled. Some of them are only compiled in 16/32 bit mode.
-Some other are only compiled with some compilers (others can't compile
+Some other are only compiled with some compilers (others can't compile
them) - all this info is contained in this file.
So now adding a new file to wxWindows is as easy as modifying filelist.txt
@@ -219,10 +266,10 @@ So now adding a new file to wxWindows is as easy as modifying filelist.txt
need to modify all files manually any more.
Finally, there is also a file vc6.t which I use myself: this one
-generates a project file for VC++ 6.0 (I didn't create vc5.t because
-I don't need it and can't test it, but it should be trivial to create
+generates a project file for VC++ 6.0 (I didn't create vc5.t because
+I don't need it and can't test it, but it should be trivial to create
one from vc6.t - probably the only things to change would be the
-version number in the very beginning and the /Z option - VC5 doesn't
+version number in the very beginning and the /Z option - VC5 doesn't
support edit-and=continue). This is not an officially supported way
of building wxWindows (that is, nobody guarantees that it will work),
but it has been very useful to me and I hope it will be also for
@@ -233,7 +280,7 @@ others. To generate wxWindows.dsp run
Then just include this project in any workspace or open it from VC IDE
and it will create a new workspace for you.
-If all goes well, I'm planning to create a template file for Makefile.ams
+If all goes well, I'm planning to create a template file for Makefile.ams
under src/gtk and src/motif and also replace all makefiles in the samples
subdirectories with the project files from which all the others will be
generated. At least it will divide the number of files in samples
@@ -242,21 +289,21 @@ directory by 10 (and the number of files to be maintained too).
-
+
+
+List of questions in this category
+
+
+
What is wxWindows?
wxWindows is a class library that allows you to compile graphical C++ programs on a range of
different platforms. wxWindows defines a common API across platforms, but uses the native graphical user interface (GUI) on each platform,
-so your program will take on the native 'look and feel' that users are familiar with.Can I use wxWindows 2 for both proprietary (commercial) projects, and GPL'ed projects?
+Can I use wxWindows 2 for both proprietary (commercial) projects, and GPL'ed projects?
Yes. Please see the licence for details, but basically
you can distribute proprietary binaries without distributing any source code, and neither will wxWindows
@@ -57,7 +74,7 @@ keen to fix bugs as soon as possible, though obviously there are no guarantees.
Who uses wxWindows?
Many organisations - commercial, government, and academic - across the
-world. It's impossible to estimate the true number of users, since
+world. It's impossible to estimate the true number of users, since
wxWindows is obtained by many different means, and we cannot monitor
distribution. The mailing list contains around 300-400 entries which is
quite large for a list of this type.How much has the API changed since 1.xx?
-
-It's difficult to summarize, but some aspects haven't changed very much. For example, if you have some
-complex drawing code, you will mostly need to make sure it's parameterised with a device
-context (instead of obtaining one from a window or storing it). You won't have
-to completely rewrite the drawing code.What classes have disappeared?
-
-wxForm, wxTextWindow (subsumed into wxTextCtrl).
-
-Does wxWindows 2 mean that wxWindows 1.xx is dead?
-
-While wxWindows 2 is being developed, there will be further patches to wxWindows 1.xx.
-Obviously we are investing most of our energy into the new code, but we're also trying
-to fix bugs in the current version.What platforms are supported by wxWindows 2?
+What platforms are supported by wxWindows 2?
-
How does wxWindows 2 support platform-specific features?
+How does wxWindows 2 support platform-specific
+features?
This is a hotly-debated topic amongst the developers. My own philosophy
is to make wxWindows as platform-independent as possible, but allow in a
few classes (functions, window styles) that are platform-specific.
For example, Windows metafiles and Windows 95 taskbar icons have
their own classes on Windows, but nowhere else. Because these classes
-are provided and are wxWindows-compatible, it doesn't take much
+are provided and are wxWindows-compatible, it doesn't take much
coding effort for an application programmer to add support for
some functionality that the user on a particular platform might otherwise
miss. Also, some classes that started off as platform-specific, such
@@ -128,24 +111,24 @@ as the MDI classes, have been emulated on other platforms. I can imagine
that even wxTaskBarIcon may be implemented for Unix desktops one day.
Does wxWindows use STL? or the standard string class?
+Does wxWindows use STL? or the standard string class?
No. This is a much-discussed topic that has (many times) ended with the conclusion that it is in
-wxWindows' best interests to avoid use of templates. Not all compilers can handle
+wxWindows' best interests to avoid use of templates. Not all compilers can handle
templates adequately so it would dramatically reduce the number of compilers
and platforms that could be supported. It would also be undersirable to make
wxWindows dependent on another large library that may have to be downloaded and installed.
@@ -158,9 +141,20 @@ by being able to modify our own string class. Some compatibility with the string
has been built into wxString.
+#ifdef new
+#undef new
+#endif
+
+
+Is there a rich edit/markup widget for wxWindows 2?
+Is there a rich edit/markup widget for wxWindows 2?
These are the possibilities so far:How is wxWindows 2 being developed?
+How is wxWindows 2 being developed?
We are using the CVS system to develop and maintain wxWindows. This allows
us to make alterations and upload them instantly to the SourceForge server, from
@@ -187,20 +181,24 @@ which others can update their source.How is wxWindows 2 distributed?
+How is wxWindows 2 distributed?
-By ftp, and via the wxWindows CD-ROM.What are the plans for the future?
+What are the plans for the future?
-Currently we're working too hard on getting wxWindows 2 finished (are GUI toolkits ever
+Currently we're working too hard on getting wxWindows 2 finished (are GUI toolkits ever
finished?) to think very far ahead. However, we know we want to make wxWindows as robust
and well-publicised as possible. We also want to aim for better platform-independence of
resources such as icons and bitmaps, standardising on the PNG for all platforms.What about Java?
+What is wxUniversal?
+
+wxUniversal is a new port of wxWindows being currently actively developed. The
+main difference is that wxUniversal implements all controls (or widgets) in
+wxWindows itself thus allowing to have much more flexibility (i.e. support for
+themes even under MS Windows!). It also means that it is now much easier to
+port wxWindows to a new platform as only the low-level classes must be ported
+which make for a small part of the library.
+What about Java?
The Java honeymoon period is over :-) and people are realising that it cannot
-meet all their cross-platform development needs. We don't anticipate a major threat
+meet all their cross-platform development needs. We don't anticipate a major threat
from Java, and the level of interest in wxWindows is as high as ever.How can I help the project?
+How can I help the project?
-Please check out the Backroom pages,
-in particular the suggested projects, and
-mail Julian Smart or the developers' mailing list with your own suggestions.
-
-What is wxWindows 2 for GTK?
+List of questions in this category
+
wxWindows 2 for GTK is a port of wxWindows to the GTK+ toolkit,
which is freely available for most flavours of Unix with X. wxWindows 2 for GTK is
often abbreviated to wxGTK. wxGTK has a separate home page here.
Does wxGTK have GNOME support?
+Does wxGTK have GNOME support?
Currently wxGTK does not have any features that would involve dependence on any desktop
-environment's libraries, so it can work on GNOME, KDE and with other window managers
+environment's libraries, so it can work on GNOME, KDE and with other window managers
without installation hassles. Some GNOME and KDE integration features are file based, and
so may be added without dependence on libraries. Other features may be supported in the
future, probably as a separate library.
Warning about GTK libraries supplied with RedHat
+
+It seems that some versions of RedHat include a badly patched version of GTK (not wxGTK)
+which causes some trouble with wxWindows' socket code. Common symptoms are that when
+a client tries to establish a connection to an existing server which refuses the request,
+the client will get notified twice, first getting a LOST event and then a CONNECT event.
+This problem can be solved by updating GTK with an official distribution of the library.
+
When is wxMac 2.x due to be released?
-There is a preview available.
+There is a preview available.
The author of this port is Stefan Csomor.
+List of questions in this category
+
+
+
-Which Windows platforms are supported?
+Which Windows platforms are supported?
wxWindows 2 can be used to develop and deliver applications on Windows 3.1, Win32s,
Windows 95, Windows 98, and Windows NT. A Windows CE version is being looked into (see below).What about Windows CE?
+What about Windows CE?
This is under consideration, though we need to get wxWindows Unicode-aware first.
There are other interesting issues, such as how to combine the menubar and toolbar APIs
-as Windows CE requires. But there's no doubt that it will be possible, albeit
+as Windows CE requires. But there's no doubt that it will be possible, albeit
by mostly cutting down wxWindows 2 API functionality, and adding a few classes here
and there. Since wxWindows for 2 produces small binaries (less than 300K for
-the statically-linked 'minimal' sample), shoehorning wxWindows 2 into a Windows CE device's limited
+the statically-linked 'minimal' sample), shoehorning wxWindows 2 into a Windows CE device's limited
storage should not be a problem.What compilers are supported?
+What compilers are supported?
Please see the wxWindows 2 for Windows install.txt file for up-to-date information, but
currently the following are known to work:Which is the best compiler to use with wxWindows 2?
+Which is the best compiler to use with wxWindows 2?
-It's partly a matter of taste, but I (JACS) prefer Visual C++ since the debugger is very
-good, it's very stable, the documentation is extensive, and it generates small executables.
-Since project files are plain text, it's easy for me to generate appropriate project files
+It's partly a matter of taste, but I (JACS) prefer Visual C++ since the debugger is very
+good, it's very stable, the documentation is extensive, and it generates small executables.
+Since project files are plain text, it's easy for me to generate appropriate project files
for wxWindows samples.Is Unicode supported?
+Among the free compilers the best choice seem to be Borland C++ command line
+tools and mingw32 (port of gcc to Win32). Both of them are supported by
+wxWindows.
-Not yet, although there are other internationalisation features.Is Unicode supported?
-However, the issues surrounding Unicode support have been looked into so we know
-what we need to do, and have some header files ready to use containing appropriate
-type definitions. Just about every file in wxWindows will need changes, due to the
-pervasive nature of characters and character arrays. Unicode support is needed
-for the port to Windows CE (see above), and will probably be added in time for version 2.1.Can you compile wxWindows 2 as a DLL?
+Can you compile wxWindows 2 as a DLL?
Yes (using the Visual C++ or Borland C++ makefile), but be aware that distributing DLLs is a thorny issue
-and you may be better off compiling statically-linked applications, unless you're
-delivering a suite of separate programs, or you're compiling a lot of wxWindows applications
+and you may be better off compiling statically-linked applications, unless you're
+delivering a suite of separate programs, or you're compiling a lot of wxWindows applications
and have limited hard disk space.How can I reduce executable size?
+How can I reduce executable size?
You can compile wxWindows as a DLL (see above, VC++/BC++ only at present). You should also
compile your programs for release using non-debugging and space-optimisation options, but
@@ -132,7 +149,7 @@ Statically-linked wxWindows 2 programs are smaller than wxWindows 1.xx programs,
wxWindows 2 has been designed to reduce dependencies between classes, and other
techniques. The linker will not include code from the library that is not (directly or
indirectly) referenced
-by your application. So for example, the 'minimal' sample is less than 300KB using VC++ 6.Is wxWindows compatible with MFC?
+Is wxWindows compatible with MFC?
There is a sample which demonstrates MFC and wxWindows code co-existing in the same
-application. However, don't expect to be able to enable wxWindows windows with OLE-2
+application. However, don't expect to be able to enable wxWindows windows with OLE-2
functionality using MFC.Why do I sometimes get bizarre crash problems using VC++ 5/6?
+Why my code fails to compile with strange errors about new operator?
+
+The most common cause of this problem is the memory debugging settings in
+wx/msw/setup.h. You have several choices:
+
+
+
+
+Notice that IMHO the first solution is preferable for VC++ users who can use
+the VC++ CRT memory debugging features instead.
+
+How do I port MFC applications to wxWindows?
+
+Set up your interface from scratch using wxWindows (especially wxDesigner --
+it'll save you a lot of time) and when you have a shell prepared, you can start
+'pouring in' code from the MFC app, with appropriate
+modifications. This is the approach I have used, and I found
+it very satisfactory. A two-step process then - reproduce the bare
+interface first, then wire it up afterwards. That way you deal
+with each area of complexity separately. Don't try to think MFC
+and wxWindows simultaneously from the beginning - it is easier to
+reproduce the initial UI by looking at the behaviour of the MFC
+app, not its code.
+
+Why do I sometimes get bizarre crash problems using VC++ 5/6?
Some crash problems can be due to inconsistent compiler
-options (and of course this isn't limited to wxWindows).
+options (and of course this isn't limited to wxWindows).
If strange/weird/impossible things start to happen please
check (dumping IDE project file as makefile and doing text comparison
if necessary) that the project settings, especially the list of defined
symbols, struct packing, etc. are exactly the same for all items in
the project. After this, delete everything (including PCH) and recompile.How are the wxWindows makefiles edited under Windows?
+How are the wxWindows makefiles edited under Windows?
As of wxWindows 2.1, there is a new system written by Vadim Zeitlin, that
generates the makefiles from templates using tmake.
-To use these new makefiles, you don't need anything (but see below).
+To use these new makefiles, you don't need anything (but see below).
However, you should NOT modify them because these files will be
rewritten when I regenerate them using tmake the next time. So, if
you find a problem with any of these makefiles (say, makefile.b32)
-you'll need to modify the corresponding template (b32.t in this
+you'll need to modify the corresponding template (b32.t in this
example) and regenerate the makefile using tmake.
tmake -t b32 wxwin.pro -o ../../src/msw/makefile.b32
How do you use VC++'s memory leak checking instead of that in wxWindows?
+How do you use VC++'s memory leak checking instead of that in wxWindows?
Vadim Zeitlin:
-On the VC++ level, it's just the matter of calling _CrtSetDbgFlag() in the very
+On the VC++ level, it's just the matter of calling _CrtSetDbgFlag() in the very
beginning of the program. In wxWindows, this is done automatically when
compiling with VC++ in debug mode unless wxUSE_GLOBAL_MEMORY_OPERATORS or
__NO_VC_CRTDBG__ are defined - this check is done in wx/msw/msvcrt.h which
is included from app.cpp which then calls wxCrtSetDbgFlag() without any
-#ifdefs.
+ifdefs.
This works quite well: at the end of the program, all leaked blocks with their
malloc count are shown. This number (malloc count) can be used to determine
-where exactly the object was allocated: for this it's enough to set the variable
+where exactly the object was allocated: for this it's enough to set the variable
_crtBreakAlloc (look in VC98\crt\srs\dbgheap.c line 326) to this number and
a breakpoint will be triggered when the block with this number is allocated.
@@ -267,6 +314,14 @@ Regards,
VZ
+Why are menu hotkeys or shortcuts not working in my application?
+
+This can happen if you have a child window intercepting EVT_CHAR events and swallowing
+all keyboard input. You should ensure that event.Skip() is called for all input that
+isn'used by the event handler.
+
diff --git a/docs/html/platform.htm b/docs/html/platform.htm
index 72442a67b5..3fce58d0d9 100644
--- a/docs/html/platform.htm
+++ b/docs/html/platform.htm
@@ -1,3 +1,4 @@
+
@@ -31,7 +32,7 @@ If you have tested wxWindows on a platform not mentioned here, please tell us ab We would especially like to have information about compiling wxGTK on other Unix variants, such as IRIX, DG-UX, other flavours of BSD, ... Please note that you will generally need GNU make (also known as gmake) to compile wxWindows, native make programs -often don't work. +often don't work.
Win32 (Windows 9x/NT) | -Visual C++ 4.2/5.x/6.0 | ![]() | VZ, JS | Project files are provided for all versions except 4.2 | -||||
Borland C++ 5.0 | ![]() | Also works with free command line Borland C++ 5.5 | -||||||
Mingw32 | ![]() | GRG, VZ | Cross compilation from Linux works as well + | Win32 (Win 9x/NT/2K) |
+ Visual C++ 4.2/5.x/6.0 | ![]() | VZ, JS | Project files are provided for all versions except 4.2 | +
Borland C++ 5.0 | ![]() | Also works with free command line Borland C++ 5.5 | +||||||
Mingw32 | ![]() | GRG, VZ | Cross compilation from Linux works as well Version 2.95.2 recommended, otherwise some (included) patches must be applied - Memory debugging code doesn't seem to work well |
-|||||
Cygwin | ![]() | Stephane Junique Andrea Venturoli | tested under NT 4, cross-compiling for mingw also works | -|||||
Watcom C++ 10 | ![]() | JS | Tested with 10.6: works, but wxImage seems to be broken no support for JPEG, TIFF or OpenGL |
-|||||
Watcom C++ 11 | ![]() | Markus Neifer | Tested with 11.0b under win95 | -|||||
Symantec C++ | ![]() | |||||||
Cygwin | ![]() | Stephane Junique Andrea Venturoli | tested under NT 4, cross-compiling for mingw also works | +|||||
Watcom C++ 10 | ![]() | JS | Tested with 10.6: works, but wxImage seems to be broken no support for JPEG, TIFF or OpenGL |
+|||||
Watcom C++ 11 | ![]() | Markus Neifer | Tested with 11.0b under win95 | +|||||
Symantec C++ | ![]() | |||||||
Win16 (Windows 3.1) | -Visual C++ 1.52 | ![]() | Win16 (Windows 3.1) |
+ Visual C++ 1.52 | ![]() | Some features are missing (OLE related classes, threads, ...) - Borland C++ can't cope with ODBC, resources and new wxGrid class |
-||
Borland C++ 4.0/5.0 | ![]() | JS | + Borland C++ can't cope with ODBC, resources and new wxGrid class +||||||
Borland C++ 4.0/5.0 | ![]() | JS | ||||||
Linux | -wxGTK with gcc 2.7.2 | ![]() | Should work, but nobody uses it any more | -|||||
wxGTK with egcs 1.1.1 | ![]() | VZ, RR | ||||||
wxGTK with gcc 2.95 | ![]() | |||||||
wxMotif with egcs 1.1.1 | ![]() | with LessTif 0.87 | +Linux x86 | +wxGTK with gcc 2.7.2 | ![]() | Should work, but nobody uses it any more | +||
wxGTK with egcs 1.1.1 | ![]() | VZ, RR | ||||||
wxGTK with gcc 2.95 | ![]() | |||||||
wxMotif with egcs 1.1.1 | ![]() | with LessTif 0.87 | +||||||
wxMotif with gcc 2.95 | ![]() | with OpenMotif | ||||||
FreeBSD | -wxGTK with gcc | ![]() | VZ | Limited thread support on older systems | +wxGTK with gcc | ![]() | VZ | Limited thread support on older systems |
Solaris | -wxMotif with Sun CC 4.2 | ![]() | VZ | Thread support must be disabled on system with not MT-safe X11 | -||||
wxMotif with gcc | ![]() | |||||||
wxGTK with Sun CC 4.2 | ![]() | Shiv Shankar Ramakrishnan | ||||||
wxGTK with gcc | ![]() | Solaris | +wxMotif with Sun CC 4.2 | ![]() | VZ | Thread support must be disabled on system with not MT-safe X11 | +||
wxMotif with gcc | ![]() | |||||||
wxGTK with Sun CC 4.2 | ![]() | Shiv Shankar Ramakrishnan | ||||||
wxGTK with gcc | ![]() | |||||||
wxGTK with Sun CC 5.0 and 6.1 (Solaris 7 and 8) | ![]() | Jiri Mracek | You have to edit line 2079 in glib.h to fix GTK+ error | |||||
AIX | -wxGTK with AIX CC | ![]() | ||||||
wxMotif with xlC (AIX 4.2) | ![]() |
+ wxGTK with AIX CC | ![]() | |||||
wxMotif with xlC 3.1.4.0 (AIX 4.2) | ![]() |
Bernhard Eck | Some problems with OpenGL and native X server | |||||
HP-UX | +HP-UX 10.20 | wxGTK with HP CC A.10.22 or HP aCC B3910B A.01.18 - | ![]() | Staf Verhaegen | +![]() | Staf Verhaegen | you need to add -Aa -D_HPUX_SOURCE to CFLAGS | -|
wxGTK with gcc | ![]() | |||||||
wxGTK with gcc | ![]() | Julian Albo Garcia | ||||||
IRIX | -wxGTK | ![]() | You may need to use --disable-catch_segvs if you get compiler error in utilsunx.cpp |
-|||||
wxMotif with MIPSPro 7.30 | ![]() | David Marshall | On IRIX 6.5.6 (Indigo2, 64bit), with SGI Motif 1.2 | +IRIX | +wxGTK | ![]() | You may need to use --disable-catch_segvs if you get compiler error in utilsunx.cpp | +|
wxMotif with MIPSPro 7.30 | ![]() | David Marshall | On IRIX 6.5.6 (Indigo2, 64bit), with SGI Motif 1.2 | +|||||
wxMotif with "CC -mips3 -n32" | ![]() | Ian | You need to set LD_LIBRARYN32_PATH | |||||
SCO UnixWare | -wxGTK with gcc | ![]() | William Suetholz | UnixWare 2.1.3 with UnixWare 7 compatibility PTF | +wxGTK with gcc | ![]() | William Suetholz | UnixWare 2.1.3 with UnixWare 7 compatibility PTF |
DEC OSF/1 | -wxGTK with gcc | ![]() | Fabrice Didierjean | OSF1 4.0 on Dec Alpha + | wxGTK with gcc | ![]() | Fabrice Didierjean | OSF1 4.0 on Dec Alpha you may need to run configure with --host=alpha-dec-osf switch |
OS/2 | -VisualAge 3.0/4.0 | ![]() | DW | +VisualAge 3.0/4.0 | ![]() | DW | OS/2 port is work in progress... | -|
EMX | ![]() | SN | -||||||
wxGTK with EMX | ![]() | SN | configure scripts need to be regenerated with OS/2 port of autoconf | -|||||
wxMotif with EMX | ![]() | SN | with LessTif 0.89; configure scripts need to be regenerated with OS/2 port of autoconf | +|||||
EMX | ![]() | SN | +||||||
wxGTK with EMX | ![]() | SN | configure scripts need to be regenerated with OS/2 port of autoconf | +|||||
wxMotif with EMX | ![]() | SN | with LessTif 0.89; configure scripts need to be regenerated with OS/2 port of autoconf | +|||||
OpenVMS | +wxGTK with Compaq-C++ V6.2 (OpenVMS Alpha 7.3) | ![]() | Jouk Jansen | |||||
Linux S/390 | +wxGTK with gcc 2.95.2 | ![]() | VZ | 2.3.1+ only |