X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b283bb88e49a83785c7fbe94fdb0203052022ce..4589ec39c0a8fb5268f577dfdeea2ccce7fb88d1:/docs/html/faqgen.htm
diff --git a/docs/html/faqgen.htm b/docs/html/faqgen.htm
index 0c14ce0fe1..43776e0578 100644
--- a/docs/html/faqgen.htm
+++ b/docs/html/faqgen.htm
@@ -1,19 +1,18 @@
-
wxWindows 2 FAQ: General
-
+
-
+
-
-
-wxWindows 2 FAQ: General
+ |
+
+wxWindows 2 FAQ: General
|
@@ -31,6 +30,7 @@ See also top-level FAQ page.
How does wxWindows 2 support platform-specific features?
Does wxWindows use STL? or the standard string class?
Is there a rich edit/markup widget for wxWindows 2? li>
+How to use C++ exceptions with wxWindows? li>
How is wxWindows 2 being developed?
How is wxWindows 2 distributed?
What are the plans for the future?
@@ -172,6 +172,34 @@ no wxWindows wrapper for these (but text attribute functions are being added in
+
+
+wxWindows library itself is unfortunately not exception-safe (as its
+initial version predates, by far, the addition of the exceptions to the C++
+language). However you can still use the exceptions in your own code and use
+the other libraries using the exceptions for the error reporting together with
+wxWindows.
+
+
+There are a few issues to keep in mind, though:
+
+ - You shouldn't let the exceptions propagate through wxWindows code,
+ in particular you should always catch the exceptions thrown by the
+ functions called from an event handler in the handler itself and not
+ let them propagate upwards to wxWindows.
+
+
- You may need to ensure that the compiler support for the exceptions is
+ enabled as, considering that wxWindows itself doesn't use the
+ exceptions and turning their support on results in the library size
+ augmentation of 10% to 20%, it is turned off by default for a few
+ compilers. Moreover, for gcc (or at least its mingw version) you must
+ also turn on the RTTI support to be able to use the exceptions, so you
+ should use --disable-no_rtti --disable-no_exceptions options
+ when configuring the library (attention to the double negation).
+
+
+
+
We are using the CVS system to develop and maintain wxWindows. This allows