From c2d48b36a65f1f9adda42027cc02d7ace47890dc Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 19 May 2003 07:36:47 +0000 Subject: [PATCH 1/1] Added a backport item and items to the todo list git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/html/faq.htm | 3 ++- docs/html/faqgen.htm | 35 ++++++++++++++++++++++++++++++++ docs/html/faqmac.htm | 27 +++++++++++++++++++++++++ docs/html/faqmsw.htm | 46 +++++++++++++++++++++++++++++++++--------- docs/html/i18n.htm | 34 ++++++++++++++++++++++++------- docs/html/platform.htm | 5 +++-- docs/toback24.txt | 7 +++++++ docs/todo30.txt | 10 ++++++++- 8 files changed, 146 insertions(+), 21 deletions(-) diff --git a/docs/html/faq.htm b/docs/html/faq.htm index 7c9721c4c9..3bf0ff6ade 100644 --- a/docs/html/faq.htm +++ b/docs/html/faq.htm @@ -1,3 +1,4 @@ + @@ -36,7 +37,7 @@ Welcome to the wxWindows FAQ. Please select a category:

For further information, please see the wxWindows Web site, -wxWiki +wxWiki and install.txt (per port), todo.txt (per port), and bugs.txt (all ports) files in your wxWindows installation.

diff --git a/docs/html/faqgen.htm b/docs/html/faqgen.htm index f75ce4688e..d40cb8f4e7 100644 --- a/docs/html/faqgen.htm +++ b/docs/html/faqgen.htm @@ -40,6 +40,7 @@ See also top-level FAQ page.

  • What is wxBase?
  • What is wxUniversal?
  • What about Java?
  • +
  • What about .NET/Mono?
  • How can I help the project?

  • @@ -269,6 +270,40 @@ The Java honeymoon period is over :-) and people are realising that it cannot meet all their cross-platform development needs. We don't anticipate a major threat from Java, and the level of interest in wxWindows is as high as ever.

    +

    What about .NET/Mono?

    + +Microsoft is spending a lot on promoting the .NET initiative, which +is a set of languages, APIs and web service components for Windows. +Ximian has started an open source version of .NET, mostly for Linux. +C# is Microsoft's alternative to Java, supporting 'managed code', +garbage collection and various other Java-like language features.

    + +Although this may be attractive to some developers, there +is a variety of reasons why the .NET/Mono combination is unlikely +to make wxWindows redundant. Please note that the following comments +are Julian Smart's opinions.

    + +

      +
    1. Not everyone wants or needs net services. +
    2. C++ will be used for a long time to come; compared with C++, C# is a recent development and its future is not certain. +
    3. Mono Forms may only target Winelib (at least to begin with), so the end result is not as native as +wxWindows (I'm aware there is GTK# for use with the C# language). +
    4. C# is usually byte-compiled and therefore slower. Plus, .NET adds a layer of overhead to the client computer +that wxWindows does not require. +
    5. Mono hasn't proven its long-term viability yet (it's a complex system of components); wxWindows is ready now. +
    6. You may not wish to buy into Microsoft marketing spin and APIs. +
    7. .NET might never be implemented on some platforms, especially Mac and embedded variants of Linux. +
    8. wxPython and other language variants provide further reasons for wxWindows to continue. +
    9. The same issue exists for Qt: if Qt sales remain strong, it's a good indication that +the market for a C++-based approach is still there. (Either that, or everyone's turning to wxWindows!) +
    + +There is nothing to stop folk from developing a C# version of the wxWindows API; +we already have bindings to Python, Perl, JavaScript, Lua, Basic, and Eiffel. +Update: a wx.NET project is now in progress. + +

    +

    How can I help the project?

    Please check out the Community pages, diff --git a/docs/html/faqmac.htm b/docs/html/faqmac.htm index 3db0a016a8..4896e7e599 100644 --- a/docs/html/faqmac.htm +++ b/docs/html/faqmac.htm @@ -37,6 +37,8 @@ See also top-level FAQ page.
  • What important settings are required in the CodeWarrior Project Preferences?
  • What are the smart preprocessing errors with the Apple Developer Tools?
  • How does wxMac support the standard Apple About menu item and Help menu?
  • +
  • How do I add an icon to my application?
  • +
  • How can I easily switch between different versions of wxWindows in CodeWarrior?

  • @@ -204,6 +206,31 @@ Because wxWindows does not have a specific API for the About menu item or

    +

    How do I add an icon to my application?

    + +If you have Mac OS X, you have the icns editor somewhere in the +Utilities folder. Create an icon using this tool and DeRez it, so that you have a .r +file with a 'icns' resource with id (-16455). Include this .r file in +your project and in the CodeWarrior Settings add a check mark under Linker:Output +Flags/Finder Flags/Has Custom Icon. +

    + +

    How can I easily switch between different versions of wxWindows in CodeWarrior?

    + +Sometimes you want to test your application against different versions +of wxWindows, for example a stable version of wxWindows versus a development version. +The easiest way to do this is to create a symbolic path.

    + +Under Edit-Preferences in General:Source Trees, type a name (for example WXWIN) +and choose a path for it. Now reselect your include and lib paths for a last +time, in the settings for each configuration, but make them relative to the symbolic name. +

    + +From now on you can just change the path associated with the symbolic name. + +

    + + diff --git a/docs/html/faqmsw.htm b/docs/html/faqmsw.htm index 346e9de28d..7cf90ae7ec 100644 --- a/docs/html/faqmsw.htm +++ b/docs/html/faqmsw.htm @@ -43,6 +43,7 @@ See also top-level FAQ page.

  • How do you use VC++'s memory leak checking instead of that in wxWindows?
  • Why are menu hotkeys or shortcuts not working in my application?
  • Why can I not write to the HKLM part of the registry with wxRegConfig?
  • +
  • Is MS Active Accessibility supported?

  • @@ -113,6 +114,23 @@ the following: </assembly> +If you want to add it to your application permanently, +you can also include it in your .rc file using this +line:

    + +

    +  1 24 "winxp.manifest"
    +
    + +In wxWindows 2.5, this will be in the wx/msw/wx.rc and +so will happen automatically so long as you include wx.rc +in your own .rc file.

    + +For an explanation of this syntax, please see +this +article. +

    +

    What compilers are supported?

    Please see the wxWindows 2 for Windows install.txt file for up-to-date information, but @@ -198,25 +216,26 @@ You can compile wxWindows as a DLL (see above, VC++/BC++ only at present). You s compile your programs for release using non-debugging and space-optimisation options, but take with VC++ 5/6 space optimisation: it can sometimes cause problems.

    -Statically-linked wxWindows 2 programs are smaller than wxWindows 1.xx programs, because of the way -wxWindows 2 has been designed to reduce dependencies between classes, and other -techniques. The linker will not include code from the library that is not (directly or -indirectly) referenced -by your application. So for example, the 'minimal' sample is less than 500KB using VC++ 6 -(note that this figure may be greater for the latest version of wxWindows).

    - If you want to distribute really small executables, you can use Petite by Ian Luck. This nifty utility compresses Windows executables by around 50%, so your 500KB executable will shrink to a mere 250KB. With this sort of size, there is reduced incentive to -use DLLs. Another good compression tool is UPX. +use DLLs. Another good compression tool (probably better than Petite) is UPX.

    Please do not be surprised if MinGW produces a statically-linked minimal executable of 1 MB. Firstly, gcc produces larger executables than some compilers. Secondly, this figure will include most of the overhead of wxWindows, so as your application becomes more -complex, the overhead becomes proportionaly less significant. And thirdly, trading executable compactness -for the enormous increase in productivity you get with wxWindows is almost always well worth it. +complex, the overhead becomes proportionally less significant. And thirdly, trading executable compactness +for the enormous increase in productivity you get with wxWindows is almost always well worth it.

    + +If you have a really large executable compiled with MinGW (for example 20MB) then +you need to configure wxWindows to compile without debugging information: see +docs/msw/install.txt for details. You may find that using configure instead +of makefile.g95 is easier, particularly since you can maintain debug and +release versions of the library simultaneously, in different directories. +Also, run 'strip' after linking to remove all traces of debug info. +

    Is wxWindows compatible with MFC?

    @@ -464,6 +483,13 @@ bool myGlobalConfig::Write (const wxString& key, const wxString& value) } +

    Is MS Active Accessibility supported?

    + +This is being worked on. Please see this page +for the current status. + +

    + diff --git a/docs/html/i18n.htm b/docs/html/i18n.htm index a82dd9277c..25972fd943 100644 --- a/docs/html/i18n.htm +++ b/docs/html/i18n.htm @@ -38,7 +38,7 @@ your language if it is not mentioned here (or to help with one which already is -- it is quite helpful to have several translators for one language at least for proof reading). -


    +
    Available translations
    @@ -64,12 +64,26 @@ translations as of wxWindows 2.3. - Chinese + Catalan + Done + Pau Bosch i Crespo + + + + + Chinese (simplified) Done mrfx + + Chinese (traditional) + Done + pal.tw + + + Czech Done @@ -157,8 +171,9 @@ translations as of wxWindows 2.3. Polish - Not yet - Piotr Mackowiak + Done + Piotr Mackowiak, + Janusz Piwowarski @@ -201,12 +216,19 @@ translations as of wxWindows 2.3. Hakki Dogusan + + Ukrainian + Ok + Eugene Manko> + + +
    -
    +
    How to help
    @@ -259,5 +281,3 @@ any comments/suggestions. - - diff --git a/docs/html/platform.htm b/docs/html/platform.htm index 46ef6cbc89..440186e190 100644 --- a/docs/html/platform.htm +++ b/docs/html/platform.htm @@ -1,3 +1,4 @@ + Platforms supported by wxWindows 2.4 @@ -90,7 +91,7 @@ often don't work.
    All BSD systems tests are for wxGTK using gcc. FreeBSD - version from 3.2 to 4.6, x86OkVZ
    + all version between 3.2 and 5.0 x86OkVZ
    @@ -107,7 +108,7 @@ often don't work. Solaris wxMotif with Sun CC 4.2OkVZThread support must be disabled on system with not MT-safe X11 wxMotif with gccOk

    - wxGTK with Sun CC 4.2OkShiv Shankar Ramakrishnan
    + wxGTK with Sun CC 4.2Ok
    wxGTK with gccOk

    wxGTK with Sun CC 5.0 and 6.1 (Solaris 7 and 8)OkJiri MracekYou have to edit line 2079 in glib.h to fix GTK+ error diff --git a/docs/toback24.txt b/docs/toback24.txt index 86277c2bec..c653128fba 100644 --- a/docs/toback24.txt +++ b/docs/toback24.txt @@ -166,3 +166,10 @@ Checking in include/wx/textbuf.h; /pack/cvsroots/wxwindows/wxWindows/include/wx/textbuf.h,v <-- textbuf.h new revision: 1.8; previous revision: 1.7 +18. Better notebook page sizing + +nbbase.cpp, CalcSizeFromPage, plus #includes at top of file. +This gets the tab size and adds a bit for borders. +We should do the same for other platforms, only rationalise +it so that wxNotebook returns the tab rect info. + diff --git a/docs/todo30.txt b/docs/todo30.txt index f4259fb091..8fb069a73f 100644 --- a/docs/todo30.txt +++ b/docs/todo30.txt @@ -196,6 +196,14 @@ wxMiscellaneous these classes, as per the patch on SF. - Rewrite wxFileHistory using wxString and wxArrayString, and put in separate file. - +- Add wxArrayString methods to wxTextValidator and any other + class that needs them. +- Add wxNotebook::GetTabRect or similar so we can estimate + page size better in wxNotebookBase::CalcSizeFromPage. +- Add function to clear all wxNotebook tabs without + destroying the pages. +- Add individual setters to wxScrollBar and other classes + that use a combined setter. +- Remove traces of old resource system from wxWizard. Version: $Id$ -- 2.45.2