Vadim Zeitlin
86c5b12b21
also rename gsocketiohandler.* to socketiohandler.* and move it to wxNet where it belongs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:37:19 +00:00
Vadim Zeitlin
6091364135
rename various gsock* files to sock* (except for MSW where this will be done later)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:04:47 +00:00
Vadim Zeitlin
51fe4b60ab
Streamline wxSocket code: wxSocketBase now uses wxSocketImpl (previously known
...
as GSocket) which is a base class with various wxSocketImplXXX implementations
provided by different wxSocketManagers.
Share more code between ports (still not finished).
Refactor some code inside wxSocketImpl itself to be less redundant and fixed a
couple of minor bugs in the process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:47:07 +00:00
Julian Smart
29dbfacee2
Fixed inability to select no superscript and no subscript in wxRichTextCtrl's
...
formatting dialog (fixes bug #10121 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:46:34 +00:00
Julian Smart
dc5de0dd36
wxRichTextCtrl no longer deletes a character when content is selected
...
before pressing Delete (fixes bug #10153 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:35:15 +00:00
Julian Smart
e516368243
Fixed HTML list output
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:18:00 +00:00
Vadim Zeitlin
312242ead1
fix g++ warning about assigning NULL to a non-pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 00:17:55 +00:00
Paul Cornett
e955eee585
fix for shown TLW having m_isShown == false, #9909
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-27 23:00:04 +00:00
Vadim Zeitlin
80cc5fc7ad
document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 19:11:22 +00:00
Francesco Montorsi
a5cc517ff6
make wxThread::OnExit private and not public (change tested on wxMSW and wxGTK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 17:24:00 +00:00
Francesco Montorsi
5159e01481
added GetKind getter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:40:14 +00:00
Francesco Montorsi
2b4367d520
clarified that Raise() and Lower() only work for wxTopLevelWindows ( closes #4717 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:18:28 +00:00
Francesco Montorsi
3c52ef9423
added note about GetTimestamp() ( fixes #1986 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:13:51 +00:00
Francesco Montorsi
c48d6cdf1f
documented the wxDCBrushChanger, wxDCPenChanger, wxDCTextColourChanger; introduced a wxDCFontChanger
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 15:54:08 +00:00
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