From: Václav Slavík Date: Mon, 20 Dec 1999 12:48:01 +0000 (+0000) Subject: removed 2nd frame from html test sample; test sample now shows DL,DT,DD support X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8b260fbe33b67311ab69043e8fb1bc4c4d7ac1f2 removed 2nd frame from html test sample; test sample now shows DL,DT,DD support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 574b40ad67..8268532c50 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -109,29 +109,17 @@ // `Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { - wxLogDebug("[starting testing app]"); - #if wxUSE_LIBPNG - wxImage::AddHandler(new wxPNGHandler); - #endif - #if wxUSE_LIBJPEG - wxImage::AddHandler(new wxJPEGHandler); - #endif - #if wxUSE_GIF - wxImage::AddHandler(new wxGIFHandler); - #endif + wxInitAllImageHandlers(); #if wxUSE_FS_INET wxFileSystem::AddHandler(new wxInternetFSHandler); #endif // Create the main application window MyFrame *frame = new MyFrame("wxHtmlWindow testing application", wxPoint(50, 50), wxSize(640, 480)); - MyFrame *frame2 = new MyFrame("wxHtmlWindow testing application, frame 2", - wxPoint(150, 50), wxSize(320, 240)); // Show it and tell the application that it's our main window // @@@ what does it do exactly, in fact? is it necessary here? frame->Show(TRUE); - frame2->Show(TRUE); SetTopWindow(frame); diff --git a/samples/html/test/test.htm b/samples/html/test/test.htm index c056a114b0..acdd00a134 100644 --- a/samples/html/test/test.htm +++ b/samples/html/test/test.htm @@ -263,6 +263,27 @@ And link to BINARY : Unix or Windows
ANOTHER LINK(www.tue.nl) +


+ +

Definition lists

+ +This is definition list (DL,DT,DD): +
+
term +
and it's definition + +
Windows 95 +
Windows 98 +
Windows NT +
so-called operating systems +
Micro$oft trademarks + +
Unix +
operating system +
huh? + +
+...end of DD