wxWidgets.git
15 years agoadd safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
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

15 years agodon't use wxChar arrays and wxStrncpy (especially as the latter was used incorrectly...
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

15 years agoproperly NUL-terminate the string when using strncpy() (#10230)
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

15 years agoadd GetSize also to wxGDIImage since wxBitmap under some ports derives from wxGDIImag...
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

15 years agofix wrong placement of the @apperance tag previously committed
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

15 years agoremove @appearance tag from abstract classes; add the missing screenshots of some...
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

15 years agofix crash caused by cancelling querybitmap dialog; fix crash caused by clicking ...
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

15 years agoprovide GetSize() getters in wxBitmap and wxImage
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

15 years agoreturn wxDefaultSize (as done in all other platforms) when the combo box is empty
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

15 years agoremove wxVSCROLL from wxMessageDialog style (left over from prior experiments)
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

15 years agomove style table in the detailed description like for all other interface headers
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

15 years agorestore correct doctype
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

15 years agoadded the possibility (for doxygen >= 1.5.7.1) to generate a QCH file for wxWidgets...
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

15 years agomake more readable the checks for incoherent style flags
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

15 years agointernal variables of wxFileHistory are protected, not public; in any case, do not...
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

15 years agono change; just reformat wxThreadHelper::KillThread's comment and refer to wxThreadHe...
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

15 years agodeprecate Create() function in favour of CreateThread(); its name is too generic...
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

15 years agoCompile fix
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

15 years agoFixed centering and right-justification when combined with left indentation (bug...
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

15 years agoremove wxSocketManager::CreateSocket() function, we don't need to have different...
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

15 years agomove enabled callbacks flag down to wxSocketImplUnix from wxSocketImplFDIO, this...
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

15 years agomake wxSocketImplUnix inherit from wxFDIOHandler as they're used for almost the same...
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

15 years agono real changes, just moved wxSocketImplUnix ctor inline
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

15 years agoalso rename gsocketiohandler.* to socketiohandler.* and move it to wxNet where it...
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

15 years agorename various gsock* files to sock* (except for MSW where this will be done later)
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

15 years agoStreamline wxSocket code: wxSocketBase now uses wxSocketImpl (previously known
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

15 years agoFixed inability to select no superscript and no subscript in wxRichTextCtrl's
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

15 years agowxRichTextCtrl no longer deletes a character when content is selected
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

15 years agoFixed HTML list output
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

15 years agofix g++ warning about assigning NULL to a non-pointer
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

15 years agofix for shown TLW having m_isShown == false, #9909
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

15 years agodocument column reordering in wxListCtrl; fix confusion between GetColumnOrder()...
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

15 years agomake wxThread::OnExit private and not public (change tested on wxMSW and wxGTK)
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

15 years agoadded GetKind getter
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

15 years agoclarified that Raise() and Lower() only work for wxTopLevelWindows (closes #4717)
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

15 years agoadded note about GetTimestamp() (fixes #1986)
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

15 years agodocumented the wxDCBrushChanger, wxDCPenChanger, wxDCTextColourChanger; introduced...
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

15 years agoremove apparently unused file (src/osx/core/gsocket.cpp seems to have replaced it)
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

15 years agoremove unused callback and data variables
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

15 years agomove wx/gsocket.h to wx/private/gsocket.h
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

15 years agodon't include (private) wx/gsocket.h from public header, forward declaring GAddress...
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

15 years agoinclude wx/msw/private.h to fix PCH-less compilation
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

15 years agoFixed doxygen warnings regarding the XRC File Format overview using <> tags in sectio...
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

15 years agocommit remaining portions of #10087
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

15 years agoTo avoid error message, do not even try to set focus on MSW popup window that doesn...
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

15 years agocompilation fix for OS X (missing unistd.h)
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

15 years agotemporary fix the linking problem due to making GSocket::Detected_Read/Write() non...
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

15 years agotrying to resolve GSocketManager API mess: the meaning of Install/Uninstall_Callback...
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

15 years agoUpdate configuration for OpenVMS
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

15 years agofix the examples for wxThread and wxThreadHelper after field-testing on wxMSW and...
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

15 years agoadd more references to the delayed deletion of wxTopLevelWindows
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

15 years agoDatePickerCtrl editor could crash if property had unspecified or otherwise incompatib...
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

15 years agoinclude the right header for timeval
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

15 years agoremove extraneous class scope qualifier
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

15 years agoReviewed, and re-organized members of wxGrid, which now makes the interface header...
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

15 years agoReviewed the rest of grid.h except for the wxGrid class itself, and re-ordered the...
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

15 years agoprovide an example implementation of wxCloseEvent handler
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

15 years agoadd an event table for wxFrame and wxDialog: they send wxCloseEvents...
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

15 years agomany document corrections by charles; partial commit of patch #10087
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

15 years agodocument that dragging in wxTreeCtrl needs to be explicitely allowed (fixes #3915)
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

15 years agothe layout file for use with doxygen >= 1.5.7.0
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

15 years agoreadd grouping previously removed by error
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

15 years agouse struct timeval and not a long to store socket timeout under Unix too
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

15 years agoremove last traces of __GSOCKET_STANDALONE__
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

15 years agomove more socket functions common to Winsock and BSD implementations to common code
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

15 years agodon't duplicate SetInitialSocketBuffers()
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

15 years agoremove unused any more wx_socket_callback()
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

15 years agofix wxSocket notifications under MSW after the last change
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

15 years agocontinuation of GSocket/wxSocket merge: always create GSocket associated to a wxSocke...
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

15 years agoadded wxSocketBase::GetTimeout() to match existing SetTimeout()
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

15 years agodon't assume that __thread is available just because we use g++ 4, it doesn't support...
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

15 years agouse int instead of SOCKET to avoid including winsock.h from wx/gsocket.h
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

15 years agoRender cell background in renderer only if rendering on propgrid canvas
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

15 years agoEliminate need to call Connect() in wxPGEditor::CreateControls()
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

15 years agodon't use __thread keyword with g++ < 4 as it results in mysterious problems at link...
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

15 years agocompilation fixes for Unix after moving wxFD_XXX macros from wx/unix/private.h
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

15 years agodon't duplicate GSocket creation/destruction and shutdown code in BSD and Winsock...
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

15 years agoFinished review of the first 1,000 lines of grid.h interface header.
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

15 years agofix timeout value for wxDatagramSocket: was off by a factor of 1000
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

15 years agodo not require a running event loop, even under MSW, for the sockets to work: if...
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

15 years agofix (harmless) VC7 warnings about auto_ptr assignment
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

15 years agodocumented ExitCode typedef; revised wxThread and wxThreadHelper docs, also adding...
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

15 years agoDocumented some DrawText() parameters missed in the last commit.
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

15 years agoReviewed and cleaned up the rest of the graphics.h interface header.
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

15 years agofix minor typos
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

15 years agoadded group 'grid' (fixes #10217)
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

15 years agodocument all overloads of DrawText()
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

15 years agofix compilation after r56753 (closes #10218)
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

15 years agomodernize the documented systems to declare new events
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

15 years agoUpdated event type declarations to follow what other sub-libraries do these days...
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

15 years agorender the content of @c tags in a slightly more visible way; currently using DejavuS...
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

15 years agogive a name to the enum to make it easier to reference it in docs; wxFSVolume shouldn...
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

15 years agogive a name to the enum to make it easier to reference it in docs
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

15 years agoclarify role of wxToolBarToolBase (fixes #9874)
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

15 years agofix for doxygen warnings
Francesco Montorsi [Sat, 22 Nov 2008 15:36:50 +0000 (15:36 +0000)] 
fix for doxygen warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument wxFSVolume (fixes #3977)
Francesco Montorsi [Sat, 22 Nov 2008 15:29:08 +0000 (15:29 +0000)] 
document wxFSVolume (fixes #3977)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix wxList<T>::resize description (fixes #10207)
Francesco Montorsi [Sat, 22 Nov 2008 14:36:32 +0000 (14:36 +0000)] 
fix wxList<T>::resize description (fixes #10207)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agouse TCP for this benchmark under Windows too (and not DDE)
Vadim Zeitlin [Sat, 22 Nov 2008 14:34:04 +0000 (14:34 +0000)] 
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

15 years agono need to disable DoTestSwap() for VC6 any more with latest wx/cppunit.h
Vadim Zeitlin [Sat, 22 Nov 2008 14:33:09 +0000 (14:33 +0000)] 
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

15 years agodocument mac.textcontrol-use-spell-checker (fixes #10165)
Francesco Montorsi [Sat, 22 Nov 2008 14:29:00 +0000 (14:29 +0000)] 
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