Fixed someone's compile error in regconf.cpp (needed a cast to non-const).

Added nplugin sample HTML files, even if the samples have broken :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1998-08-06 19:49:54 +00:00
parent 5de76427c8
commit b1670f9641
3 changed files with 69 additions and 1 deletions

View File

@ -282,7 +282,7 @@ bool wxRegConfig::Read(wxString *pStr,
}
if(IsRecordingDefaults())
Write(szKey,szDefault);
((wxRegConfig*)this)->Write(szKey,szDefault);
// default value
*pStr = szDefault;

View File

@ -0,0 +1,34 @@
<HTML>
<HEAD>
<TITLE>GUI Plugin Demo</TITLE>
</HEAD>
<BODY>
<H1>GUI Plugin Demo</H1>
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.<P>
<EMBED ALIGN=RIGHT SRC="sample.gui" WIDTH=300 HEIGHT=200>
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.<P>
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.<P>
</BODY>
</HTML>

View File

@ -0,0 +1,34 @@
<HTML>
<HEAD>
<TITLE>Simple Plugin Demo</TITLE>
</HEAD>
<BODY>
<H1>Simple Plugin Demo</H1>
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.<P>
<EMBED ALIGN=RIGHT SRC="sample.smp" WIDTH=300 HEIGHT=200>
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.<P>
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.
This just demonstrates how to embed an object into an HTML file.<P>
</BODY>
</HTML>