wxWidgets.git
21 years agoFor OS/2
David Webster [Wed, 4 Sep 2002 13:39:02 +0000 (13:39 +0000)] 
For OS/2

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

21 years agogeneric status bar now:
Vadim Zeitlin [Wed, 4 Sep 2002 13:16:46 +0000 (13:16 +0000)] 
generic status bar now:
1. works correctly (handles negative widths according to the docs/MSW/Univ)
2. has shorter and simpler GetFieldRect() implementation
3. ... which is also more efficient (pixel widths are cached)

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

21 years agomove code from .h to .cpp to prevent Borland warning
Chris Elliott [Wed, 4 Sep 2002 12:24:45 +0000 (12:24 +0000)] 
move code from .h to .cpp to prevent Borland warning

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

21 years agofix wxBase apps compilation after ProcessIdle() change from the patch 588734
Vadim Zeitlin [Wed, 4 Sep 2002 11:45:06 +0000 (11:45 +0000)] 
fix wxBase apps compilation after ProcessIdle() change from the patch 588734

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

21 years agoIntroducing wxBase for borland based on Michael Fieldings patch 598106
Chris Elliott [Wed, 4 Sep 2002 11:16:46 +0000 (11:16 +0000)] 
Introducing wxBase for borland based on Michael Fieldings patch 598106

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

21 years agoSetBackground with a bitmap is only implemented in wxUniversal
Gilles Depeyrot [Wed, 4 Sep 2002 11:14:55 +0000 (11:14 +0000)] 
SetBackground with a bitmap is only implemented in wxUniversal

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

21 years agoIntroducing wxBase for borland based on Michael Fieldings patch 598106
Chris Elliott [Wed, 4 Sep 2002 10:56:49 +0000 (10:56 +0000)] 
Introducing wxBase for borland based on Michael Fieldings patch 598106

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

21 years agoIntroducing wxBase for borland based on Michael Fieldings patch 598106
Chris Elliott [Wed, 4 Sep 2002 10:47:11 +0000 (10:47 +0000)] 
Introducing wxBase for borland based on Michael Fieldings patch 598106

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

21 years agoAdded (and documented) GetTraceMasks so userspace can probe the currently
Ron Lee [Wed, 4 Sep 2002 09:35:13 +0000 (09:35 +0000)] 
Added (and documented) GetTraceMasks so userspace can probe the currently
allowed masks.  IMO its omission is a bug and it's non-threatening to
the freeze, so..

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

21 years agoMore OS/2 update to fix some owner drawn things
David Webster [Tue, 3 Sep 2002 22:26:53 +0000 (22:26 +0000)] 
More OS/2 update to fix some owner drawn things

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

21 years agoAvoid using wxTextCtrl::SaveFile with no arg
Julian Smart [Tue, 3 Sep 2002 20:36:58 +0000 (20:36 +0000)] 
Avoid using wxTextCtrl::SaveFile with no arg

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

21 years agodisable Darwin GCC precompiled headers by default also for wxBase
Gilles Depeyrot [Tue, 3 Sep 2002 20:13:19 +0000 (20:13 +0000)] 
disable Darwin GCC precompiled headers by default also for wxBase
integrate includes into preprocessor flags instead of both C and C++ flags

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

21 years agoSmall clarification in ::wxShowTip docs.
Mattia Barbon [Tue, 3 Sep 2002 19:34:34 +0000 (19:34 +0000)] 
Small clarification in ::wxShowTip docs.
Added a wxPerl note to wxWindow::GetHandle

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

21 years agogettext (correctly) uses "1 message" (singular).
Mattia Barbon [Tue, 3 Sep 2002 19:32:03 +0000 (19:32 +0000)] 
gettext (correctly) uses "1 message" (singular).
Take that into account in make stats.

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

21 years agodisable use of #pragma interface under Mac OS X
Gilles Depeyrot [Tue, 3 Sep 2002 19:17:56 +0000 (19:17 +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@16953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoChanged char* to wxChar*
Julian Smart [Tue, 3 Sep 2002 11:22:56 +0000 (11:22 +0000)] 
Changed char* to wxChar*

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

21 years agoNotebook, Listbox, and Checklst updates
David Webster [Tue, 3 Sep 2002 04:47:39 +0000 (04:47 +0000)] 
Notebook, Listbox, and Checklst updates

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

21 years agosorry, removing /usr/include breaks the macros we use to detect -lGL and co.
Ron Lee [Tue, 3 Sep 2002 04:43:37 +0000 (04:43 +0000)] 
sorry, removing /usr/include breaks the macros we use to detect -lGL and co.
They'll need to be fixed first if this really is the right fix.  (and I'm not
sure what the original problem was, so...)

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

21 years agoremoved GetObjectType() ghost
Vadim Zeitlin [Mon, 2 Sep 2002 23:23:28 +0000 (23:23 +0000)] 
removed GetObjectType() ghost

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

21 years agoMore casting to make gcc 3.2 behave.
Julian Smart [Mon, 2 Sep 2002 22:47:22 +0000 (22:47 +0000)] 
More casting to make gcc 3.2 behave.

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

21 years agoAnd some more casting
Julian Smart [Mon, 2 Sep 2002 22:00:37 +0000 (22:00 +0000)] 
And some more casting

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

21 years agoAdded size_t cast to disambiguate array usage.
Julian Smart [Mon, 2 Sep 2002 21:54:42 +0000 (21:54 +0000)] 
Added size_t cast to disambiguate array usage.

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

21 years agoremoved /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation
Vadim Zeitlin [Mon, 2 Sep 2002 20:10:21 +0000 (20:10 +0000)] 
removed /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation

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

21 years agoold compilation fix for AIX from Ian Brown
Vadim Zeitlin [Mon, 2 Sep 2002 20:08:16 +0000 (20:08 +0000)] 
old compilation fix for AIX from Ian Brown

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

21 years agodefine _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx...
Vadim Zeitlin [Mon, 2 Sep 2002 19:53:54 +0000 (19:53 +0000)] 
define _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx/setup.h to make sure they're always defined when needed

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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