]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
22 years agoEnsure -D_FILE_OFFSET_BITS=64 also gets on the command line when
Robin Dunn [Thu, 5 Sep 2002 20:12:08 +0000 (20:12 +0000)] 
Ensure -D_FILE_OFFSET_BITS=64 also gets on the command line when
needed, and also fix wx-config to output the largefile flags

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

22 years agoEliminated unreachable code warning in VC++
Julian Smart [Thu, 5 Sep 2002 20:12:02 +0000 (20:12 +0000)] 
Eliminated unreachable code warning in VC++

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

22 years agoApplied patch [ 605188 ] Fix to draw 24 bit bitmaps
Julian Smart [Thu, 5 Sep 2002 19:59:34 +0000 (19:59 +0000)] 
Applied patch [ 605188 ] Fix to draw 24 bit bitmaps

Derry Bryson

Fix to wxPrinterDC::DrawBitmap() to print 24 bit bitmaps
at 24 bits rather than 8 bits.

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

22 years agoApplied patch [ 605189 ] add edit cancel notify to wxTreeEvent
Julian Smart [Thu, 5 Sep 2002 19:50:41 +0000 (19:50 +0000)] 
Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent

Benjamin I. Williams

Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.

This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).

This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.

The patch is not very invasive, and is much smaller
than I had expected.

Please see the relevent discussion on the wx-dev list
for more details.

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

22 years agoSWIGged updates for wxMSW
Robin Dunn [Thu, 5 Sep 2002 19:41:45 +0000 (19:41 +0000)] 
SWIGged updates for wxMSW

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

22 years agoVarious wxPython updates to go along with recent changes in CVS
Robin Dunn [Thu, 5 Sep 2002 19:39:28 +0000 (19:39 +0000)] 
Various wxPython updates to go along with recent changes in CVS

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

22 years agoUse the iconIndex in the default case too.
Robin Dunn [Thu, 5 Sep 2002 19:38:13 +0000 (19:38 +0000)] 
Use the iconIndex in the default case too.

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

22 years agoAdded some accessors for wxEffects
Robin Dunn [Thu, 5 Sep 2002 19:37:25 +0000 (19:37 +0000)] 
Added some accessors for wxEffects

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

22 years agosome tweaks for LINK_LEXERS
Robin Dunn [Thu, 5 Sep 2002 19:36:59 +0000 (19:36 +0000)] 
some tweaks for LINK_LEXERS

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

22 years agoApplied patch [ 603858 ] wxTextCtrl text alignment patch
Julian Smart [Thu, 5 Sep 2002 16:15:30 +0000 (16:15 +0000)] 
Applied patch [ 603858 ] wxTextCtrl text alignment patch

Benjamin I. Williams

This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.

At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.

As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.

While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!

This patch also updates the documentation.

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

22 years ago-o flag must be after PIC flag for gcc under HPUX
Gilles Depeyrot [Thu, 5 Sep 2002 16:15:06 +0000 (16:15 +0000)] 
-o flag must be after PIC flag for gcc under HPUX

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

22 years agoAdded #include <ctype.h> since it seems to have
Julian Smart [Thu, 5 Sep 2002 14:56:34 +0000 (14:56 +0000)] 
Added #include <ctype.h> since it seems to have
gone missing from this file for non-Unicode
cases.

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

22 years agoadded -D_REENTRANT for hpux when threads are enabled
Gilles Depeyrot [Thu, 5 Sep 2002 13:59:18 +0000 (13:59 +0000)] 
added -D_REENTRANT for hpux when threads are enabled

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

22 years agoFix for child window positioning
David Webster [Thu, 5 Sep 2002 13:54:24 +0000 (13:54 +0000)] 
Fix for child window positioning

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

22 years agocorrected code for doubles
Stefan Csomor [Thu, 5 Sep 2002 12:42:16 +0000 (12:42 +0000)] 
corrected code for doubles

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

22 years agocorrected HPUX specific test
Gilles Depeyrot [Thu, 5 Sep 2002 12:28:30 +0000 (12:28 +0000)] 
corrected HPUX specific test

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

22 years agofix Union(empty rect) bug
Vadim Zeitlin [Thu, 5 Sep 2002 10:54:30 +0000 (10:54 +0000)] 
fix Union(empty rect) bug

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

22 years agocompilation fix for wxUSE_WCHAR_T=0
Václav Slavík [Wed, 4 Sep 2002 22:17:09 +0000 (22:17 +0000)] 
compilation fix for wxUSE_WCHAR_T=0

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

22 years agouse own mutex for region iterator locking, not gui one
Václav Slavík [Wed, 4 Sep 2002 22:07:25 +0000 (22:07 +0000)] 
use own mutex for region iterator locking, not gui one

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

22 years agowhy the heck was the flag changed to T from Theme?! Broke my makefiles...
Václav Slavík [Wed, 4 Sep 2002 22:07:19 +0000 (22:07 +0000)] 
why the heck was the flag changed to T from Theme?! Broke my makefiles...

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

22 years agocompilation fix for wxUSE_WCHAR_T=0
Václav Slavík [Wed, 4 Sep 2002 22:07:12 +0000 (22:07 +0000)] 
compilation fix for wxUSE_WCHAR_T=0

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

22 years agoadded watmgl.t to Makefile
Václav Slavík [Wed, 4 Sep 2002 22:07:00 +0000 (22:07 +0000)] 
added watmgl.t to Makefile

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

22 years agowhoever added mdig.cpp forgot to update the makefiles
Václav Slavík [Wed, 4 Sep 2002 22:06:50 +0000 (22:06 +0000)] 
whoever added mdig.cpp forgot to update the makefiles

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

22 years agoMissing #include
Mattia Barbon [Wed, 4 Sep 2002 16:42:53 +0000 (16:42 +0000)] 
Missing #include

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

22 years agoshould fix Unicode build for BC++ 5.3
Vadim Zeitlin [Wed, 4 Sep 2002 15:06:46 +0000 (15:06 +0000)] 
should fix Unicode build for BC++ 5.3

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

22 years agodon't use -mthreads switch if the compiler doesn't support it
Vadim Zeitlin [Wed, 4 Sep 2002 15:04:10 +0000 (15:04 +0000)] 
don't use -mthreads switch if the compiler doesn't support it

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

22 years agomake --static default if configured with --disable-shared
Vadim Zeitlin [Wed, 4 Sep 2002 14:56:55 +0000 (14:56 +0000)] 
make --static default if configured with --disable-shared

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

22 years agouse standard colour for the selected tree item text as well as background
Vadim Zeitlin [Wed, 4 Sep 2002 14:30:25 +0000 (14:30 +0000)] 
use standard colour for the selected tree item text as well as background

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

22 years agomention that wxBase builds with BC++ now
Vadim Zeitlin [Wed, 4 Sep 2002 14:21:51 +0000 (14:21 +0000)] 
mention that wxBase builds with BC++ now

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

22 years agofix crash if Delete menu command is used twice
Vadim Zeitlin [Wed, 4 Sep 2002 13:50:58 +0000 (13:50 +0000)] 
fix crash if Delete menu command is used twice

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

22 years agofix wxCheckListBox which was completely broken by the Unicode changes
Vadim Zeitlin [Wed, 4 Sep 2002 13:45:39 +0000 (13:45 +0000)] 
fix wxCheckListBox which was completely broken by the Unicode changes

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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