Commit Graph

25253 Commits

Author SHA1 Message Date
Ryan Norton
422d306cb3 1. Yet another unit test for new stirng stuff
2. Fix unicode and 10.2 in src/cocoa/app.mm
3. Fix error in doc about wxEvtHandler::Connect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:50:24 +00:00
Julian Smart
d2b1753d16 Applied patch [ 1039940 ] Prevent redefinition of MM_xxx mapping mode constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:42:11 +00:00
Julian Smart
fd76d9633a Applied patch [ 1039953 ] Fix notebook functionality in widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:38:48 +00:00
Julian Smart
2006289b74 Applied patch [ 1042241 ] Fixes print setup problem (MSW UNICODE build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:32:20 +00:00
Julian Smart
a527830a2e Applied patch [ 1042241 ] Fixes print setup problem (MSW UNICODE build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:26:58 +00:00
Włodzimierz Skiba
373a5fb355 Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 13:36:41 +00:00
Włodzimierz Skiba
b4e0b521e0 Late note about deprecated wxDbTable constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 13:04:53 +00:00
Dimitri Schoolwerth
3246bafdcf fixed Carbon compilation; call HID keyboard dtor for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 11:26:32 +00:00
Ryan Norton
bb27b37262 revert badly screwed up commit :\
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 09:01:23 +00:00
Ryan Norton
dcb6810279 2.5.3 - cleanups, fixes, etc. etc. -
1. Various stubs for wxCocoa (and the bakefile entries for them)
2. Definitions for some wxCocoa cocoa types in defs.h
3. Hack to attempt to fix SYNC sound for mac carbon
4. Fix for wxCocoa and 10.2 (Dave - I'm already around doing some stuff anyway - I'll go ahead and save you the trouble).
5. 10.2 unicode layer
6. Strings null-char fixes (stems from chartraits patch - essentially the patch minus the chartraits part - HAHA :)) [note to self - swap the 2nd and 3rd params of wxMemchr if you use chartraits and vice versa]
	* If you have time please run the strings and stdstrings cppunit test suite
	* Also add more test suites if you want - more is always better :)
	* This does not include any fixes for mbtowc etc functions as outlined on the ml

7. An attempt to update wxArray docs a little
8. wx/process.h build fix for wxCocoa
9. Unicode fixes in app.mm for wxCocoa
10. Remove newer font panel after Stefan's suggestion


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 08:53:48 +00:00
Julian Smart
685cdfcb9e Misc script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 07:52:25 +00:00
Ryan Norton
c228d3a4c2 cache mac and cocoa builds - so if you pick cocoa one time and don't specify it the next it will properly go back to cocoa, not default to mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 01:59:46 +00:00
Ryan Norton
5558135c48 cursors for cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 22:11:46 +00:00
Robin Dunn
f744f3456c New directories added, old ones removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:55:43 +00:00
Robin Dunn
b6536d60cf Install tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:54:49 +00:00
Václav Slavík
f3d618fdde fixed broken DoUpdateWindowUI: event.SetChecked doesn't have to be used together with SetText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:49:40 +00:00
Ryan Norton
2619179042 cocoa tooltips. Remove runtime warning from 10.2 (dave - I was too lazy to change this from my local copy, feel free to commit over this if you want)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:09:47 +00:00
Włodzimierz Skiba
39d350d692 Blind fix to lack of sql types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:58:46 +00:00
Włodzimierz Skiba
925e9792d3 Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
958d3a7e4b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:32:05 +00:00
Włodzimierz Skiba
907173e51d Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:21:57 +00:00
Włodzimierz Skiba
c0c997853f Keys to some operations (patch #1037434).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:11:24 +00:00
Włodzimierz Skiba
716dc24570 Removed doubled events, corrected behaviour (patch #1037434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:09:34 +00:00
Václav Slavík
67aa6c1ee6 added reference to GetUnicodeKey to GetKeyCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 19:46:11 +00:00
Robin Dunn
8412feb028 Show EVT_ACTIVATE and EVT_ACTIVATE_APP events in action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:34:20 +00:00
Robin Dunn
2e0ae50eca A Python version of wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:32:25 +00:00
Robin Dunn
c0e1f6b66e Mention TaskBarIcon and other recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:30:24 +00:00
Robin Dunn
9d617682ab Remove any old wxrc before installing new ones. This fixes a make
error on OSX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:10:22 +00:00
Robin Dunn
21131143d5 wxMDIChildFrame::IsTopLevel returns false but for this purpose we
should use the MDI Child, not it's parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 17:04:05 +00:00
Kevin Hock
e59461fff5 Expanded comment in Initialize to include why Initialize is needed on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 16:25:33 +00:00
Kevin Hock
7725dc7c0a Mac sockets events must be added to the RunLoop in the main thread, very similar to MSW. OnInit will now statically store the main RunLoop when wxSocketBase::Initialize is called (which should be called from the main thread), allowing sockets to be created in secondary threads and still receive events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 16:20:50 +00:00
Kevin Hock
262ce38a2a Added back compile-time check for about/prefs menu separator; OS 9 should not have this separator appended. Can be changed later if needed to run-time check. This is better than nothing before 2.5.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 16:15:30 +00:00
Stefan Csomor
0bf1e7cb96 adjusting DoGetBestSize according MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 11:53:07 +00:00
Vadim Zeitlin
27db421056 cleaning up strdup/isascii definitions for compilers which lack them (should fix CW CFM build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:57:40 +00:00
Robert Roebling
3c4e4af64e Make wxComboBox spit out a bit fewer surplis
events when holding down the mouse button.
 Enable key based navigation through notebook
   tabs as in the native control with Left and
   right keys. Support for vetoing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:11:18 +00:00
Robin Dunn
5f24651b5c Deprecated EVT_LIST_GET_INFO and EVT_LIST_SET_INFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:53:01 +00:00
Robin Dunn
82bd61672d Typedef for wxUIntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:52:20 +00:00
Robin Dunn
45c82204b9 Added wx.App.IsMainLoopRunning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:51:43 +00:00
Ryan Norton
d2518be484 default pos/size cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 19:17:48 +00:00
Robin Dunn
d5a0636fa0 Improve image hittest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 18:24:13 +00:00
Robert Roebling
576f712776 Fixed missing focus problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 16:17:21 +00:00
Václav Slavík
a565f84b6f added wxRB_SINGLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:42:37 +00:00
Włodzimierz Skiba
254a21292b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +00:00
David Elliott
908686c52e Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
that the newly implement wxButton::DoGetBestSize() is not used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 01:50:17 +00:00
David Elliott
635f01472e Implement wxButtonBase::GetDefaultSize()
Implement wxButton::DoGetBestSize() to return at least 68 pixel width unless
wxBU_EXACTFIT flag is given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 01:49:05 +00:00
David Elliott
d1adc25737 Added wxAutoNSAutoreleasePool where needed for controls sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 23:47:49 +00:00
Włodzimierz Skiba
8f6eaec925 Warning fixes to most detailed warning output of OpenWatcom. Tested under Borland, DigitalMars and MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:25:15 +00:00
Vadim Zeitlin
9b0db4529f made IsMainLoopRunning() static and implemented it for wxAppConsole too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:21:44 +00:00
Robin Dunn
30bbdf96e5 fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:06:35 +00:00
Włodzimierz Skiba
44e0daa1d2 Warning fixes to most detailed warning output of OpenWatcom. Tested under Borland, DigitalMars and MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:03:27 +00:00