Ryan Norton
0c0be4a318
wxSound for wxCocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 00:47:47 +00:00
Ryan Norton
51259762d5
wxDisplay for wxCocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 00:40:19 +00:00
Ryan Norton
51678b5b76
wxCocoa link fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 00:08:33 +00:00
Ryan Norton
8a9c20b016
fix darwin defines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 23:32:04 +00:00
Ryan Norton
b956262276
a bit of cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 23:21:23 +00:00
Ryan Norton
265d5cce05
1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and return 0 - we need our own, even in ANSIcd ..!)\n2.Finalize the null character changes in wxString - change mb_str and wc_str to not stop at null characters\n3.Add unit tests for the above
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:28:57 +00:00
Julian Smart
c82be69b51
Applied patch [ 1039456 ] [wxOS2]Popup menu problems
...
By Dave Parsons
Fixes problems including:
titles do not display,
title id is already allocated to the menu separator,
menus show in totally the wrong position,
possible to call DoPopupMenu with out of range parameters,
showing a menu enters an infinite loop with 100% cpu usage,
ProcessEvent is called destroying the return value from
HandleMouseEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 18:35:50 +00:00
Ryan Norton
004a805d3d
some preparation for carbon/cocoa interop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 18:32:25 +00:00
Robin Dunn
7c9b5f42f5
Correct compile errors in non-unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 18:08:05 +00:00
Ryan Norton
3e90a0abcb
another stub for wxCocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 17:56:59 +00:00
Robin Dunn
bf47e3986a
Verified and applied [ 1042133 ] GTK2.0: DrawRotatedText dumb implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 17:05:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
0203c8cd67
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@29652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 19:47:55 +00:00
Robin Dunn
890976b89f
Bail out if GetCurrentMenu returns NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 19:28:13 +00:00
Ryan Norton
190c958182
native wxFontDialog for carbon, second shot
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:36:28 +00:00
Dimitri Schoolwerth
a8d628fcc5
added missing include for non-PCH compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:23:43 +00:00
Vadim Zeitlin
90fc4a0ccb
don't use non blocking sockets if wxApp::IsMainLoopRunnning() returns false (closes 994293)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:52:32 +00:00
Vadim Zeitlin
6dda7a7521
assert that name, not full path, is used in RenameEntry(); fixed RenameGroup() which was completely broken for groups with subgroups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:37:45 +00:00
Vadim Zeitlin
701fb11eb5
fixed deletion of last group in the config file (bugs 849088 and 902147)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:18:11 +00:00
Vadim Zeitlin
c8adf5ef39
don't try to delete our config file in DeleteAll() if we don't have any; don't assert when trying to delete an entry which doesn't exist (for consistency with DeleteGroup() and wxRegConfig)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:53:23 +00:00
Vadim Zeitlin
45d51f194a
don't add dummy empty line at the end when reading from stream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:42:58 +00:00
Vadim Zeitlin
4c420a80e0
small optimization in wxConfigPathChanger: don't change the path if it is already the same as requested
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:29:15 +00:00
Dimitri Schoolwerth
8f7fa6f8f9
removed tab character
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:46:42 +00:00
Vadim Zeitlin
a121d72052
added wxFileConfig::Save(stream); documented it in new, separate from wxConfig, wxFileConfig doc file (replaces patches 902372 and 900889)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:55:08 +00:00
Vadim Zeitlin
e1cc687422
don't keep a dirty flag in each entry/group, this is totally wasteful as a single flag in wxFileConfig itself is enough; do reset the dirty flag after Flush()ing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:34:09 +00:00