Commit Graph

43577 Commits

Author SHA1 Message Date
Vadim Zeitlin
b827d64707 refactored common code from XXX_EndProcessDetect in wxGTK[12] and wxMac/wxCocoa into wxHandleProcessTermination itself; also removed code dealing with negative pids as we don't use them any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:50:44 +00:00
Vadim Zeitlin
1282ddbb4d don't show more than 20 lines of redirected IO, just 10 first and last ones is enough to check that the code works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:49:45 +00:00
Václav Slavík
a7c01bb155 documented that Freeze and Thaw are now recursive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:43:36 +00:00
Vadim Zeitlin
3bbd09c34c get rid of traits functions unnecessary now that wxExecute() works in both base and GUI ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:15:28 +00:00
Vadim Zeitlin
33343395da fixed IO redirection to work in wxExecute() in console applications (including the case when the child process outputs more than pipe buffer size) by using wxSelectDispatcher for multiplexing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:10:54 +00:00
Vadim Zeitlin
a83ca5fbf5 use wxGUIAppTraits::WaitForChild() in wxMac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:12:47 +00:00
Vadim Zeitlin
947f3b358c fix warnings about unused parameters/variables in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:11:37 +00:00
Francesco Montorsi
5c7b506103 use wx-style header and commets; fix indentation to be 4 spaces; move Doxygen comments in a new interface header; deprecate SetBrowser() in favour of SetViewer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:06:30 +00:00
Václav Slavík
89267fe552 fixes to Freeze/Thawn when the window is shown or hidden in between Freeze and Thaw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 11:55:11 +00:00
Václav Slavík
22f43cb5a7 fixed spurious debug message about unexpected focus change when wx focus changed more than once before event loop iteration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 11:47:57 +00:00
Vadim Zeitlin
fdf7ff738c make wxSelectDispatcher ctor public, it can be useful to create it in places other than wxFDIODispatcher
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 04:19:12 +00:00
Vadim Zeitlin
ea58aac580 correct the REDIRECT_COMMAND definition for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 04:08:03 +00:00
Vadim Zeitlin
4d425deeb2 return bool from wxStreamTempInputBuffer::Update() indicating if anything was done; don't sleep in wxExecute() if IO is coming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:50:35 +00:00
Vadim Zeitlin
eacb6b56a6 extracted GUI-specific part of utilsunx.cpp to a new unix/apptraits.cpp file and don't include utilsunx.cpp in both base and GUI libraries now so that we can get rid of BASE_AND_GUI_UNIX_SRC in files.bkl entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:48:11 +00:00
Vadim Zeitlin
9d3845e884 extracted GUI-specific part of utilsunx.cpp to a new unix/apptraits.cpp file and don't include utilsunx.cpp in both base and GUI libraries now so that we can get rid of BASE_AND_GUI_UNIX_SRC in files.bkl entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:46:04 +00:00
Vadim Zeitlin
3c80703554 unused any more (should have been part of r52667)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:25:48 +00:00
Vadim Zeitlin
405f0fef4b rename classes use by generic wxSpinCtrl implementation to have "Generic" suffix to avoid conflicts with the classes with the same names in wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:15:56 +00:00
Vadim Zeitlin
8907a7e2c0 add comparison operators for wxPen/BrushStyle and wxSOLID/... constants to avoid warnings in the existing code using such comparisons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:13:18 +00:00
Vadim Zeitlin
2ecd1756e4 added wxWindowDisabler ctor for conditionally disabling all windows and use it in WaitForChild()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:06:57 +00:00
Vadim Zeitlin
1d57de4858 more compilation fixes after pen/brush styles changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 02:58:41 +00:00
Vadim Zeitlin
1d043598b7 replace wxAddProcessCallback() with wxAppTraits::AddProcessCallback() to fix linking problems in Unix ports; also reduce code duplication between GUI and base versions making src/unix/baseunix.cpp unnecessary any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:07:13 +00:00
Vadim Zeitlin
9c97f8ea88 don't pass unnecessary arguments to FindOrCreateBrush/Pen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:04:29 +00:00
Vadim Zeitlin
5d2d8f6ae3 add default parameters for width and style parameters of FindOrCreatePen() for consistency with FindOrCreateBrush() and wxPen ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:04:01 +00:00
Vadim Zeitlin
b09cac4506 add compatible FindOrCreateBrush(wxColour, int) (also fixes wxMotif compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:02:48 +00:00
Vadim Zeitlin
42c46d5283 kill the process launched by wxExecute(ASYNC) to avoid leaving unneeded processes running
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:55:03 +00:00
Vadim Zeitlin
331abcf7d7 uncomment wxExecute(ASYNC) test now that it's supposed to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:48:29 +00:00
Vadim Zeitlin
6ed05f194d also use wx/private/*.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:39:41 +00:00
Vadim Zeitlin
2051c39fae compilation fixes after pen/brush styles changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:39:11 +00:00
Václav Slavík
b23bb1f962 fixed TABs positioning inside <pre> so that tags don't throw it apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 21:19:09 +00:00
Václav Slavík
37ed592f71 remove needless casting (no real change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 20:11:55 +00:00
Francesco Montorsi
b02f1c862d some more comments about wxSortedArrayString::Sort
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 19:06:04 +00:00
Michael Wetherell
ddd3c34768 Send build notification to wx-buildbot mailing list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:18:30 +00:00
Francesco Montorsi
f0a9a84c09 warn the user about using getters of objects in invalid state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:04:00 +00:00
Francesco Montorsi
106ef548fd add the default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:03:12 +00:00
Vadim Zeitlin
a7d980f639 restore setting m_appName broken by recent change (fixes bug 1921954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 16:21:51 +00:00
Václav Slavík
f016d3b424 misc wxVector<T> docs fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 14:51:28 +00:00
Václav Slavík
9fa8c9bf96 fixes to wxSharedPtr<T> docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 14:36:04 +00:00
Francesco Montorsi
cc6e1a74b9 further prototype fixes (thanks to ifacecheck)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 14:22:27 +00:00
Francesco Montorsi
1f5c66294a add to GetToolkitVersion() the = NULL default values for the two arguments: they were documented but not actually implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 14:21:52 +00:00
Václav Slavík
27d335cc23 document standard IDs only in one place, not two; bring the list up to date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 14:20:26 +00:00
Francesco Montorsi
82c5e9ab46 fix wxBrush for the mac build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 09:37:59 +00:00
Francesco Montorsi
8064223b7b splitted wxApp docs in wxApp+wxAppConsole docs; fix the signature of the documented functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 23:45:15 +00:00
Francesco Montorsi
70f9d2bef3 add the wxAnimation's ctor which automatically loads a file: it was documented but not present in the actual code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 22:33:57 +00:00
Francesco Montorsi
3d8662ab0f fix the signature of the documented functions and document some (relatively) new for wxAcceleratorEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 22:32:46 +00:00
Francesco Montorsi
25af884d93 fix header files so that they can be included directly without generating 'undefined reference' errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 18:11:26 +00:00
Francesco Montorsi
483724a1ad fix a macroscopic error which made Doxygen generate invalid XML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 18:10:49 +00:00
Francesco Montorsi
ac3688c0d8 make the Pen/Brush code backward compatible as discussed on wx-dev; marked the blocks of code to deprecate in future with FUTURE_WXWIN_COMPATIBILITY_3_0; add wxCHECK_MSG in all ports to block Get*() calls on invalid objects (as already is for all other refcounted objects and for most ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 15:08:51 +00:00
Václav Slavík
7c08b47173 compilation fix for wxUSE_GUI=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 15:06:14 +00:00
Václav Slavík
3c4f71cc3d removed trailing whitespace in Doxygen files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 13:45:17 +00:00
Václav Slavík
7df4c51f60 removed wxAcceleratorTable copy ctor docs, no port implements it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 13:40:20 +00:00