Tidied up wxHTML About HTML file (missing /td, /tr etc.: how did that work? :-));

added sample entries to index.htm; fixed some wxUSE_SPINBUTTON -> wxUSE_SPINBTN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-11-07 12:36:36 +00:00
parent 65dd82cbce
commit ad556aa948
7 changed files with 78 additions and 27 deletions

View File

@ -1024,3 +1024,15 @@ samples/menu/*.png
samples/menu/*.ico samples/menu/*.ico
samples/menu/*.txt samples/menu/*.txt
samples/font/*.cpp
samples/font/*.h
samples/font/makefile*
samples/font/*.rc
samples/font/*.def
samples/font/*.bmp
samples/font/*.xpm
samples/font/*.xbm
samples/font/*.png
samples/font/*.ico
samples/font/*.txt

View File

@ -211,6 +211,7 @@ using wxMDIParentFrame, wxMDIChildFrame.
dynamically. dynamically.
<li><a href="../../samples/forty">forty</a>: a great little card game by Chris Breeze. A <li><a href="../../samples/forty">forty</a>: a great little card game by Chris Breeze. A
fully-fledged application! fully-fledged application!
<li><a href="../../samples/font">font</a>: tests fonts, font enumerator, font encodings.
<li><a href="../../samples/fractal">fractal</a>: fractal mountains by Andrew Davison. <li><a href="../../samples/fractal">fractal</a>: fractal mountains by Andrew Davison.
<li><a href="../../samples/grid">grid</a>: demonstrates the wxGrid class. <li><a href="../../samples/grid">grid</a>: demonstrates the wxGrid class.
<li><a href="../../samples/help">help</a>: shows how to use wxHelpController. <li><a href="../../samples/help">help</a>: shows how to use wxHelpController.
@ -232,6 +233,7 @@ applications and also as a help facility.
<li><a href="../../samples/layout">layout</a>: shows the constraint layout system in action. <li><a href="../../samples/layout">layout</a>: shows the constraint layout system in action.
<li><a href="../../samples/listctrl">listctrl</a>: demonstrates the wxListCtrl (implemented natively on <li><a href="../../samples/listctrl">listctrl</a>: demonstrates the wxListCtrl (implemented natively on
WIN32, and using a generic version on other platforms). WIN32, and using a generic version on other platforms).
<li><a href="../../samples/menu">menu</a>: tests menus.
<li><a href="../../samples/mdi">mdi</a>: shows off the MDI (Multiple Document Interface) classes. On Windows, the regular MDI <li><a href="../../samples/mdi">mdi</a>: shows off the MDI (Multiple Document Interface) classes. On Windows, the regular MDI
scheme is used whereby child windows have full sizing and moving rights within the main scheme is used whereby child windows have full sizing and moving rights within the main
window. On other platforms, tabbed windows are used, where the children are always maximized. window. On other platforms, tabbed windows are used, where the children are always maximized.
@ -245,6 +247,7 @@ small a wxWindows application as you can get.
<li><a href="../../samples/nativdlg">nativdlg</a>: shows how wxWindows can load a standard Windows <li><a href="../../samples/nativdlg">nativdlg</a>: shows how wxWindows can load a standard Windows
dialog resource, translating the controls into wxWindows controls (Windows only). dialog resource, translating the controls into wxWindows controls (Windows only).
<li><a href="../../samples/nettest">nettest</a>: wxDialUpManager demo. <li><a href="../../samples/nettest">nettest</a>: wxDialUpManager demo.
<li><a href="../../samples/newgrid">newgrid</a>: demonstrates the new wxGrid implementation, by Michael Bedward.
<li><a href="../../samples/notebook">notebook</a>: shows the wxNotebook (tabbed window) control. <li><a href="../../samples/notebook">notebook</a>: shows the wxNotebook (tabbed window) control.
<li><a href="../../samples/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires <li><a href="../../samples/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires
Excel to be present). Excel to be present).
@ -258,6 +261,9 @@ Excel to be present).
facilities. facilities.
<li><a href="../../samples/sashtest">sashtest</a>: demonstrates use of the wxSashWindow class to allow <li><a href="../../samples/sashtest">sashtest</a>: demonstrates use of the wxSashWindow class to allow
the user to resize subwindows. the user to resize subwindows.
<li><a href="../../samples/scroll">scroll</a>: demonstrates wxScrolledWindow.
<li><a href="../../samples/scrollsub">scrollsub</a>: demonstrates the use of wxScrolledWindow to scroll
an embedded window.
<li><a href="../../samples/splitter">splitter</a>: demonstrates the wxSplitterWindow class. <li><a href="../../samples/splitter">splitter</a>: demonstrates the wxSplitterWindow class.
<li><a href="../../samples/tab">tab</a>: demonstrates the generic tab window class. You should <li><a href="../../samples/tab">tab</a>: demonstrates the generic tab window class. You should
normally use wxNotebook instead, but the generic code is sometimes useful, for example for normally use wxNotebook instead, but the generic code is sometimes useful, for example for

View File

@ -141,17 +141,14 @@ project files are unlikely to be compatible, so use one method or
the other. the other.
Note (3): VC++ 5's optimization code seems to be broken and can Note (3): VC++ 5's optimization code seems to be broken and can
cause problems: this can be seen when deleting an object Dialog cause both compile and run-time problems: this can be seen when
Editor, in Release mode with optimizations on. If in doubt, deleting an object Dialog Editor, in Release mode with optimizations
switch off optimisations, although this will result in much on. If in doubt, switch off optimisations, although this will result in much
larger executables. It seems possible that the library can be created with larger executables. It seems possible that the library can be created with
strong optimization, so long as the application is not strongly strong optimization, so long as the application is not strongly
optimized. For example, in wxWindows project, set to 'Minimum optimized. For example, in wxWindows project, set to 'Minimum
Size'. In Dialog Editor project, set to 'Customize: Favor Small Size'. In Dialog Editor project, set to 'Customize: Favor Small
Code' (and no others). This will then work. Code' (and no others). This will then work.
Note also that a bug in the compiler, even without optimization,
causes dobjcmn.cpp to produce an internal error, so setup.h
switches off drag and drop for VC++ 5.
Similarly, in VC++ 4, optimization can cause internal compiler Similarly, in VC++ 4, optimization can cause internal compiler
errors, so edit src\makevc.env and change /O1 to /Od before errors, so edit src\makevc.env and change /O1 to /Od before
@ -388,7 +385,7 @@ Notes:
- Doesn't compile src/msw/ole files, so no drag and drop. - Doesn't compile src/msw/ole files, so no drag and drop.
- There's a bug in the Mingw32 headers for some distributions. - There's a bug in Mingw32 headers for some early distributions.
in include/windows32/defines.h, where it says: in include/windows32/defines.h, where it says:

View File

@ -453,11 +453,12 @@
#endif #endif
// Problem with VC++ 5 and dobjcmn.cpp // Problem with VC++ 5 and dobjcmn.cpp
/*
#if defined(_MSC_VER) && (_MSC_VER > 1020) && (_MSC_VER < 1200) #if defined(_MSC_VER) && (_MSC_VER > 1020) && (_MSC_VER < 1200)
#undef wxUSE_DRAG_AND_DROP #undef wxUSE_DRAG_AND_DROP
#define wxUSE_DRAG_AND_DROP 0 #define wxUSE_DRAG_AND_DROP 0
#endif #endif
*/
#endif #endif
// _WX_SETUP_H_ // _WX_SETUP_H_

