Robin Dunn
4eb65923fc
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:40:34 +00:00
Robin Dunn
09cca25189
Added IsEditCancelled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:39:42 +00:00
Gilles Depeyrot
50bcbd3d0e
corrected comments (should not be C++ style!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:04:29 +00:00
Mattia Barbon
11a2ce5ad2
XmNframeChildType is not in Lesstif if it was compiled with Motif 1.2
...
compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:57:34 +00:00
Mattia Barbon
79f1dd05ad
Build without 2.2 compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:56:42 +00:00
Mattia Barbon
159f4b336e
Revert apparently accidental commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:55:14 +00:00
Robin Dunn
da906b9742
Added effects.h to filelist.txt so it will get installed, fixed a
...
syntax problem in makeall.sh, regenerated all makefiles and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:54:30 +00:00
Guillermo Rodriguez Garcia
aa6ca3dcc9
Solved problems with handling of LOST events on Unix platforms (reported
...
on wxGTK). Main symptoms were spurious CONNECT events being delivered when
a connection had failed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:49:18 +00:00
Robin Dunn
e26c13cffd
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
2002-09-05 20:12:08 +00:00
Julian Smart
ae31cc57f7
Eliminated unreachable code warning in VC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:02 +00:00
Julian Smart
e11f2e1645
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
2002-09-05 19:59:34 +00:00
Julian Smart
dd23c25cde
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
2002-09-05 19:50:41 +00:00
Robin Dunn
67a92fff32
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:41:45 +00:00
Robin Dunn
fd512ba286
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
2002-09-05 19:39:28 +00:00
Robin Dunn
d8f3f98359
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
2002-09-05 19:38:13 +00:00
Robin Dunn
db54b04615
Added some accessors for wxEffects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:37:25 +00:00
Robin Dunn
40716a510b
some tweaks for LINK_LEXERS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:36:59 +00:00
Julian Smart
e015d1f7da
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
2002-09-05 16:15:30 +00:00
Gilles Depeyrot
85d5e282e9
-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
2002-09-05 16:15:06 +00:00
Julian Smart
2385ec429a
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
2002-09-05 14:56:34 +00:00
Gilles Depeyrot
06313569d8
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
2002-09-05 13:59:18 +00:00
David Webster
5efff1479e
Fix for child window positioning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:54:24 +00:00
Stefan Csomor
1b2a04da9a
corrected code for doubles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:42:16 +00:00
Gilles Depeyrot
ad2622f15d
corrected HPUX specific test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:28:30 +00:00
Vadim Zeitlin
57351df0a6
fix Union(empty rect) bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 10:54:30 +00:00
Václav Slavík
c601df457c
compilation fix for wxUSE_WCHAR_T=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:17:09 +00:00
Václav Slavík
2af6b4c37f
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
2002-09-04 22:07:25 +00:00
Václav Slavík
7e2f4683db
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
2002-09-04 22:07:19 +00:00
Václav Slavík
77ab277914
compilation fix for wxUSE_WCHAR_T=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:12 +00:00
Václav Slavík
a682b31c35
added watmgl.t to Makefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:00 +00:00
Václav Slavík
28e40b1e06
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
2002-09-04 22:06:50 +00:00
Mattia Barbon
b8ddac49a3
Missing #include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 16:42:53 +00:00
Vadim Zeitlin
a8ddb18623
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
2002-09-04 15:06:46 +00:00
Vadim Zeitlin
ca8e52b3d2
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
2002-09-04 15:04:10 +00:00
Vadim Zeitlin
2bffed64c5
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
2002-09-04 14:56:55 +00:00
Vadim Zeitlin
2076893b53
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
2002-09-04 14:30:25 +00:00
Vadim Zeitlin
8705ab68e2
mention that wxBase builds with BC++ now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:21:51 +00:00
Vadim Zeitlin
798265916e
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
2002-09-04 13:50:58 +00:00
Vadim Zeitlin
8161b5b9f0
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
2002-09-04 13:45:39 +00:00
David Webster
f0b47621e9
For OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:39:02 +00:00
Vadim Zeitlin
390015c0ee
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
2002-09-04 13:16:46 +00:00
Chris Elliott
333e110dab
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
2002-09-04 12:24:45 +00:00
Vadim Zeitlin
a42de1303a
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
2002-09-04 11:45:06 +00:00
Chris Elliott
b7b45f6ffc
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
2002-09-04 11:16:46 +00:00
Gilles Depeyrot
b261fbf3dc
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
2002-09-04 11:14:55 +00:00
Chris Elliott
8c3288a7b6
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
2002-09-04 10:56:49 +00:00
Chris Elliott
95f102ab59
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
2002-09-04 10:47:11 +00:00
Ron Lee
0e080be64b
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
2002-09-04 09:35:13 +00:00
David Webster
f5ea767eb8
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
2002-09-03 22:26:53 +00:00
Julian Smart
a715019788
Avoid using wxTextCtrl::SaveFile with no arg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:36:58 +00:00