]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
22 years agoavoid warning for duplicate defined wxEntry when compiling with the Apple
Gilles Depeyrot [Mon, 2 Sep 2002 19:17:52 +0000 (19:17 +0000)] 
avoid warning for duplicate defined wxEntry when compiling with the Apple
Developer Tools (already defined in common include)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agouse "..." for wx includes instead of <...>
Gilles Depeyrot [Mon, 2 Sep 2002 19:16:32 +0000 (19:16 +0000)] 
use "..." for wx includes instead of <...>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodisable use of #pragma interface under Mac OS X
Gilles Depeyrot [Mon, 2 Sep 2002 19:15:40 +0000 (19:15 +0000)] 
disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoinclude the header needed to compile this file
Vadim Zeitlin [Mon, 2 Sep 2002 18:10:39 +0000 (18:10 +0000)] 
include the header needed to compile this file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agono changes
Vadim Zeitlin [Mon, 2 Sep 2002 15:19:31 +0000 (15:19 +0000)] 
no changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed restoring fonts from the native font info data which was completely broken...
Vadim Zeitlin [Mon, 2 Sep 2002 15:19:04 +0000 (15:19 +0000)] 
fixed restoring fonts from the native font info data which was completely broken somehow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoupdated the comment about the flags meaning
Vadim Zeitlin [Mon, 2 Sep 2002 15:18:25 +0000 (15:18 +0000)] 
updated the comment about the flags meaning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMichael Fieldings patch 598106 applied in part
Chris Elliott [Mon, 2 Sep 2002 12:52:32 +0000 (12:52 +0000)] 
Michael Fieldings patch 598106 applied in part

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agogenerate key events for Space/Enter in addition to the activate events, as wxMSW...
Vadim Zeitlin [Mon, 2 Sep 2002 12:51:33 +0000 (12:51 +0000)] 
generate key events for Space/Enter in addition to the activate events, as wxMSW does

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agogot rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS
Vadim Zeitlin [Mon, 2 Sep 2002 12:43:33 +0000 (12:43 +0000)] 
got rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agosigned/unsigned comparison warning (and probably even error) fixed
Vadim Zeitlin [Mon, 2 Sep 2002 12:39:16 +0000 (12:39 +0000)] 
signed/unsigned comparison warning (and probably even error) fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed the button alignment flags
Vadim Zeitlin [Mon, 2 Sep 2002 12:29:44 +0000 (12:29 +0000)] 
fixed the button alignment flags

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agono changes
Vadim Zeitlin [Mon, 2 Sep 2002 12:29:11 +0000 (12:29 +0000)] 
no changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog
Julian Smart [Mon, 2 Sep 2002 08:52:34 +0000 (08:52 +0000)] 
Applied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog

wxFontDialog effects only turned on if a valid colour was
provided in wxFontData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCommitted a couple of IPC changes I forgot to do
Julian Smart [Mon, 2 Sep 2002 08:30:52 +0000 (08:30 +0000)] 
Committed a couple of IPC changes I forgot to do

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agochoose implicit parent for the dialog boxes better, fixes weird focus jumps when...
Vadim Zeitlin [Mon, 2 Sep 2002 00:44:24 +0000 (00:44 +0000)] 
choose implicit parent for the dialog boxes better, fixes weird focus jumps when using wxLog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded a few WXDLLEXPORTS, corrected/expanded comments
Vadim Zeitlin [Mon, 2 Sep 2002 00:32:30 +0000 (00:32 +0000)] 
added a few WXDLLEXPORTS, corrected/expanded comments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMore packaging updates for pending 2.3.3 release.
Ron Lee [Sun, 1 Sep 2002 22:58:21 +0000 (22:58 +0000)] 
More packaging updates for pending 2.3.3 release.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded wxSpinCtrl::SetSelection method
Gilles Depeyrot [Sun, 1 Sep 2002 21:29:40 +0000 (21:29 +0000)] 
added wxSpinCtrl::SetSelection method

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agooops, make it build with wxbase too.
Ron Lee [Sun, 1 Sep 2002 20:33:06 +0000 (20:33 +0000)] 
oops, make it build with wxbase too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoanother part of SetSelection() change I forgot to commit
Vadim Zeitlin [Sun, 1 Sep 2002 20:24:25 +0000 (20:24 +0000)] 
another part of SetSelection() change I forgot to commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agono changes
Vadim Zeitlin [Sun, 1 Sep 2002 20:00:57 +0000 (20:00 +0000)] 
no changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't call CreatesMessageOutput() explicitly, it will be created on demand as/if...
Vadim Zeitlin [Sun, 1 Sep 2002 20:00:46 +0000 (20:00 +0000)] 
don't call CreatesMessageOutput() explicitly, it will be created on demand as/if/when needed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded missing #include frame.h for mingw(3.2) build.
Ron Lee [Sun, 1 Sep 2002 19:52:57 +0000 (19:52 +0000)] 
added missing #include frame.h for mingw(3.2) build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCopy event type too
Julian Smart [Sun, 1 Sep 2002 19:01:31 +0000 (19:01 +0000)] 
Copy event type too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixed apparent typo in wxGridCellAttr::MergeWith, hopefully fixing
Stefan Neis [Sun, 1 Sep 2002 18:14:31 +0000 (18:14 +0000)] 
Fixed apparent typo in wxGridCellAttr::MergeWith, hopefully fixing
        bug 581558 (wxGrid.SetColAttr vs. SetCellAlignment)
