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
Patrick K. O'Brien
09dbc89e7b
Changed path to epydoc files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:34:26 +00:00
Patrick K. O'Brien
e96dfa70f5
Absolute paths to the epydoc files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:32:32 +00:00
Patrick K. O'Brien
10b9b230e1
Updated to include new wx epydoc reference.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:25:01 +00:00
Patrick K. O'Brien
742c06e8aa
Added DirFilterListCtrl class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:42:09 +00:00
Patrick K. O'Brien
f864dfa8f7
Add more stuff to the output file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:20:24 +00:00
Patrick K. O'Brien
4ed72fe0c3
Better module docstring.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:17:57 +00:00
Julian Smart
f32edf89b1
Compilo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:14:17 +00:00
Patrick K. O'Brien
a2743d3433
Added two functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 18:23:27 +00:00
Robert Roebling
c69021d8cd
Added menu bitmaps to GTK2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 14:28:40 +00:00
Julian Smart
f6bef341eb
Removed obsolete 16-bit import libs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 09:44:36 +00:00
Julian Smart
44571a5d27
Doc clarifications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:53:46 +00:00
Robert Roebling
1daf3f08fd
splitter mini fix upported from HEAD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:23:33 +00:00
Robert Roebling
da6c39648e
Compilation fixes for Penguin under Unicode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:02:16 +00:00
Robert Roebling
5e0701b3a5
Adapted GLCanvas to GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:01:14 +00:00
Patrick K. O'Brien
7f9e738a57
Generates wx package for epydoc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 01:53:30 +00:00
Patrick K. O'Brien
1096092fbc
Namespace cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 18:37:07 +00:00