Commit Graph

1486 Commits

Author SHA1 Message Date
Stefan Csomor
33b35531ec eliminate double deletion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 07:06:06 +00:00
Stefan Csomor
e07a214281 leads to a double call of AddChild, if we don't see any problems, we'll remove it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 07:04:52 +00:00
Vadim Zeitlin
6c6ea7bed1 remove the selection when SetSelection(-1) is called instead of asserting (as documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 01:03:02 +00:00
Stefan Csomor
2c899c2010 guard against m_peer = NULL in Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 11:51:43 +00:00
Stefan Csomor
18a82b9cd3 don't restrict to OS9 API for Mac-Builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:52:37 +00:00
Stefan Csomor
684e0b31ef __WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:45:21 +00:00
Vadim Zeitlin
d4cace1ccd use common code to determine best notebook size instaed of Mac-specific which mistakenly used current pages sizes and not the best ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 01:00:31 +00:00
Robert Roebling
c061373dc5 Began work on print dialogs. Now wxPrintDialog
is a pimpl implementation of the native
    dialog classes, which are created in wxPrintFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 22:11:48 +00:00
Vadim Zeitlin
fa4a69423d don't leave two conscutive separators after "moving" a standard menu item to the application menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 20:54:46 +00:00
Vadim Zeitlin
ea3cdc4f89 don't reset tool/status bar pointers manually, it is now done automatically by the dtors of the bars themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 20:28:36 +00:00
Vadim Zeitlin
488abb222a call AddChild() when the control is already reallly created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 15:00:40 +00:00
Dimitri Schoolwerth
b9242cc700 fixed CFM build linking error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 01:49:28 +00:00
Stefan Csomor
1dd82eff99 removed IsShown guards, allowing now for manipulation of hidden toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 06:12:27 +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
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
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
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
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
Julian Smart
bdacb147ee Workaround for special menu items not always being enabled. Use
with UI update events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 18:06:15 +00:00
Vadim Zeitlin
7d9bf1f11c don't include headers not needed when wxUSE_GUI == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 16:10:46 +00:00
Ryan Norton
2d347ce894 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 03:14:30 +00:00
Ryan Norton
dcac15653e OSX only (a runtime check would be preferable as Kevin mentioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 03:09:42 +00:00
Kevin Hock
326d5a744f Increase status bar height from 15 to 18, allows common 16 x 16 icons and other controls like checkboxes to fit better without special handling (at least until Mac statusbar can determine its own best height)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 02:50:27 +00:00
Ryan Norton
23c6ddc89c only do the seperator between about and preferences on 10.3 and up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 02:49:16 +00:00
Kevin Hock
e957d41c73 wx apps did not have the separator like other apps after About--now they do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 02:08:41 +00:00
Vadim Zeitlin
29e92efbe7 hack: hide the MDI parent frame by moving it off screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 01:51:29 +00:00
Václav Slavík
024f89f972 moved wxWindow::GetBestSize implementation into DoGetBestSize to make it easier to support both prototypes in derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 16:33:36 +00:00
Ryan Norton
af7e08a4a5 have it work the old way with PopupMenu(), and have it restore the old menu on destruction (and hopefully when RemoveIcon() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 13:51:00 +00:00
Robin Dunn
1d451c5bd1 wxSystemSettings::GetMetric returns -1 if the metric is not supported
by the port.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:56:22 +00:00
Robin Dunn
e768548a12 Create a mask for the icon if it doesn't already have one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 20:39:25 +00:00
Václav Slavík
0fe0275981 changes to make wxWindow::FindFocus work as expected with composite controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Kevin Hock
5b884f4c74 Send EVT_COMMAND_TEXT_UPDATED from the spin control when the text in a spin control is updated by typing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 00:14:29 +00:00
Kevin Hock
163c36827d When enabling events, use CommonModes instead of DefaultMode for the RunLoop. In use locally since January, indicated as better mode setting by Dave E.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 23:23:21 +00:00
Ryan Norton
154ad28bb3 possibly fix compilo error w/xcode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 15:41:27 +00:00
Ryan Norton
641b395201 Fix some bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 15:24:48 +00:00
Ryan Norton
6d3ef2255e fix unicode stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 09:24:48 +00:00
Ryan Norton
1553abf415 source nice-ness and remove erronous files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 23:19:24 +00:00
Ryan Norton
1751226cbf revert bad change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 22:46:16 +00:00
Ryan Norton
0836924e6b remove stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 14:20:01 +00:00
Ryan Norton
344d48020e [ 1035247 ] fix the number of ticks in slider (with annotations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 13:57:34 +00:00
Ryan Norton
6be23c2a23 pass by reference, not value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:45:15 +00:00
Ryan Norton
342689c865 fix warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:42:40 +00:00
Ryan Norton
12fce8fb5e fix non-void function not returning value warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:33:40 +00:00
Ryan Norton
e9b41b24a0 Add HID keyboard functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:13:24 +00:00
Vadim Zeitlin
ae8e83cb39 made GetTempBuffer() static to avoid duplicate function errors during linking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 23:17:19 +00:00
Ryan Norton
ec8bd3921c hid integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 20:35:45 +00:00
Ryan Norton
4ac48ae210 cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 17:41:26 +00:00