<html>
+
+<!-- 12/13/2003 - Jeff Grimmett (grimmtooth@softhome.net)
+
+ o Updated for wx namespace.
+-->
+
<head>
<title>wxHTML does wxPython!</title>
</head>
<body bgcolor="#00CCFF">
<h2>Mixing wxPython and wxHTML</h2>
-The widgets on this page were created dynamically on the fly by a custom
-wxTagHandler found in wxPython.lib.wxpTag. You can look at the sources
-and doc-string <a href="../../lib/wxpTag.py">here</a>.
+
+The widgets on this page were created dynamically on the fly by a
+custom wxTagHandler found in wxPython.lib.wxpTag. You can look at the
+sources and doc-string <a href="../../lib/wxpTag.py">here</a>.
+
<p>
The button below is added to the page like this:
+
<pre>
-<center><wxp class="wxButton" width="50%">
+<center><wxp module="wx" class="Button" width="50%">
<param name="label" value="It works!">
- <param name="id" value="wxID_OK">
+ <param name="id" value="ID_OK">
</wxp></center>
</pre>
+
<hr>
+
<center>
-<wxp class="wxButton" width="50%">
+<wxp module="wx" class="Button" width="50%">
<param name="label" value="It works!">
- <param name="id" value="wxID_OK">
+ <param name="id" value="ID_OK">
</wxp>
</center>
+
<p>
Notice that the <b>button click</b> event is actually caught by the panel
that contains this window, which then logs it in the window below.