Remove editor in Redimension. This should fix
        bug 593189 (wxGrid:delting rows doesn't hide editor)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocorrected warnings
Gilles Depeyrot [Sun, 1 Sep 2002 17:35:03 +0000 (17:35 +0000)] 
corrected warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
Václav Slavík [Sun, 1 Sep 2002 17:11:38 +0000 (17:11 +0000)] 
fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoRemoved warnings from ipcbase.cpp
Julian Smart [Sun, 1 Sep 2002 17:02:36 +0000 (17:02 +0000)] 
Removed warnings from ipcbase.cpp
Removed extra wxYields from progress dialog
Yield on wxX11 yields twice

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoClear attribute cache in Redimension to fix Bug 508407.
Stefan Neis [Sun, 1 Sep 2002 16:34:17 +0000 (16:34 +0000)] 
Clear attribute cache in Redimension to fix Bug 508407.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 603104 ] wxX11 wxClientDC, wxPaintDC fix
Julian Smart [Sun, 1 Sep 2002 15:59:22 +0000 (15:59 +0000)] 
Applied patch [ 603104 ] wxX11 wxClientDC, wxPaintDC fix

This patch changes a pre-compile check to a run-time
check. The fix is that for windows that only using 1 X
window (like wxFrame) the client area needs to be
adjusted...

FL is one of the things that needs this patch to work ok
under wxX11.

Hans Van Leemputten

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoClean up string table before uninitializing DDEML
Julian Smart [Sun, 1 Sep 2002 15:48:58 +0000 (15:48 +0000)] 
Clean up string table before uninitializing DDEML
to cure crash on exit in memory-debug mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded some const qualifiers.
Stefan Neis [Sun, 1 Sep 2002 15:27:26 +0000 (15:27 +0000)] 
Added some const qualifiers.
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
        DisplaySize.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAccidentally omitted code from previous patch
Julian Smart [Sun, 1 Sep 2002 15:08:04 +0000 (15:08 +0000)] 
Accidentally omitted code from previous patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 600051 ] DDE and TCP improvements and fixes
Julian Smart [Sun, 1 Sep 2002 14:48:16 +0000 (14:48 +0000)] 
Applied patch [ 600051 ] DDE and TCP improvements and fixes

By Michael Fielding

As discussed on wx-dev. some fixes and improvements for Interprocess Communication (IPC), using DDE and TCP.

1. DDE buffers were using a global buffer
2. TCP buffers were allocated each time needed, and Request would have caused memory leaks had it been used.

Fixed these both by using a self-resizing buffer in wxConnectionBase. Changed samples and docs to reflect the improved (but backward compatible) internal buffer management. wxConnectionBase could (in future) use wxMemoryBuffer.

3. IPC sample had trouble closing, causing crash, when closing server using window X button.

