Commit Graph

46327 Commits

Author SHA1 Message Date
Francesco Montorsi
8d13e30116 readd grouping previously removed by error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 17:45:16 +00:00
Vadim Zeitlin
87c0312a66 use struct timeval and not a long to store socket timeout under Unix too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:39:12 +00:00
Vadim Zeitlin
ebf94940c4 remove last traces of __GSOCKET_STANDALONE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:32:48 +00:00
Vadim Zeitlin
025644120d move more socket functions common to Winsock and BSD implementations to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:30:42 +00:00
Vadim Zeitlin
3a6ec3c880 don't duplicate SetInitialSocketBuffers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:21:11 +00:00
Vadim Zeitlin
5b8cadd2ba remove unused any more wx_socket_callback()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:18:43 +00:00
Vadim Zeitlin
83a7ab5c71 fix wxSocket notifications under MSW after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:17:49 +00:00
Vadim Zeitlin
53a161e101 continuation of GSocket/wxSocket merge: always create GSocket associated to a wxSocket instead of (always) doing it using a separate call later; remove support for user callbacks which wasn't implemented in Windows version and deprecated since 10 years or so
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:12:46 +00:00
Vadim Zeitlin
2d46f281a5 added wxSocketBase::GetTimeout() to match existing SetTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:11:25 +00:00
Vadim Zeitlin
d3dcef0170 don't assume that __thread is available just because we use g++ 4, it doesn't support it under all platforms, notably not under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 12:33:32 +00:00
Vadim Zeitlin
ff55f8377b use int instead of SOCKET to avoid including winsock.h from wx/gsocket.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 12:18:08 +00:00
Jaakko Salli
a2851207a6 Render cell background in renderer only if rendering on propgrid canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 11:30:24 +00:00
Jaakko Salli
b0996c3da0 Eliminate need to call Connect() in wxPGEditor::CreateControls()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 11:00:40 +00:00
Vadim Zeitlin
eb6a8d695e don't use __thread keyword with g++ < 4 as it results in mysterious problems at link time related to thread-local static wxString::ms_cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:53:24 +00:00
Vadim Zeitlin
40e7c0b913 compilation fixes for Unix after moving wxFD_XXX macros from wx/unix/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:52:20 +00:00
Vadim Zeitlin
eb97543d28 don't duplicate GSocket creation/destruction and shutdown code in BSD and Winsock implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:44:50 +00:00
Bryan Petty
afe0e40097 Finished review of the first 1,000 lines of grid.h interface header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:27:03 +00:00
Vadim Zeitlin
e6f466082e fix timeout value for wxDatagramSocket: was off by a factor of 1000
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:15:44 +00:00
Vadim Zeitlin
f0db5d7587 do not require a running event loop, even under MSW, for the sockets to work: if the user code doesn't use events there is no reason for it to run the event loop, especially as it's not needed under the other platforms; instead use the same Select() implementation as under Unix under MSW too and, to avoid duplicating it, put it into the new GSocketBase class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:11:09 +00:00
Vadim Zeitlin
b245cbc587 fix (harmless) VC7 warnings about auto_ptr assignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:09:34 +00:00
Francesco Montorsi
5cba3a2548 documented ExitCode typedef; revised wxThread and wxThreadHelper docs, also adding two usage examples; remove useless comment added by error in previous commits; linked threading overview from wxThread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:09:23 +00:00
Bryan Petty
cbd251acba Documented some DrawText() parameters missed in the last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 23:16:55 +00:00
Bryan Petty
9cc4ab8522 Reviewed and cleaned up the rest of the graphics.h interface header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 23:03:28 +00:00
Francesco Montorsi
bb24d7088d fix minor typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 23:00:06 +00:00
Francesco Montorsi
160f78e09d added group 'grid' (fixes #10217)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 22:50:39 +00:00
Vadim Zeitlin
5a3955662a document all overloads of DrawText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 22:40:36 +00:00
Vadim Zeitlin
091111d693 fix compilation after r56753 (closes #10218)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 22:40:13 +00:00
Francesco Montorsi
c53ab02698 modernize the documented systems to declare new events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 20:03:19 +00:00
Jaakko Salli
c5bb545349 Updated event type declarations to follow what other sub-libraries do these days (ie. DECLARE_EXPORTED_EVENT_TYPE is no longer used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 16:41:05 +00:00
Francesco Montorsi
550ca6ac97 render the content of @c tags in a slightly more visible way; currently using DejavuSans as font in Firefox (i.e. the default font) the differences between @c-styled text and normal text are almost unnoticeable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:59:16 +00:00
Francesco Montorsi
83d56dd128 give a name to the enum to make it easier to reference it in docs; wxFSVolume shouldn't be considered incomplete anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:56:26 +00:00
Francesco Montorsi
34db817726 give a name to the enum to make it easier to reference it in docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:54:33 +00:00
Francesco Montorsi
b155797819 clarify role of wxToolBarToolBase (fixes #9874)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:53:10 +00:00
Francesco Montorsi
1bc693a9ca fix for doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:36:50 +00:00
Francesco Montorsi
4e878f44ab document wxFSVolume (fixes #3977)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:29:08 +00:00
Francesco Montorsi
e3d1fc26b2 fix wxList<T>::resize description (fixes #10207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:36:32 +00:00
Vadim Zeitlin
e5a0bdfbaf use TCP for this benchmark under Windows too (and not DDE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:34:04 +00:00
Vadim Zeitlin
e4e7977701 no need to disable DoTestSwap() for VC6 any more with latest wx/cppunit.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:33:09 +00:00
Francesco Montorsi
6a0f372ca0 document mac.textcontrol-use-spell-checker (fixes #10165)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:29:00 +00:00
Francesco Montorsi
9cfebe8ccc fixes #10131
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:20:28 +00:00
Francesco Montorsi
94d17b78d8 be more precise about range in indeterminate-mode wxGauges (fixes #10125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:18:05 +00:00
Francesco Montorsi
76ef2d3935 documented wxTaskBarIconEvent (fixes #10021)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:00:35 +00:00
Francesco Montorsi
59b9603aa6 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 13:56:16 +00:00
Francesco Montorsi
c86b476dd5 clarify wxListCtrl::GetItem (fixes #9640)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 13:42:42 +00:00
Francesco Montorsi
afc31d8ad8 clarify how top-level windows are used by wxApp (fixes #9448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 13:12:32 +00:00
Francesco Montorsi
5b86c331ec fix docs for wxInputStream::GetC(); fixes #4461
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:44:17 +00:00
Francesco Montorsi
c909e90788 fix docs for wxRect::Intersect overloads (fixes #4445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:39:45 +00:00
Francesco Montorsi
dcc5fcbf1f fix docs for wxWindow::Layout (fixes #4297)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:29:09 +00:00
Francesco Montorsi
4c0258758d fix description for wxWS_EX_CONTEXTHELP; fixes #4276
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:17:19 +00:00
Francesco Montorsi
4a15036c35 add event table for wxAuiNotebook (partially fixes #4175)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:10:54 +00:00