samples/menu/*.ico
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
+
dynamically.
<li><a href="../../samples/forty">forty</a>: a great little card game by Chris Breeze. A
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/grid">grid</a>: demonstrates the wxGrid class.
<li><a href="../../samples/help">help</a>: shows how to use wxHelpController.
<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
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
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.
<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).
<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/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires
Excel to be present).
facilities.
<li><a href="../../samples/sashtest">sashtest</a>: demonstrates use of the wxSashWindow class to allow
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/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
the other.
Note (3): VC++ 5's optimization code seems to be broken and can
-cause problems: this can be seen when deleting an object Dialog
-Editor, in Release mode with optimizations on. If in doubt,
-switch off optimisations, although this will result in much
+cause both compile and run-time problems: this can be seen when
+deleting an object Dialog Editor, in Release mode with optimizations
+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
strong optimization, so long as the application is not strongly
optimized. For example, in wxWindows project, set to 'Minimum
Size'. In Dialog Editor project, set to 'Customize: Favor Small
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
errors, so edit src\makevc.env and change /O1 to /Od before
- 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:
#endif
// Problem with VC++ 5 and dobjcmn.cpp
-
+/*
#if defined(_MSC_VER) && (_MSC_VER > 1020) && (_MSC_VER < 1200)
#undef wxUSE_DRAG_AND_DROP
#define wxUSE_DRAG_AND_DROP 0
#endif
+*/
#endif
// _WX_SETUP_H_
#ifdef __WIN16__
// Win16 doesn't have them
- #ifndef wxUSE_SPINBTN
+ #ifdef wxUSE_SPINBTN
#undef wxUSE_SPINBTN
+ #endif
#define wxUSE_SPINBTN 0
#else
- #if !defined(wxUSE_SPINBTN)
- #define wxUSE_SPINBTN 1
+ #ifndef wxUSE_SPINBTN
+ #define wxUSE_SPINBTN 1
#endif
#endif // __WIN16__
-<html><body bgcolor="#FFFFFF"><table cellspacing=3 cellpadding=4 width="100%">
-<tr><td bgcolor="#101010">
-<center><font size=+2 color="#FFFFFF"><b>
-<br>wxHTML Library Sample 0.2.0<br>
-</b></font></center>
-<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)<br>Someone Else (selse@hell.org)<p>
-<td valign=top><img src="logo.png">
+<html>
+<body bgcolor="#FFFFFF">
+<table cellspacing=3 cellpadding=4 width="100%">
+ <tr>
+ <td bgcolor="#101010">
+ <center>
+ <font size=+2 color="#FFFFFF"><b><br>wxHTML Library Sample 0.2.0<br></b>
+ </font>
+ </center>
+ </td>
+ </tr>
+ <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>
-<font size=-2>
-The wxHTML library is available at <font color="#0000FF">http://www.ms.mff.cuni.cz/~vsla8348/wxhtml</font><br>
-The library is licenced under wxWindows Library Licence, Version 3.
-</font></font></table></body></html>
+</body>
+</html>
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\dynamic
nmake -f makefile.vc FINAL=$(FINAL)
+ cd $(WXDIR)\samples\font
+ nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\forty
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\fractal
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\mdi
nmake -f makefile.vc FINAL=$(FINAL)
+ cd $(WXDIR)\samples\menu
+ nmake -f makefile.vc FINAL=$(FINAL)
!if "$(FINAL)" == "0"
cd $(WXDIR)\samples\memcheck
nmake -f makefile.vc FINAL=$(FINAL)
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\nativdlg
nmake -f makefile.vc FINAL=$(FINAL)
+ cd $(WXDIR)\samples\nettest
+ nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\notebook
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\oleauto
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\scroll
nmake -f makefile.vc FINAL=$(FINAL)
+ cd $(WXDIR)\samples\scrollsub
+ nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\splitter
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\tab
nmake -f makefile.vc clean
cd $(WXDIR)\samples\dynamic
nmake -f makefile.vc clean
+ cd $(WXDIR)\samples\font
+ nmake -f makefile.vc clean
cd $(WXDIR)\samples\forty
nmake -f makefile.vc clean
cd $(WXDIR)\samples\fractal
!endif
cd $(WXDIR)\samples\mfc
nmake -f makefile.vc clean
+ cd $(WXDIR)\samples\menu
+ nmake -f makefile.vc clean
cd $(WXDIR)\samples\minifram
nmake -f makefile.vc clean
cd $(WXDIR)\samples\minimal
nmake -f makefile.vc clean
cd $(WXDIR)\samples\nativdlg
nmake -f makefile.vc clean
+ cd $(WXDIR)\samples\nettest
+ nmake -f makefile.vc clean
cd $(WXDIR)\samples\notebook
nmake -f makefile.vc clean
cd $(WXDIR)\samples\oleauto
nmake -f makefile.vc clean
cd $(WXDIR)\samples\scroll
nmake -f makefile.vc clean
+ cd $(WXDIR)\samples\scrollsub
+ nmake -f makefile.vc clean
cd $(WXDIR)\samples\splitter
nmake -f makefile.vc clean
cd $(WXDIR)\samples\tab