Because it was (effectively) trying to delete a window in OnExit, when that window was already destroyed. Fixed by making IPCDialog and MyConnection remember if they'd destroyed each other. It's not elegant, but either the connection or the window could be deleted first.

4. Docs for wxDDE... and wxTCP... duplicated eachother, supposed to have same API. Some parts unclear.

Patch removes dde and tcp-specific files (including from tipc.tex and classes.tex), and explains how ipc.h selects for you which one to use based on platform. Some other misc clarifications.

6. Client sample was suffering apparent memory leak because of not deleting connection object, and had a hack in there to do that.

In fact this was due to the derived OnDisconnect not deleting itself, as it does in base class. Mentioned need to do it in docs, fixed sample so that it does.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed a small typo
Václav Slavík [Sun, 1 Sep 2002 11:41:01 +0000 (11:41 +0000)] 
fixed a small typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoremoved DoInit() straggler from appbase mods.
Ron Lee [Sun, 1 Sep 2002 03:16:52 +0000 (03:16 +0000)] 
removed DoInit() straggler from appbase mods.
#include log.h

and so, wxbase builds again.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied AutoWrap Renderer Bugfix by Roger Gammans (Patch 467479).
Stefan Neis [Sun, 1 Sep 2002 00:54:01 +0000 (00:54 +0000)] 
Applied AutoWrap Renderer Bugfix by Roger Gammans (Patch 467479).
Blindly tried to fix crash reported by Roman Vanicek on Mailing list:
        SetCellHighlightColour sometimes segfaults in wxGTK. The
        application crashes in LookupAttr.
        Tentative explanation: Cache handling gets confused if LookupAttr gets
                called on wxGridNoCell.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoimplemented a dirty hack allowing us to keep activation after wxExecute(wxEXEC_SYNC...
Vadim Zeitlin [Sat, 31 Aug 2002 23:43:04 +0000 (23:43 +0000)] 
implemented a dirty hack allowing us to keep activation after wxExecute(wxEXEC_SYNC) call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't disable top level windows recursively
Vadim Zeitlin [Sat, 31 Aug 2002 23:25:04 +0000 (23:25 +0000)] 
don't disable top level windows recursively

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed font picker in wxHtmlHelpController, better UI is now used
Václav Slavík [Sat, 31 Aug 2002 23:19:58 +0000 (23:19 +0000)] 
fixed font picker in wxHtmlHelpController, better UI is now used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofix for losing focus under Windows after showing the progress dialog
Vadim Zeitlin [Sat, 31 Aug 2002 23:08:37 +0000 (23:08 +0000)] 
fix for losing focus under Windows after showing the progress dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocompilation fix
Vadim Zeitlin [Sat, 31 Aug 2002 22:57:16 +0000 (22:57 +0000)] 
compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSetSelection() for generic wxSpinCtrl (forgot to commit before)
Vadim Zeitlin [Sat, 31 Aug 2002 22:52:24 +0000 (22:52 +0000)] 
SetSelection() for generic wxSpinCtrl (forgot to commit before)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMake use of new array functions.
Stefan Neis [Sat, 31 Aug 2002 22:42:29 +0000 (22:42 +0000)] 
Make use of new array functions.
Added redraw function (by Roger Gammans).
Added Cell overflow & multiple cells (Patch 518206).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agouse include "..." instead of <...>
Gilles Depeyrot [Sat, 31 Aug 2002 22:36:13 +0000 (22:36 +0000)] 
use include "..." instead of <...>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodisable use of #pragma interface under Mac OS X
Gilles Depeyrot [Sat, 31 Aug 2002 22:31:03 +0000 (22:31 +0000)] 
disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agosymbols.txt is no longer.
Ron Lee [Sat, 31 Aug 2002 20:06:31 +0000 (20:06 +0000)] 
symbols.txt is no longer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoForgot to add wxX11 FAQ
Julian Smart [Sat, 31 Aug 2002 19:00:47 +0000 (19:00 +0000)] 
Forgot to add wxX11 FAQ

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSome doc fixes
Julian Smart [Sat, 31 Aug 2002 16:27:35 +0000 (16:27 +0000)] 
Some doc fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago- applied patch that adds more i18n support to XRC handlers
Václav Slavík [Sat, 31 Aug 2002 15:37:20 +0000 (15:37 +0000)] 
- applied patch that adds more i18n support to XRC handlers
- added ; to ends of lines in gettext output - needed for older gettext tools?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoapplied patch that adds more i18n support to XRC handlers
Václav Slavík [Sat, 31 Aug 2002 15:37:06 +0000 (15:37 +0000)] 
applied patch that adds more i18n support to XRC handlers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded log.h inclusion
Julian Smart [Sat, 31 Aug 2002 12:49:19 +0000 (12:49 +0000)] 
Added log.h inclusion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 599043 ] fix for wxTreeCtrl/MSW right-click prob
Julian Smart [Sat, 31 Aug 2002 12:12:54 +0000 (12:12 +0000)] 
Applied patch [ 599043 ] fix for wxTreeCtrl/MSW right-click prob

