From b1670f96419fbfad921e366e740bc5efb6ad0178 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 6 Aug 1998 19:49:54 +0000 Subject: [PATCH] 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 --- src/msw/regconf.cpp | 2 +- utils/nplugin/samples/gui/index.html | 34 +++++++++++++++++++++++++ utils/nplugin/samples/simple/index.html | 34 +++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 utils/nplugin/samples/gui/index.html create mode 100644 utils/nplugin/samples/simple/index.html diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 635bdf355d..854d39f7d0 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -282,7 +282,7 @@ bool wxRegConfig::Read(wxString *pStr, } if(IsRecordingDefaults()) - Write(szKey,szDefault); + ((wxRegConfig*)this)->Write(szKey,szDefault); // default value *pStr = szDefault; diff --git a/utils/nplugin/samples/gui/index.html b/utils/nplugin/samples/gui/index.html new file mode 100644 index 0000000000..1d84f3d78f --- /dev/null +++ b/utils/nplugin/samples/gui/index.html @@ -0,0 +1,34 @@ + + +GUI Plugin Demo + + + +

GUI Plugin Demo

+ +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.

+ + + +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.

+ +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.

+ + + + diff --git a/utils/nplugin/samples/simple/index.html b/utils/nplugin/samples/simple/index.html new file mode 100644 index 0000000000..84998d2cd5 --- /dev/null +++ b/utils/nplugin/samples/simple/index.html @@ -0,0 +1,34 @@ + + +Simple Plugin Demo + + + +

Simple Plugin Demo

+ +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.

+ + + +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.

+ +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.

+ + + + -- 2.45.2