View File

@ -49,12 +49,13 @@
#ifdef __WIN16__ #ifdef __WIN16__
// Win16 doesn't have them // Win16 doesn't have them
#ifndef wxUSE_SPINBTN #ifdef wxUSE_SPINBTN
#undef wxUSE_SPINBTN #undef wxUSE_SPINBTN
#endif
#define wxUSE_SPINBTN 0 #define wxUSE_SPINBTN 0
#else #else
#if !defined(wxUSE_SPINBTN) #ifndef wxUSE_SPINBTN
#define wxUSE_SPINBTN 1 #define wxUSE_SPINBTN 1
#endif #endif
#endif // __WIN16__ #endif // __WIN16__

View File

@ -1,17 +1,35 @@
<html><body bgcolor="#FFFFFF"><table cellspacing=3 cellpadding=4 width="100%"> <html>
<tr><td bgcolor="#101010"> <body bgcolor="#FFFFFF">
<center><font size=+2 color="#FFFFFF"><b> <table cellspacing=3 cellpadding=4 width="100%">
<br>wxHTML Library Sample 0.2.0<br> <tr>
</b></font></center> <td bgcolor="#101010">
<tr><td bgcolor="#73A183"> <center>
<b><font size=+1>Copyright (C) 1999 Vaclav Slavik</font></b><p> <font size=+2 color="#FFFFFF"><b><br>wxHTML Library Sample 0.2.0<br></b>
<font size=-1> </font>
<table cellpadding=0 cellspacing=0 width="100%"> </center>
<tr><td width="65%"> </td>
Vaclav Slavik (slavik2@czn.cz)<br>Someone Else (selse@hell.org)<p> </tr>
<td valign=top><img src="logo.png"> <tr>
<td bgcolor="#73A183">
<b><font size=+1>Copyright (C) 1999 Vaclav Slavik</font></b><p>
<font size=-1>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td width="65%">
Vaclav Slavik (slavik2@czn.cz)<p>
</td>
<td valign=top>
<img src="logo.png">
</td>
</tr>
</table>
<font size=1>
The wxHTML library is available at <font color="#0000FF">http://www.ms.mff.cuni.cz/~vsla8348/wxhtml</font><br>
Licenced under wxWindows Library Licence, Version 3.
</font>
</font>
</td>
</tr>
</table> </table>
<font size=-2> </body>
The wxHTML library is available at <font color="#0000FF">http://www.ms.mff.cuni.cz/~vsla8348/wxhtml</font><br> </html>
The library is licenced under wxWindows Library Licence, Version 3.
</font></font></table></body></html>

