Commit Graph

46301 Commits

Author SHA1 Message Date
Vadim Zeitlin
369042f03c remove apparently unused file (src/osx/core/gsocket.cpp seems to have replaced it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 12:40:36 +00:00
Vadim Zeitlin
2fdc8b41b4 remove unused callback and data variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 12:35:04 +00:00
Vadim Zeitlin
04889c59c6 move wx/gsocket.h to wx/private/gsocket.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 12:21:56 +00:00
Vadim Zeitlin
3c0b7f4e46 don't include (private) wx/gsocket.h from public header, forward declaring GAddress is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 12:07:20 +00:00
Vadim Zeitlin
ac52d2b0fc include wx/msw/private.h to fix PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 11:50:57 +00:00
Bryan Petty
9d9abdbfa9 Fixed doxygen warnings regarding the XRC File Format overview using <> tags in section titles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 20:09:04 +00:00
Francesco Montorsi
2a63871948 commit remaining portions of #10087
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 17:26:11 +00:00
Jaakko Salli
582699e1ac To avoid error message, do not even try to set focus on MSW popup window that doesn't have WS_POPUP style (closes #10157)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 17:04:48 +00:00
Vadim Zeitlin
36b6a92876 compilation fix for OS X (missing unistd.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 13:57:19 +00:00
Vadim Zeitlin
53107283f3 temporary fix the linking problem due to making GSocket::Detected_Read/Write() non-virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 13:57:03 +00:00
Vadim Zeitlin
f0fbbe2364 trying to resolve GSocketManager API mess: the meaning of Install/Uninstall_Callback() and Enable/Disable_Events() has diverged in different ports and didn't make any sense any more; merge them in a single function (with still differing semantics though); also added Close_Socket()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 13:33:07 +00:00
Jouk Jansen
44c87b7d15 Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 07:16:35 +00:00
Francesco Montorsi
848f8788e9 fix the examples for wxThread and wxThreadHelper after field-testing on wxMSW and wxGTK; add a note to wxThread::Run about detached threads; fix the note for wxThread::Delete wrt joinable threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 00:28:15 +00:00
Francesco Montorsi
2e4f32d760 add more references to the delayed deletion of wxTopLevelWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 00:24:58 +00:00
Jaakko Salli
5b4666dfbe DatePickerCtrl editor could crash if property had unspecified or otherwise incompatible value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 16:42:53 +00:00
Vadim Zeitlin
d932a670ee include the right header for timeval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 09:36:13 +00:00
Vadim Zeitlin
8e1b8897f8 remove extraneous class scope qualifier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 09:31:14 +00:00
Bryan Petty
caac780411 Reviewed, and re-organized members of wxGrid, which now makes the interface header manual reviews finally finished.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 07:07:31 +00:00
Bryan Petty
8b9ef005c3 Reviewed the rest of grid.h except for the wxGrid class itself, and re-ordered the definitions to fit the real header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 02:23:48 +00:00
Francesco Montorsi
195be56dca provide an example implementation of wxCloseEvent handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 00:01:37 +00:00
Francesco Montorsi
9d157d5978 add an event table for wxFrame and wxDialog: they send wxCloseEvents...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 23:53:45 +00:00
Francesco Montorsi
d76259e2fb many document corrections by charles; partial commit of patch #10087
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 19:46:43 +00:00
Francesco Montorsi
6d62b2e2b1 document that dragging in wxTreeCtrl needs to be explicitely allowed (fixes #3915)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 19:30:25 +00:00
Francesco Montorsi
eeea433b0d the layout file for use with doxygen >= 1.5.7.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 18:10:53 +00:00
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