]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/html/faqgtk.htm
Send all menu item actions to a dedicated target. This is to ensure
[wxWidgets.git] / docs / html / faqgtk.htm
index df33965ef4df19877fbe2618fdf4186bedc32f0f..a7f7985a41a28c636ba54155938c391a74beca34 100644 (file)
@@ -32,7 +32,8 @@ See also <a href="faq.htm">top-level FAQ page</a>.
 <li><a href="#redhat">Warning about GTK libraries supplied with RedHat</a></li>
 <li><a href="#bincompat">What range of Intel Linux platforms will a given application binary be usable on?</a></li>
 <li><a href="#static">Can I statically link the GTK+ library?</a></li>
-<li><a href="#charinframe">Why does my simple program using <tt>EVT_CHAR</tt> doesn't work?</a></li>
+<li><a href="#charinframe">Why does my simple program using <tt>EVT_CHAR</tt> not work?</a></li>
+<li><a href="#debugging">How do I trace the cause of an X11 error such as BadMatch?</a></li>
 </ul>
 
 <hr>
@@ -99,7 +100,7 @@ No, this is not possible. It leads to crashes in GTK+.
 <P>
 
 <h3><a name="#charinframe">Why does my simple program using
-<tt>EVT_CHAR</tt> doesn't work?</a></h3>
+<tt>EVT_CHAR</tt> not work?</a></h3>
 
 In wxGTK, the frames never get focus and so can never receive <tt>CHAR</tt>
 nor <tt>KEY</tt> events so an <tt>EVT_CHAR</tt> handler for a frame will be
@@ -109,6 +110,14 @@ frame.
 
 <p>
 
+<h3><a name="#debugging">How do I trace the cause of an X11 error such as BadMatch?</h3>
+
+When a fatal X11 error occurs, the application quits with no stack trace.
+To find out where the problem is, put a breakpoint on g_log (<tt>b g_log</tt>
+in gdb).
+
+<p>
+
 </font>
 
 </BODY>