wxWidgets.git
15 years agoshow the use of check and radio items in the toolbars
Vadim Zeitlin [Tue, 2 Dec 2008 16:56:09 +0000 (16:56 +0000)] 
show the use of check and radio items in the toolbars

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

15 years agodocument the main event table macros, wxEventType, wxNewEventType; create a new group...
Francesco Montorsi [Tue, 2 Dec 2008 16:34:09 +0000 (16:34 +0000)] 
document the main event table macros, wxEventType, wxNewEventType; create a new group_funcmacro_events group

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

15 years agofix #4754 providing better description of how to set an event handler for (popup...
Francesco Montorsi [Tue, 2 Dec 2008 16:31:16 +0000 (16:31 +0000)] 
fix #4754 providing better description of how to set an event handler for (popup) wxMenu instances

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Tue, 2 Dec 2008 15:39:14 +0000 (15:39 +0000)] 
Update OpenVMS compile support

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

15 years agocompilation fix for wxStrlcpy use in STL Unicode build
Vadim Zeitlin [Tue, 2 Dec 2008 15:31:12 +0000 (15:31 +0000)] 
compilation fix for wxStrlcpy use in STL Unicode build

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

15 years agobetter documentation for wxEvent ctor
Vadim Zeitlin [Tue, 2 Dec 2008 12:00:55 +0000 (12:00 +0000)] 
better documentation for wxEvent ctor

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

15 years agodocument wx[US]Char and wxStringCharType typedefs; in docs for wxS() specify better...
Francesco Montorsi [Mon, 1 Dec 2008 22:20:39 +0000 (22:20 +0000)] 
document wx[US]Char and wxStringCharType typedefs; in docs for wxS() specify better that it makes wide strings under UTF16 builds and narrow strings under UTF8 builds

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

15 years agoinitial declaration of wx*Char*Buffer and wxUniChar* classes (need someone more exper...
Francesco Montorsi [Mon, 1 Dec 2008 22:09:47 +0000 (22:09 +0000)] 
initial declaration of wx*Char*Buffer and wxUniChar* classes (need someone more experienced to document the various methods)

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

15 years agoadd 'redirection page' for wxULongLong
Francesco Montorsi [Mon, 1 Dec 2008 21:37:43 +0000 (21:37 +0000)] 
add 'redirection page' for wxULongLong

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

15 years agoadd @deprecated tag
Francesco Montorsi [Mon, 1 Dec 2008 21:19:16 +0000 (21:19 +0000)] 
add @deprecated tag

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

15 years agoremove wxNotebookSizer; it's not in wx anymore
Francesco Montorsi [Mon, 1 Dec 2008 21:18:34 +0000 (21:18 +0000)] 
remove wxNotebookSizer; it's not in wx anymore

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

15 years agocommitting the slightly-modified patch by R.U.10 for documenting some public function...
Francesco Montorsi [Mon, 1 Dec 2008 17:54:57 +0000 (17:54 +0000)] 
committing the slightly-modified patch by R.U.10 for documenting some public functions of wxDocTemplate (closes #10078)

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

15 years agoadding a new topic overview about writing custom widgets; currently there's no offici...
Francesco Montorsi [Mon, 1 Dec 2008 17:46:20 +0000 (17:46 +0000)] 
adding a new topic overview about writing custom widgets; currently there's no official guide...

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

15 years agouse sections and an initial TOC like all other overviews
Francesco Montorsi [Mon, 1 Dec 2008 17:44:53 +0000 (17:44 +0000)] 
use sections and an initial TOC like all other overviews

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

15 years agoput wxURI under networking group, next to wxURL
Francesco Montorsi [Mon, 1 Dec 2008 17:44:27 +0000 (17:44 +0000)] 
put wxURI under networking group, next to wxURL

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

15 years agofix for uninitialized alpha being used to create mask, fixes wxMemoryDC with 32-bit...
Paul Cornett [Mon, 1 Dec 2008 02:03:38 +0000 (02:03 +0000)] 
fix for uninitialized alpha being used to create mask, fixes wxMemoryDC with 32-bit bitmaps

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

15 years agocreate better QCH files
Francesco Montorsi [Mon, 1 Dec 2008 01:13:01 +0000 (01:13 +0000)] 
create better QCH files

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

15 years agodemonstrate column reordering -- currently it demonstrates that it's completely broke...
Vadim Zeitlin [Mon, 1 Dec 2008 00:23:34 +0000 (00:23 +0000)] 
demonstrate column reordering -- currently it demonstrates that it's completely broken in various and interesting ways

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

15 years agodon't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point...
Vadim Zeitlin [Mon, 1 Dec 2008 00:13:21 +0000 (00:13 +0000)] 
don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases

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

15 years agodon't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point...
Vadim Zeitlin [Sun, 30 Nov 2008 21:51:51 +0000 (21:51 +0000)] 
don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases

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

15 years agoremoved small and tabular grid tests which didn't seem to do anything useful (will...
Vadim Zeitlin [Sun, 30 Nov 2008 21:13:46 +0000 (21:13 +0000)] 
removed small and tabular grid tests which didn't seem to do anything useful (will replace the latter with a test of column reodering soon)

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

15 years agodocument default ctor
Francesco Montorsi [Sun, 30 Nov 2008 14:46:07 +0000 (14:46 +0000)] 
document default ctor

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

15 years agoreally fix the typo in the message
Vadim Zeitlin [Sun, 30 Nov 2008 13:53:13 +0000 (13:53 +0000)] 
really fix the typo in the message

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

15 years agotypo fix
Francesco Montorsi [Sun, 30 Nov 2008 13:49:56 +0000 (13:49 +0000)] 
typo fix

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

15 years agofix typo in new wxVector(size_t, T) ctor
Vadim Zeitlin [Sun, 30 Nov 2008 03:49:02 +0000 (03:49 +0000)] 
fix typo in new wxVector(size_t, T) ctor

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

15 years agocompilation fix after making wxSocketImpl derive from wxFDIOHandler
Vadim Zeitlin [Sat, 29 Nov 2008 22:52:14 +0000 (22:52 +0000)] 
compilation fix after making wxSocketImpl derive from wxFDIOHandler

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

15 years agoreplace the mismatched new[]/delete (bug #10234) with a wxVector
Vadim Zeitlin [Sat, 29 Nov 2008 22:30:58 +0000 (22:30 +0000)] 
replace the mismatched new[]/delete (bug #10234) with a wxVector

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

15 years agoadd wxVector(size_t size[, const value_type& value]) ctors
Vadim Zeitlin [Sat, 29 Nov 2008 22:28:44 +0000 (22:28 +0000)] 
add wxVector(size_t size[, const value_type& value]) ctors

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

15 years agocleanup the Win32 window classes registration code: remove global variables and regis...
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

15 years agomore updates after r57026 change to app.cpp
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

15 years agoupdate after r57026 change to app.cpp
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

15 years agoget rid of CE-specific code for class name registration, the unique instance enforcem...
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

15 years agodon't reuse the double click handled in activation event handler for toggling the...
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

15 years agocorrect CalcSizeFromPage() for multiline notebooks (#2335)
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

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