Julian Smart
3d3fd07689
Rationalised style handling in tree control
...
No longer use WS_EX_WINDOWEDGE since it seems to be obsolete,
and has no effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 15:20:50 +00:00
Patrick K. O'Brien
1a24baa1a0
Fixed sort bug.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 20:02:08 +00:00
Stefan Csomor
f0f3ef30ba
redraw fix backported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:56:37 +00:00
Stefan Csomor
65c3c03f4a
CFStringRef support backport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:29:04 +00:00
Stefan Csomor
855ff63b6a
better min size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:25:48 +00:00
Stefan Csomor
3e4c97edf2
void correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:18:28 +00:00
Stefan Csomor
4182609042
native help tool tips under Carbon and OSX, backport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:14:44 +00:00
Stefan Csomor
30d61191be
added CFStringRef methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:11:16 +00:00
Roman Rolinsky
ff7744a993
just a test for IsShown (no refreshing if not)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:12:39 +00:00
Roman Rolinsky
ec3435a947
new version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:11:39 +00:00
Roman Rolinsky
86a574a07a
added Expand/Collapse handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:11:30 +00:00
Roman Rolinsky
336b1df17d
fixed sizes of some controls under windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:10:45 +00:00
Roman Rolinsky
adf520e7a8
changed scrolled window to container, but there's still no support in wxXRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:09:06 +00:00
Julian Smart
7b452d0dc8
Auto 3D border if parent is a panel or dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 10:14:43 +00:00
Julian Smart
5c8c438c33
Apply correct style variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 10:09:40 +00:00
Gilles Depeyrot
2b312fb177
assert is raised when using the thread sample (which works) so the test is
...
probably not so easy. Can widget callbacks be triggered from child threads
and, if so, for which widgets?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 19:28:13 +00:00
Gilles Depeyrot
0866ab9046
added assert to detect attempt to install idle handler from widget callback
...
not called from main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 16:44:48 +00:00
Vadim Zeitlin
613df03afb
compilation fix for TEST_MIME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 00:10:46 +00:00
Julian Smart
00e8c2009e
Fixed crash in EnsureVisible in wxTR_HIDE_ROOT mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 21:48:24 +00:00
Robert Roebling
c0bfa2acd4
Compile fix for GTK 1.2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 14:31:40 +00:00
Julian Smart
f97ef56b88
Use context sensitive help XPM for Windows too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 10:00:38 +00:00
Vadim Zeitlin
db15725500
undid patch which was supposed to allow thread recreation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:36:42 +00:00
Vadim Zeitlin
01771b15dd
linking fix for wxUSE_PROLOGIO with compilers/makefiles not defining __WIN32__ on command line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:25:31 +00:00
Robin Dunn
346573fc95
More patches to the masked edit control from Will Sadkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 21:42:47 +00:00
Patrick K. O'Brien
14ca9dc4b0
Updated.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 15:48:05 +00:00
Robin Dunn
e0b302e05d
Patches to the masked edit control from Will Sadkin:
...
## 1. Fixed .SetValue() to replace the current value, rather than the current
## selection. Also changed it to generate ValueError if presented with
## either a value which doesn't follow the format or won't fit. Also made
## set value adjust numeric and date controls as if user entered the value.
## Expanded doc explaining how SetValue() works.
## 2. Fixed EUDATE* autoformats, fixed IsDateType mask list, and added ability to
## use 3-char months for dates, and EUDATETIME, and EUDATEMILTIME autoformats.
## 3. Made all date autoformats automatically pick implied "datestyle".
## 4. Added IsModified override, since base wxTextCtrl never reports modified if
## .SetValue used to change the value, which is what the masked edit controls
## use internally.
## 5. Fixed bug in date position adjustment on 2 to 4 digit date conversion when
## using tab to "leave field" and auto-adjust.
## 6. Fixed bug in _isCharAllowed() for negative number insertion on pastes,
## and bug in ._Paste() that didn't account for signs in signed masks either.
## 7. Fixed issues with _adjustPos for right-insert fields causing improper
## selection/replacement of values
## 8. Fixed _OnHome handler to properly handle extending current selection to
## beginning of control.
## 9. Exposed all (valid) autoformats to demo, binding descriptions to
## autoformats.
## 10. Fixed a couple of bugs in email regexp.
## 11. Modified autoformats to be more amenable to international use.
## 12. Clarified meaning of '-' formatcode in doc.
## 13. Fixed a couple of coding bugs being flagged by Python2.1.
## 14. Fixed several issues with sign positioning, erasure and validity
## checking for "numeric" masked controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 14:29:43 +00:00
Patrick K. O'Brien
2352d3f843
The wx package requires wxPython 2.4.1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 13:44:45 +00:00
Robin Dunn
feb2d6d223
Prevent scrolling back to the top when calling SetItemCount again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 06:29:39 +00:00
Robin Dunn
c71bb017ee
Fix GetItemRect to offset by the header window, if present.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 02:17:52 +00:00
Robin Dunn
dac982f799
moved comments to the right place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 23:22:30 +00:00
Robin Dunn
1deeb8c822
No need to import Image
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 22:07:19 +00:00
Robin Dunn
cdc77b67db
Added #if TARGET_CARBON around shaped window stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 21:29:39 +00:00
Julian Smart
0b7bf40bbc
Make sure grid elements have no borders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:29:18 +00:00
Robin Dunn
082640752d
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:25:03 +00:00
Václav Slavík
21f9c5560d
fix for multiple initialization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:03:10 +00:00
Robin Dunn
268df712a3
Binary compatible almost correct workaround for failure to merge the
...
m_overflow flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:47:51 +00:00
Julian Smart
1b4c5c70bb
More style issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Julian Smart
0842947f77
Fix some style glitches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 15:00:06 +00:00
Julian Smart
41350749c7
Add WS_VISIBLE style so controls actually show up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:58:16 +00:00
Julian Smart
a25cf84937
Use native tree control by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:48:22 +00:00
Robert Roebling
9426087491
Second attempt to use bitmap menus under GTK2. This
...
creates a memory leak since GTK2 expects a static
bitmap and we have to create it on the fly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:36:14 +00:00
Julian Smart
c5d4a908ee
Backported the window border improvements to 2.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 08:36:40 +00:00
Robin Dunn
7779af28db
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:59:56 +00:00
Robin Dunn
e09838afc4
Added wxFutureCall, a subclass of wxTimer that makes it easy to delay
...
a call to any Python callable object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:57:59 +00:00
Robin Dunn
28118dbd1d
Added wrappers for wxTreeListCtrl, only to wxPython so far but it
...
could probably go into contrib/gizmos with some more work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:56:16 +00:00
Robin Dunn
f632c16831
Typos fixed and other tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:55:07 +00:00
Robin Dunn
2f511ce8d0
Added wrappers for wxTreeListCtrl, only to wxPython so far but it
...
could probably go into contrib/gizmos with some more work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:44:13 +00:00
Robin Dunn
aeeb59a436
Fixed a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:37:13 +00:00
Robin Dunn
c9462e363c
Added inline setters for wxTreeEvent so we don't need to add new
...
friends anytime someone wants to generate wxTreeEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:30:37 +00:00
Robin Dunn
b148feb55e
allow the base class to participate in the CanPaste decision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 23:43:39 +00:00