Benjamin I. Williams

There currently is a very significant problem with the
right-click behavior in wxTreeCtrl. The attached patch
file fixes this problem.

To better understand the problem, load up the tree
control, and start right-clicking on items. Note how
the focus rectangle does not behave properly. Next,
enable multiple selection. Now select several items,
and start right-clicking on the selected items. Note
how the selection highlights disappear.

If you try the tree sample with the generic tree
control, you will notice that the problem does not
occur, and that the tree control behaves properly.

This patch brings the MSW tree control implementation
in line with the generic implementation. This is the
same behavior that one can notice in applications such
as windows explorer and Visual Studio.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 600500 ] Tip-of-day: comments, translatable
Julian Smart [Sat, 31 Aug 2002 12:08:02 +0000 (12:08 +0000)] 
Applied patch [ 600500 ] Tip-of-day: comments, translatable

By Robert O'Connor

This is a patch to wxTip Provider classes used by the "Tip of the day" dialog.

See wx-dev archives August 2002 for discussion of the functionality design.

It does 5 things:
-Support for comments inside the tips file. The pound character (#) is used, as recommended by Vadim.
-Allows optional easy translation support to tips, by marking them as translatable for gettext, by enclosing them in a _(""). Program will translate these tips at runtime from the active catalog.
-Blank lines or lines with just spaces are automatically skipped (I had to put this in, I keep wondering why I get blank tips sometimes and it is because the text file had a empty blank line at the end of the text file).
-There is a pluggable virtual function to preprocess to modify the tip in a derived class, in case something specialized is desired, such as variable expansion, etc, as recommended by Julian and Vadim.
-Now resets the tip counter if the previous tip is past the end of the file (ie you removed some tips, or changed tip files), as discussed on wx-dev.

This patch updates:
-The classes.
-The class documentation and the Tip-of-the-day topic overview documentation.
-The dialogs example, placing some new strings for the tips.txt file which demonstrate how to use the Tip-of-the-day features for in practice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 601072 ] wxFileName::GetLongPath error & fix
Julian Smart [Sat, 31 Aug 2002 11:42:12 +0000 (11:42 +0000)] 
Applied patch [ 601072 ] wxFileName::GetLongPath error & fix
By Michael Fielding (mfielding)

When using wxFileName::MakeRelativeTo with a new base of "x:\", the result is incorrect. It works fine when there is a subdirectory after x:\. I tracked this to a bug in GetLongPath; here is the fix.

Also, GetLongPath will now try and get as much long path as it can, failing only when part of the path cannot be found. eg

x:\existi~1\file not existing.new becomes
x:\existing directory\filenotexisting.new

instead of just staying the same.

