From: Julian Smart Date: Sun, 7 Nov 1999 12:36:36 +0000 (+0000) Subject: Tidied up wxHTML About HTML file (missing /td, /tr etc.: how did that work? :-)); X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ad556aa948efb55c7ecf5060fb3e51f64aacc3ad 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 --- diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp index e55cb19893..0beb8d0c1b 100644 --- a/distrib/msw/generic.rsp +++ b/distrib/msw/generic.rsp @@ -1024,3 +1024,15 @@ samples/menu/*.png 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 + diff --git a/docs/html/index.htm b/docs/html/index.htm index e561f4b877..33b86c91de 100644 --- a/docs/html/index.htm +++ b/docs/html/index.htm @@ -211,6 +211,7 @@ using wxMDIParentFrame, wxMDIChildFrame. dynamically.
  • forty: a great little card game by Chris Breeze. A fully-fledged application! +
  • font: tests fonts, font enumerator, font encodings.
  • fractal: fractal mountains by Andrew Davison.
  • grid: demonstrates the wxGrid class.
  • help: shows how to use wxHelpController. @@ -232,6 +233,7 @@ applications and also as a help facility.
  • layout: shows the constraint layout system in action.
  • listctrl: demonstrates the wxListCtrl (implemented natively on WIN32, and using a generic version on other platforms). +
  • menu: tests menus.
  • mdi: 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. @@ -245,6 +247,7 @@ small a wxWindows application as you can get.
  • nativdlg: shows how wxWindows can load a standard Windows dialog resource, translating the controls into wxWindows controls (Windows only).
  • nettest: wxDialUpManager demo. +
  • newgrid: demonstrates the new wxGrid implementation, by Michael Bedward.
  • notebook: shows the wxNotebook (tabbed window) control.
  • oleauto: a little OLE automation controller (Windows only; requires Excel to be present). @@ -258,6 +261,9 @@ Excel to be present). facilities.
  • sashtest: demonstrates use of the wxSashWindow class to allow the user to resize subwindows. +
  • scroll: demonstrates wxScrolledWindow. +
  • scrollsub: demonstrates the use of wxScrolledWindow to scroll +an embedded window.
  • splitter: demonstrates the wxSplitterWindow class.
  • tab: demonstrates the generic tab window class. You should normally use wxNotebook instead, but the generic code is sometimes useful, for example for diff --git a/docs/msw/install.txt b/docs/msw/install.txt index 6feb6de607..1c547ab717 100644 --- a/docs/msw/install.txt +++ b/docs/msw/install.txt @@ -141,17 +141,14 @@ project files are unlikely to be compatible, so use one method or 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 @@ -388,7 +385,7 @@ Notes: - 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: diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 31e03b6432..73add4e890 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -453,11 +453,12 @@ #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_ diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 6bc15448f9..79ffa750a2 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -49,12 +49,13 @@ #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__ diff --git a/samples/html/about/data/about.htm b/samples/html/about/data/about.htm index b3bfa67dfc..aefdd32104 100644 --- a/samples/html/about/data/about.htm +++ b/samples/html/about/data/about.htm @@ -1,17 +1,35 @@ - -
    -
    -
    wxHTML Library Sample 0.2.0
    -
    -
    -Copyright (C) 1999 Vaclav Slavik

    - - -
    -Vaclav Slavik (slavik2@czn.cz)
    Someone Else (selse@hell.org)

    -

    + + + + + + + + +
    +
    +
    wxHTML Library Sample 0.2.0
    +
    +
    +
    + Copyright (C) 1999 Vaclav Slavik

    + + + + + + +
    + Vaclav Slavik (slavik2@czn.cz)

    +

    + +
    + + The wxHTML library is available at http://www.ms.mff.cuni.cz/~vsla8348/wxhtml
    + Licenced under wxWindows Library Licence, Version 3. +
    +
    +

    - -The wxHTML library is available at http://www.ms.mff.cuni.cz/~vsla8348/wxhtml
    -The library is licenced under wxWindows Library Licence, Version 3. -
    + + diff --git a/samples/makefile.vc b/samples/makefile.vc index 6edb3485bb..104d18e413 100644 --- a/samples/makefile.vc +++ b/samples/makefile.vc @@ -60,6 +60,8 @@ all: 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 @@ -88,6 +90,8 @@ all: 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) @@ -102,6 +106,8 @@ all: 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 @@ -126,6 +132,8 @@ all: 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 @@ -178,6 +186,8 @@ clean: 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 @@ -208,12 +218,16 @@ clean: !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 @@ -236,6 +250,8 @@ clean: 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