View File

@ -60,6 +60,8 @@ all:
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\dynamic cd $(WXDIR)\samples\dynamic
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\font
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\forty cd $(WXDIR)\samples\forty
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\fractal cd $(WXDIR)\samples\fractal
@ -88,6 +90,8 @@ all:
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\mdi cd $(WXDIR)\samples\mdi
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\menu
nmake -f makefile.vc FINAL=$(FINAL)
!if "$(FINAL)" == "0" !if "$(FINAL)" == "0"
cd $(WXDIR)\samples\memcheck cd $(WXDIR)\samples\memcheck
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
@ -102,6 +106,8 @@ all:
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\nativdlg cd $(WXDIR)\samples\nativdlg
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\nettest
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\notebook cd $(WXDIR)\samples\notebook
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\oleauto cd $(WXDIR)\samples\oleauto
@ -126,6 +132,8 @@ all:
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\scroll cd $(WXDIR)\samples\scroll
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\scrollsub
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\splitter cd $(WXDIR)\samples\splitter
nmake -f makefile.vc FINAL=$(FINAL) nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\tab cd $(WXDIR)\samples\tab
@ -178,6 +186,8 @@ clean:
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\dynamic cd $(WXDIR)\samples\dynamic
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\font
nmake -f makefile.vc clean
cd $(WXDIR)\samples\forty cd $(WXDIR)\samples\forty
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\fractal cd $(WXDIR)\samples\fractal
@ -208,12 +218,16 @@ clean:
!endif !endif
cd $(WXDIR)\samples\mfc cd $(WXDIR)\samples\mfc
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\menu
nmake -f makefile.vc clean
cd $(WXDIR)\samples\minifram cd $(WXDIR)\samples\minifram
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\minimal cd $(WXDIR)\samples\minimal
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\nativdlg cd $(WXDIR)\samples\nativdlg
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\nettest
nmake -f makefile.vc clean
cd $(WXDIR)\samples\notebook cd $(WXDIR)\samples\notebook
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\oleauto cd $(WXDIR)\samples\oleauto
@ -236,6 +250,8 @@ clean:
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\scroll cd $(WXDIR)\samples\scroll
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\scrollsub
nmake -f makefile.vc clean
cd $(WXDIR)\samples\splitter cd $(WXDIR)\samples\splitter
nmake -f makefile.vc clean nmake -f makefile.vc clean
cd $(WXDIR)\samples\tab cd $(WXDIR)\samples\tab