Commit Graph

17496 Commits

Author SHA1 Message Date
Julian Smart
6c2298b2db Noted that the preview object is deleted by the frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:45:57 +00:00
Julian Smart
984424b443 Fixed wxListCtrl simple border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 07:43:49 +00:00
Robin Dunn
c8ad57a77a Ensure that the focus gets redirected to the embedded control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 18:26:47 +00:00
Roman Rolinsky
ff5bb76716 two-stage creation of XRC-based dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 13:26:38 +00:00
Robin Dunn
9831428651 Patch from Eugene Rimsky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 23:55:09 +00:00
Patrick K. O'Brien
519a8af2fa Protect against inspect.getdoc() failing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 21:41:24 +00:00
Václav Slavík
af8b8aa277 allow untranslated accelerators, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 16:45:47 +00:00
Julian Smart
6f5d76722b Don't prepend directory to filename for shortcuts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 09:20:42 +00:00
Julian Smart
36f7711df6 Corrected wxScrollBar style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 09:30:00 +00:00
Robin Dunn
8cd8ce0be2 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 19:07:29 +00:00
Robin Dunn
be01c1a550 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 19:07:03 +00:00
Robin Dunn
7fefeea078 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 19:06:44 +00:00
Robin Dunn
a5d0a5701f Fixed a couple minor bugs and changed copyright info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 18:33:47 +00:00
Robin Dunn
d6738b5fb6 Updated some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 18:29:32 +00:00
Robin Dunn
7356db934c Fixed parameter types for the wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:48 +00:00
Robin Dunn
99e67248a7 Tiny update for the build notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:33 +00:00
Robin Dunn
5fdb1fb356 Fixed wxFutureCall so it automatically cleans up after itself after
the timer has expired, if there are no references held to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:09 +00:00
Robin Dunn
088fa4c076 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:51:39 +00:00
Robin Dunn
11f9207e9e fixed compile errors for wxTreeListCtrl on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:49:56 +00:00
Robin Dunn
7160e19699 Modified frame styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:47:09 +00:00
Julian Smart
ce231d2667 Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 21:31:03 +00:00
Robin Dunn
ddadc73ae5 Acutally use the m_maxChars parameter value instead of ignoring it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 20:50:55 +00:00
Robin Dunn
9a27fdf2c6 MSW compile fixes, detabified, a couple minor bugs fixed, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 22:10:32 +00:00
Mattia Barbon
b8a31222b9 Fixed bug with notebook pages not showing (probably affected any
wxWindow/wxPanel child when panel was hidden and then shown again).
The bug was introduced by the fix for hidden windows still
intercepting mouse events. (backport)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 19:58:53 +00:00
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