Commit Graph

21286 Commits

Author SHA1 Message Date
Vadim Zeitlin
16dd61ac10 don't use char hook to handle Esc in the dialogs, it is too blunt and prevents us from using it for the other purposes such as closing popup menus (bug 884713)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:20:02 +00:00
Julian Smart
014249a8f0 Fixed bug [ 849168 ] wxGenericDirCtrl missing wxPROPERTY_FLAGS section for RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:13:12 +00:00
Vadim Zeitlin
f60e797e90 estimate size of multiline text controls more accurately (bug 873277)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:52:37 +00:00
Julian Smart
ce994095c6 Closed doc bug [ 412032 ] wxGrid SetCellAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:51:13 +00:00
Julian Smart
70ffa79cc9 Document deletion of all items in SetWindowStyleFlag for wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:40:55 +00:00
Julian Smart
c8abcf3309 Fixed [ 855507 ] typo in wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:39:29 +00:00
Vadim Zeitlin
2d1715aa46 fixed wxEVT_CONTEXT_MENU generation (it works differently under w2k/XP than under NT4 apparently...) (partly fixes bug 861510)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:38:54 +00:00
Julian Smart
98b100e271 Fixed doc bug [ 871974 ] wxCursor(bits, ...) constructor misses fg and bg in doc
Jay Berkenbilt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:34:16 +00:00
Vadim Zeitlin
c25f373e2b as after recent change wxID_SEPARATOR is now -2, it is better for idMenuTitle to be different from -2 as otherwise we have separators instead of menu titles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:29:41 +00:00
Vadim Zeitlin
684571809d don't try O(N) actions in virtual view, this gives impression that the sample hangs (as in bug 857038)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:16:21 +00:00
Julian Smart
055898b8f0 Fixed [ 875952 ] Win32 wxListControl::FindItem documentation wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:13:44 +00:00
Vadim Zeitlin
f2e5c08285 ugly attempt to fix compilation for BCB 6 (bug 819700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:06:29 +00:00
Julian Smart
22c9005dd4 Fixed bug [ 865999 ] wxRETAINED windows appear blank on MSW.
wxRETAINED defined to 0 on non-Motif platforms to avoid
clash with wxPOPUP_WINDOW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:03:28 +00:00
Vadim Zeitlin
97c611f847 fixed and documented GetItemText/BackgroundColour() (closes bug 812907)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:02:22 +00:00
Vadim Zeitlin
9f7948af90 don't call SelectObject() twice in SetBrush() nor SetFont() neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:45:07 +00:00
Vadim Zeitlin
550049c260 renamed wxEventFixModule to wxWakeUpIdleModule; added error checking; slight code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:38:35 +00:00
Vadim Zeitlin
ee50eab8d9 added GetHbrush() and GetHbrushOf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:27:56 +00:00
Vadim Zeitlin
b5371ab8cd don't call SelectObject() twice in SetPen() (slow!); don't do anything if setting the same pen and handle errors betters (should fix bug 811415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:22:12 +00:00
Vadim Zeitlin
5c57bf07fa fixed operator=(), ==() and !=() for wxPen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:20:50 +00:00
Vadim Zeitlin
6c6bf502f9 fixed small bug in operator=() (comparing equal but not identical objects were not assigned though they should be)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:07:35 +00:00
Vadim Zeitlin
7577637342 added GetHpen() and GetHpenOf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:54:43 +00:00
Vadim Zeitlin
82a306b728 define WXMICROWIN_CHECK_HDC macro once instead of having #ifdefs for microwin everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:40:08 +00:00
Vadim Zeitlin
0f07e3dc24 use wxBusyCursor class instead of wxBeginBusyCursor and several (mismatched and thus provoking assert failures) wxEndCursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:30:23 +00:00
Stefan Csomor
590e21b0e2 proper UTF32 / 16 conversions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:24:35 +00:00
Stefan Csomor
6bdd4f5d1e wchar_t 4 bytes support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:23:41 +00:00
Stefan Csomor
55094d8b35 redraw forced for size changes (layout for measuring is simpler than word-wrapping drawing code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:22:53 +00:00
Vadim Zeitlin
9cb57df493 use hard coded default size for top level windows instead of CW_USEDEFAULT: this results in more decent default frame size and fixes initial wxMiniFrame size which used to be tiny 8*8 (and so fixes bug 817832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:20:10 +00:00
Julian Smart
c360bf5beb Added wxTreeListCtrl: patch [ 883529 ] wxTreeListCltr
Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:02:01 +00:00
Julian Smart
0032ddbb32 Misc doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:45:37 +00:00
Julian Smart
73ff84ff71 Applied patch [ 892608 ] wxLogDialog + wxLogFrame: minor improvement for file saving
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:43:41 +00:00
Julian Smart
dba6b4f880 Applied patch [ 892543 ] wxUniversal: Bitmaps in disabled menu items
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:38:31 +00:00
Stefan Csomor
1a527fbc0a corrected Sleep implementation (as clock() under Mach does only return our own passed time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:38:11 +00:00
Julian Smart
4dc8d4b7c2 Added CE project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:22:42 +00:00
Julian Smart
798303203d Applied patch [ 875666 ] Warning free configtool util
ABX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:01:28 +00:00
Julian Smart
5a332fb5e0 Applied patch [ 879998 ] Warning free animate contrib
ABX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:59:34 +00:00
Julian Smart
a20ad557cc Fixed RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:57:59 +00:00
Julian Smart
2b3644c715 Applied patch [ 875663 ] Warning free mmedia contrib
ABX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:56:22 +00:00
Julian Smart
74de91cc97 Applied [ 880011 ] Several fixes to DbBrowse demo
ABX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:53:48 +00:00
Julian Smart
2321962672 Applied patch [ 892511 ] wxUniversal: fix of segfault in toolbar.cpp
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:49:22 +00:00
Stefan Csomor
00f5539438 scroll of subwindow confined to rect param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:07:23 +00:00
Stefan Csomor
f8e089e0c5 tabs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:06:06 +00:00
Stefan Csomor
3a05d58d94 corrected line counts and implemented ShowPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 10:56:48 +00:00
Stefan Csomor
5c250a1033 corrections for buffers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 09:53:50 +00:00
Stefan Csomor
305a0f6057 unicode savvy conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 09:52:19 +00:00
Mattia Barbon
56b88f1276 Documented new constructor and overloaded Create methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 08:27:29 +00:00
Mattia Barbon
4901082d7d Update toback24.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 08:24:01 +00:00
Mattia Barbon
e700df04ec Reverses part of my changes of Mon Apr 14 17:27:28 2003. This
fixes wxMotif windows not getting most mouse move events (testcase:
could not drag cards in Forty). This is a quick fix for 2.5.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 08:07:10 +00:00
Mattia Barbon
6e94fff95a Compilation fix for wxUSE_STL == 1 and wxUSE_UNICODE == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:58:15 +00:00
Mattia Barbon
f6afb56a2d Applied patches #892580 and #892582 from Christian Sturmlechner.
Fix of variable declaration in wxApp::Yield().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:54:26 +00:00
David Elliott
4858097646 Use wxLogTrace instead of wxLogDebug for trace messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:07:04 +00:00