]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Sat, 29 Nov 2008 22:19:55 +0000 (22:19 +0000)]
cleanup the Win32 window classes registration code: remove global variables and register the window classes we use on demand to avoid registering MDI or GL classes unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57030
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 15:05:01 +0000 (15:05 +0000)]
more updates after r57026 change to app.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57028
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 15:03:28 +0000 (15:03 +0000)]
update after r57026 change to app.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57027
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 14:59:21 +0000 (14:59 +0000)]
get rid of CE-specific code for class name registration, the unique instance enforcement should be implemented by using wxSingleInstanceChecked if it's really necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57026
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 14:49:47 +0000 (14:49 +0000)]
don't reuse the double click handled in activation event handler for toggling the item (#9761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57025
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 14:47:02 +0000 (14:47 +0000)]
correct CalcSizeFromPage() for multiline notebooks (#2335)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57024
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 14:41:02 +0000 (14:41 +0000)]
add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57023
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 13:51:09 +0000 (13:51 +0000)]
don't use wxChar arrays and wxStrncpy (especially as the latter was used incorrectly) in Mac-specific type/creator code, just use wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57022
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 29 Nov 2008 13:43:32 +0000 (13:43 +0000)]
properly NUL-terminate the string when using strncpy() (#10230)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57021
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 29 Nov 2008 00:24:57 +0000 (00:24 +0000)]
add GetSize also to wxGDIImage since wxBitmap under some ports derives from wxGDIImage and not from wxBitmapBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57019
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 23:48:58 +0000 (23:48 +0000)]
fix wrong placement of the @apperance tag previously committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57018
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 23:16:24 +0000 (23:16 +0000)]
remove @appearance tag from abstract classes; add the missing screenshots of some controls to wxGTK image folder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57016
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 22:32:00 +0000 (22:32 +0000)]
fix crash caused by cancelling querybitmap dialog; fix crash caused by clicking 'add widget icons' on an empty bitmapcombobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57015
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 22:29:29 +0000 (22:29 +0000)]
provide GetSize() getters in wxBitmap and wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57014
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 21:50:22 +0000 (21:50 +0000)]
return wxDefaultSize (as done in all other platforms) when the combo box is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57013
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 20:59:52 +0000 (20:59 +0000)]
remove wxVSCROLL from wxMessageDialog style (left over from prior experiments)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57012
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 19:33:37 +0000 (19:33 +0000)]
move style table in the detailed description like for all other interface headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57011
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 19:29:14 +0000 (19:29 +0000)]
restore correct doctype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57010
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 19:28:15 +0000 (19:28 +0000)]
added the possibility (for doxygen >= 1.5.7.1) to generate a QCH file for wxWidgets documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57009
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 17:58:39 +0000 (17:58 +0000)]
make more readable the checks for incoherent style flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57008
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 17:58:00 +0000 (17:58 +0000)]
internal variables of wxFileHistory are protected, not public; in any case, do not document them since they are all editable safely using the accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57007
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 17:56:10 +0000 (17:56 +0000)]
no change; just reformat wxThreadHelper::KillThread's comment and refer to wxThreadHelperThread inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57006
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 28 Nov 2008 17:43:34 +0000 (17:43 +0000)]
deprecate Create() function in favour of CreateThread(); its name is too generic for a mix-in class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57005
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 28 Nov 2008 16:04:55 +0000 (16:04 +0000)]
Compile fix
Centre/right justification fix when there is a right indent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57003
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 28 Nov 2008 15:53:13 +0000 (15:53 +0000)]
Fixed centering and right-justification when combined with left indentation (bug #10221).
Fixed wrapping problem for long lines (bug #10149).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57002
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 15:06:50 +0000 (15:06 +0000)]
remove wxSocketManager::CreateSocket() function, we don't need to have different wxSocketImpl implementation for the same platform, all the differences between console and GUI applications are abstracted by wxSocketManager::Install/Uninstall_Callback() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57000
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 15:01:41 +0000 (15:01 +0000)]
move enabled callbacks flag down to wxSocketImplUnix from wxSocketImplFDIO, this allows to get rid of the letter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56999
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 14:39:49 +0000 (14:39 +0000)]
make wxSocketImplUnix inherit from wxFDIOHandler as they're used for almost the same purpose; this removes the need for the bridge wxSocketOHandler class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56998
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 13:43:41 +0000 (13:43 +0000)]
no real changes, just moved wxSocketImplUnix ctor inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56997
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 13:37:19 +0000 (13:37 +0000)]
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
Vadim Zeitlin [Fri, 28 Nov 2008 13:04:47 +0000 (13:04 +0000)]
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
Vadim Zeitlin [Fri, 28 Nov 2008 12:47:07 +0000 (12:47 +0000)]
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
Julian Smart [Fri, 28 Nov 2008 12:46:34 +0000 (12:46 +0000)]
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
Julian Smart [Fri, 28 Nov 2008 12:35:15 +0000 (12:35 +0000)]
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
Julian Smart [Fri, 28 Nov 2008 12:18:00 +0000 (12:18 +0000)]
Fixed HTML list output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56988
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 28 Nov 2008 00:17:55 +0000 (00:17 +0000)]
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
Paul Cornett [Thu, 27 Nov 2008 23:00:04 +0000 (23:00 +0000)]
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
Vadim Zeitlin [Wed, 26 Nov 2008 19:11:22 +0000 (19:11 +0000)]
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
Francesco Montorsi [Wed, 26 Nov 2008 17:24:00 +0000 (17:24 +0000)]
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
Francesco Montorsi [Wed, 26 Nov 2008 16:40:14 +0000 (16:40 +0000)]
added GetKind getter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56983
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 26 Nov 2008 16:18:28 +0000 (16:18 +0000)]
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
Francesco Montorsi [Wed, 26 Nov 2008 16:13:51 +0000 (16:13 +0000)]
added note about GetTimestamp() (fixes #1986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56981
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 26 Nov 2008 15:54:08 +0000 (15:54 +0000)]
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
Vadim Zeitlin [Wed, 26 Nov 2008 12:40:36 +0000 (12:40 +0000)]
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
Vadim Zeitlin [Wed, 26 Nov 2008 12:35:04 +0000 (12:35 +0000)]
remove unused callback and data variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56977
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 26 Nov 2008 12:21:56 +0000 (12:21 +0000)]
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
Vadim Zeitlin [Wed, 26 Nov 2008 12:07:20 +0000 (12:07 +0000)]
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
Vadim Zeitlin [Wed, 26 Nov 2008 11:50:57 +0000 (11:50 +0000)]
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
Bryan Petty [Tue, 25 Nov 2008 20:09:04 +0000 (20:09 +0000)]
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
Francesco Montorsi [Tue, 25 Nov 2008 17:26:11 +0000 (17:26 +0000)]
commit remaining portions of #10087
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56970
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 25 Nov 2008 17:04:48 +0000 (17:04 +0000)]
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
Vadim Zeitlin [Tue, 25 Nov 2008 13:57:19 +0000 (13:57 +0000)]
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
Vadim Zeitlin [Tue, 25 Nov 2008 13:57:03 +0000 (13:57 +0000)]
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
Vadim Zeitlin [Tue, 25 Nov 2008 13:33:07 +0000 (13:33 +0000)]
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
Jouk Jansen [Tue, 25 Nov 2008 07:16:35 +0000 (07:16 +0000)]
Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56963
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 25 Nov 2008 00:28:15 +0000 (00:28 +0000)]
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
Francesco Montorsi [Tue, 25 Nov 2008 00:24:58 +0000 (00:24 +0000)]
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
Jaakko Salli [Mon, 24 Nov 2008 16:42:53 +0000 (16:42 +0000)]
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
Vadim Zeitlin [Mon, 24 Nov 2008 09:36:13 +0000 (09:36 +0000)]
include the right header for timeval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56955
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 24 Nov 2008 09:31:14 +0000 (09:31 +0000)]
remove extraneous class scope qualifier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56954
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Mon, 24 Nov 2008 07:07:31 +0000 (07:07 +0000)]
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
Bryan Petty [Mon, 24 Nov 2008 02:23:48 +0000 (02:23 +0000)]
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
Francesco Montorsi [Mon, 24 Nov 2008 00:01:37 +0000 (00:01 +0000)]
provide an example implementation of wxCloseEvent handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56949
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 23 Nov 2008 23:53:45 +0000 (23:53 +0000)]
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
Francesco Montorsi [Sun, 23 Nov 2008 19:46:43 +0000 (19:46 +0000)]
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
Francesco Montorsi [Sun, 23 Nov 2008 19:30:25 +0000 (19:30 +0000)]
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
Francesco Montorsi [Sun, 23 Nov 2008 18:10:53 +0000 (18:10 +0000)]
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
Francesco Montorsi [Sun, 23 Nov 2008 17:45:16 +0000 (17:45 +0000)]
readd grouping previously removed by error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56942
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Nov 2008 13:39:12 +0000 (13:39 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 13:32:48 +0000 (13:32 +0000)]
remove last traces of __GSOCKET_STANDALONE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56939
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Nov 2008 13:30:42 +0000 (13:30 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 13:21:11 +0000 (13:21 +0000)]
don't duplicate SetInitialSocketBuffers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56937
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Nov 2008 13:18:43 +0000 (13:18 +0000)]
remove unused any more wx_socket_callback()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56936
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Nov 2008 13:17:49 +0000 (13:17 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 13:12:46 +0000 (13:12 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 13:11:25 +0000 (13:11 +0000)]
added wxSocketBase::GetTimeout() to match existing SetTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56933
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Nov 2008 12:33:32 +0000 (12:33 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 12:18:08 +0000 (12:18 +0000)]
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
Jaakko Salli [Sun, 23 Nov 2008 11:30:24 +0000 (11:30 +0000)]
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
Jaakko Salli [Sun, 23 Nov 2008 11:00:40 +0000 (11:00 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 01:53:24 +0000 (01:53 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 01:52:20 +0000 (01:52 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 01:44:50 +0000 (01:44 +0000)]
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
Bryan Petty [Sun, 23 Nov 2008 01:27:03 +0000 (01:27 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 01:15:44 +0000 (01:15 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 00:11:09 +0000 (00:11 +0000)]
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
Vadim Zeitlin [Sun, 23 Nov 2008 00:09:34 +0000 (00:09 +0000)]
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
Francesco Montorsi [Sun, 23 Nov 2008 00:09:23 +0000 (00:09 +0000)]
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
Bryan Petty [Sat, 22 Nov 2008 23:16:55 +0000 (23:16 +0000)]
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
Bryan Petty [Sat, 22 Nov 2008 23:03:28 +0000 (23:03 +0000)]
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
Francesco Montorsi [Sat, 22 Nov 2008 23:00:06 +0000 (23:00 +0000)]
fix minor typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56918
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 22 Nov 2008 22:50:39 +0000 (22:50 +0000)]
added group 'grid' (fixes #10217)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56917
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 22 Nov 2008 22:40:36 +0000 (22:40 +0000)]
document all overloads of DrawText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56916
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 22 Nov 2008 22:40:13 +0000 (22:40 +0000)]
fix compilation after r56753 (closes #10218)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56915
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 22 Nov 2008 20:03:19 +0000 (20:03 +0000)]
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
Jaakko Salli [Sat, 22 Nov 2008 16:41:05 +0000 (16:41 +0000)]
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
Francesco Montorsi [Sat, 22 Nov 2008 15:59:16 +0000 (15:59 +0000)]
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
Francesco Montorsi [Sat, 22 Nov 2008 15:56:26 +0000 (15:56 +0000)]
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
Francesco Montorsi [Sat, 22 Nov 2008 15:54:33 +0000 (15:54 +0000)]
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
Francesco Montorsi [Sat, 22 Nov 2008 15:53:10 +0000 (15:53 +0000)]
clarify role of wxToolBarToolBase (fixes #9874)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56909
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775