Also, MakeRelative no longer makes filenames lowercase when it normalises them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodisable use of #pragma interface under Mac OS X
Gilles Depeyrot [Sat, 31 Aug 2002 11:29:13 +0000 (11:29 +0000)] 
disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 601957 ] wxGrid: Start editing with numberpad key
Julian Smart [Sat, 31 Aug 2002 11:25:37 +0000 (11:25 +0000)] 
Applied patch [ 601957 ] wxGrid: Start editing with numberpad key

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded RTTI macros
Julian Smart [Sat, 31 Aug 2002 11:14:30 +0000 (11:14 +0000)] 
Added RTTI macros

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoWeekly updates
David Webster [Fri, 30 Aug 2002 21:54:47 +0000 (21:54 +0000)] 
Weekly updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't use vfork() in wxExecute()
Vadim Zeitlin [Fri, 30 Aug 2002 21:38:12 +0000 (21:38 +0000)] 
don't use vfork() in wxExecute()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't eat Shift-Ctrl-[XCV] keys
Vadim Zeitlin [Fri, 30 Aug 2002 21:30:28 +0000 (21:30 +0000)] 
don't eat Shift-Ctrl-[XCV] keys

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agomention that SetSelection(-1, -1) selects everything
Vadim Zeitlin [Fri, 30 Aug 2002 21:29:27 +0000 (21:29 +0000)] 
mention that SetSelection(-1, -1) selects everything

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodocumented SetSelection()
Vadim Zeitlin [Fri, 30 Aug 2002 21:28:56 +0000 (21:28 +0000)] 
documented SetSelection()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoWeekly update
David Webster [Fri, 30 Aug 2002 21:20:42 +0000 (21:20 +0000)] 
Weekly update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded another log.h
Julian Smart [Fri, 30 Aug 2002 21:19:41 +0000 (21:19 +0000)] 
Added another log.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocompilation problem for compilers with old for() scoping rules
Vadim Zeitlin [Fri, 30 Aug 2002 21:13:30 +0000 (21:13 +0000)] 
compilation problem for compilers with old for() scoping rules

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocompilation fix (missing wx/log.h include)
Vadim Zeitlin [Fri, 30 Aug 2002 21:10:28 +0000 (21:10 +0000)] 
compilation fix (missing wx/log.h include)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded another log.h; removed redundant trace args
Julian Smart [Fri, 30 Aug 2002 21:06:05 +0000 (21:06 +0000)] 
Added another log.h; removed redundant trace args

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded Read64() and Write64() docs
Vadim Zeitlin [Fri, 30 Aug 2002 21:05:53 +0000 (21:05 +0000)] 
added Read64() and Write64() docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded log.h
Julian Smart [Fri, 30 Aug 2002 20:54:06 +0000 (20:54 +0000)] 
Added log.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMods for Wine compilation
Julian Smart [Fri, 30 Aug 2002 20:34:27 +0000 (20:34 +0000)] 
Mods for Wine compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoTRUE, not true; FALSE not false
David Webster [Fri, 30 Aug 2002 17:04:12 +0000 (17:04 +0000)] 
TRUE, not true; FALSE not false

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't disable top level children in parents Enable()
Vadim Zeitlin [Fri, 30 Aug 2002 15:10:59 +0000 (15:10 +0000)] 
don't disable top level children in parents Enable()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agolost log.h fixed
Chris Elliott [Fri, 30 Aug 2002 13:57:04 +0000 (13:57 +0000)] 
lost log.h fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agolost log.h fixed
Chris Elliott [Fri, 30 Aug 2002 13:49:49 +0000 (13:49 +0000)] 
lost log.h fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoOS/2 must have positive control IDs.
David Webster [Fri, 30 Aug 2002 13:44:03 +0000 (13:44 +0000)] 
OS/2 must have positive control IDs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofix for 10.2 (persistent tooltips ;-)
Stefan Csomor [Fri, 30 Aug 2002 13:43:09 +0000 (13:43 +0000)] 
fix for 10.2 (persistent tooltips ;-)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFix to allow proper positioning of child windows under OS/2 when auto layouts are...
David Webster [Fri, 30 Aug 2002 13:39:01 +0000 (13:39 +0000)] 
Fix to allow proper positioning of child windows under OS/2 when auto layouts are not being done.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoLots of updates fixing radiobox processing, checkboxes and add notebook control.
David Webster [Fri, 30 Aug 2002 13:37:52 +0000 (13:37 +0000)] 
Lots of updates fixing radiobox processing, checkboxes and add notebook control.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded wxSpinCtrl::SetSelection()
Vadim Zeitlin [Fri, 30 Aug 2002 01:00:04 +0000 (01:00 +0000)] 
added wxSpinCtrl::SetSelection()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoremoved wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory...
Vadim Zeitlin [Fri, 30 Aug 2002 00:58:34 +0000 (00:58 +0000)] 
removed wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory leak

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoremoved extra trailing semicolons which break compilation for some compilers
Vadim Zeitlin [Fri, 30 Aug 2002 00:39:33 +0000 (00:39 +0000)] 
removed extra trailing semicolons which break compilation for some compilers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodisable children when the parent is disabled
Vadim Zeitlin [Fri, 30 Aug 2002 00:34:08 +0000 (00:34 +0000)] 
disable children when the parent is disabled

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoloop in wxInputStream::Read() while there is data to read
Vadim Zeitlin [Thu, 29 Aug 2002 22:10:02 +0000 (22:10 +0000)] 
loop in wxInputStream::Read() while there is data to read

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agochanged wxExecute(char **) version to take wxChar **
Vadim Zeitlin [Thu, 29 Aug 2002 21:54:39 +0000 (21:54 +0000)] 
changed wxExecute(char **) version to take wxChar **

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agodon't crash in wx(Flex)GridSizer with division by 0, assert instead; also factored...
Vadim Zeitlin [Thu, 29 Aug 2002 21:48:32 +0000 (21:48 +0000)] 
don't crash in wx(Flex)GridSizer with division by 0, assert instead; also factored out a lot of duplicated code in a single function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoDocumented wxListCtrl::GetColumnCount
Mattia Barbon [Thu, 29 Aug 2002 16:46:25 +0000 (16:46 +0000)] 
Documented wxListCtrl::GetColumnCount

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoScript updates
Julian Smart [Thu, 29 Aug 2002 13:52:26 +0000 (13:52 +0000)] 
Script updates
Addition of wxOS2 configure files
required for distribution

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoUpdated Svedish translation
Mattia Barbon [Wed, 28 Aug 2002 20:24:42 +0000 (20:24 +0000)] 
Updated Svedish translation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded exlicit make clean/cleanall in the sample makefile usage.
Mattia Barbon [Wed, 28 Aug 2002 20:19:26 +0000 (20:19 +0000)] 
Added exlicit make clean/cleanall in the sample makefile usage.
Added a note that makefiles are not for UNIX, just for Cugwin/MSYS/DOS
prompt.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoForgot to run autoconf before committing
Mattia Barbon [Wed, 28 Aug 2002 20:18:06 +0000 (20:18 +0000)] 
Forgot to run autoconf before committing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied Fabian Wenzel's patches to add -mthreads for threads to work
Mattia Barbon [Wed, 28 Aug 2002 20:11:12 +0000 (20:11 +0000)] 
Applied Fabian Wenzel's patches to add -mthreads for threads to work
in MinGW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMode distrib scripts and such
Robin Dunn [Wed, 28 Aug 2002 20:02:20 +0000 (20:02 +0000)] 
Mode distrib scripts and such

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoInstaller updates
Robin Dunn [Wed, 28 Aug 2002 17:49:58 +0000 (17:49 +0000)] 
Installer updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixed version number.
Stefan Neis [Wed, 28 Aug 2002 17:29:28 +0000 (17:29 +0000)] 
Fixed version number.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded instructions for compiling with EMX.
Stefan Neis [Wed, 28 Aug 2002 16:28:07 +0000 (16:28 +0000)] 
Added instructions for compiling with EMX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoUsing wxImageListType instead of wxGenericImageList
Julian Smart [Wed, 28 Aug 2002 09:31:29 +0000 (09:31 +0000)] 
Using wxImageListType instead of wxGenericImageList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoDitribution script mods;
Julian Smart [Wed, 28 Aug 2002 08:54:00 +0000 (08:54 +0000)] 
Ditribution script mods;
Use wxImageList instead of wxGenericImageList where possible
in wxListCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSome OS/2 specific additions.
Stefan Neis [Wed, 28 Aug 2002 08:50:55 +0000 (08:50 +0000)] 
Some OS/2 specific additions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775