wxWidgets.git
15 years agoadd a 'Paint background' check menu item in the MyImageFrame class
Francesco Montorsi [Thu, 4 Dec 2008 20:49:30 +0000 (20:49 +0000)] 
add a 'Paint background' check menu item in the MyImageFrame class

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

15 years agodocument wxWindowID
Francesco Montorsi [Thu, 4 Dec 2008 20:42:25 +0000 (20:42 +0000)] 
document wxWindowID

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

15 years agocall Fit() when updating the message label to adapt to longer (or much shorter) labels
Francesco Montorsi [Thu, 4 Dec 2008 15:37:20 +0000 (15:37 +0000)] 
call Fit() when updating the message label to adapt to longer (or much shorter) labels

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

15 years agoPCH-less build fixes
Vadim Zeitlin [Thu, 4 Dec 2008 15:17:25 +0000 (15:17 +0000)] 
PCH-less build fixes

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

15 years agofix VC6 DLL build
Vadim Zeitlin [Thu, 4 Dec 2008 13:11:27 +0000 (13:11 +0000)] 
fix VC6 DLL build

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

15 years agodefine HDS_FLAT outside of __DMC__ section so that it's really visible by VC6
Vadim Zeitlin [Thu, 4 Dec 2008 12:08:16 +0000 (12:08 +0000)] 
define HDS_FLAT outside of __DMC__ section so that it's really visible by VC6

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

15 years agofix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)
Vadim Zeitlin [Thu, 4 Dec 2008 00:22:04 +0000 (00:22 +0000)] 
fix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)

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

15 years agodon't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get...
Vadim Zeitlin [Thu, 4 Dec 2008 00:17:36 +0000 (00:17 +0000)] 
don't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get the correct answer from the query (#10238)

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

15 years agoforgot to update after renaming wxHeaderCtrlColumn to wxHeaderColumn
Vadim Zeitlin [Wed, 3 Dec 2008 23:21:08 +0000 (23:21 +0000)] 
forgot to update after renaming wxHeaderCtrlColumn to wxHeaderColumn

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

15 years agodefine HDS_FLAT not defined in VC6 headers
Vadim Zeitlin [Wed, 3 Dec 2008 23:20:35 +0000 (23:20 +0000)] 
define HDS_FLAT not defined in VC6 headers

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

15 years agoalso disable the test of the generic version as it's not in the svn yet
Vadim Zeitlin [Wed, 3 Dec 2008 21:56:49 +0000 (21:56 +0000)] 
also disable the test of the generic version as it's not in the svn yet

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

15 years agodisable generic version, it's not ready to be committed just yet
Vadim Zeitlin [Wed, 3 Dec 2008 21:54:34 +0000 (21:54 +0000)] 
disable generic version, it's not ready to be committed just yet

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

15 years agoextract (and expand and clean up and document) the header window implementation used...
Vadim Zeitlin [Wed, 3 Dec 2008 21:53:10 +0000 (21:53 +0000)] 
extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later

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

15 years agodocument the wxArtID and wxArtClient types; they help to understand how wxArtProvider...
Francesco Montorsi [Wed, 3 Dec 2008 20:33:08 +0000 (20:33 +0000)] 
document the wxArtID and wxArtClient types; they help to understand how wxArtProvider::GetBitmap can be used to retrieve GTK native icons

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

15 years agoremove the implementation of the conversion operators (forgot to do it in the initial...
Francesco Montorsi [Wed, 3 Dec 2008 15:49:54 +0000 (15:49 +0000)] 
remove the implementation of the conversion operators (forgot to do it in the initial commit)

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

15 years agofix syntax error
Vadim Zeitlin [Wed, 3 Dec 2008 15:21:08 +0000 (15:21 +0000)] 
fix syntax error

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

15 years agoAdded Undo, Redo accelerators for wxRTC
Julian Smart [Wed, 3 Dec 2008 12:31:07 +0000 (12:31 +0000)] 
Added Undo, Redo accelerators for wxRTC

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

15 years agocompilation fixes for PCH-less build after r57074
Vadim Zeitlin [Wed, 3 Dec 2008 09:05:04 +0000 (09:05 +0000)] 
compilation fixes for PCH-less build after r57074

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Wed, 3 Dec 2008 06:59:40 +0000 (06:59 +0000)] 
Update OpenVMS compile support

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

15 years agofix background repainting under wxMSW (not sure this is the best way to do it - but...
Francesco Montorsi [Tue, 2 Dec 2008 22:53:38 +0000 (22:53 +0000)] 
fix background repainting under wxMSW (not sure this is the best way to do it - but it works)

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

15 years agoDoxygen markup corrections after last change
Vadim Zeitlin [Tue, 2 Dec 2008 22:53:05 +0000 (22:53 +0000)] 
Doxygen markup corrections after last change

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

15 years agoSwitch off the tests on Windows and switch back on the email notifications.
Michael Wetherell [Tue, 2 Dec 2008 22:37:50 +0000 (22:37 +0000)] 
Switch off the tests on Windows and switch back on the email notifications.

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

15 years agoanother compilation fix for wxStrlcpy use in STL Unicode build
Vadim Zeitlin [Tue, 2 Dec 2008 22:24:18 +0000 (22:24 +0000)] 
another compilation fix for wxStrlcpy use in STL Unicode build

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

15 years agomake WX_UNICODE default to 1 since ASCII build is now deprecated!
Francesco Montorsi [Tue, 2 Dec 2008 22:02:32 +0000 (22:02 +0000)] 
make WX_UNICODE default to 1 since ASCII build is now deprecated!

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

15 years agodocument GetWheelAxis
Francesco Montorsi [Tue, 2 Dec 2008 20:51:45 +0000 (20:51 +0000)] 
document GetWheelAxis

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

15 years agofix typo making wxGrid crash upon usage of PgDown: MovePageDown() is a row operation...
Francesco Montorsi [Tue, 2 Dec 2008 19:39:46 +0000 (19:39 +0000)] 
fix typo making wxGrid crash upon usage of PgDown: MovePageDown() is a row operation, not a column op

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

15 years agoImplement ability to rapidly change spin value of SpinCtrl property editor by moving...
Jaakko Salli [Tue, 2 Dec 2008 18:39:40 +0000 (18:39 +0000)] 
Implement ability to rapidly change spin value of SpinCtrl property editor by moving mouse while one of the spin buttons is depressed

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

15 years agoadd GetValue,GetRange and GetMessage helpers
Francesco Montorsi [Tue, 2 Dec 2008 18:35:24 +0000 (18:35 +0000)] 
add GetValue,GetRange and GetMessage helpers

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

15 years agoreplace asserts in XRC code with wxLogError/Warning() calls as XRC can come from...
Vadim Zeitlin [Tue, 2 Dec 2008 18:23:22 +0000 (18:23 +0000)] 
replace asserts in XRC code with wxLogError/Warning() calls as XRC can come from an external source and doesn't necessarily indicate a programming error

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

15 years agoadd support for creating drop down toolbar buttons from XRC
Vadim Zeitlin [Tue, 2 Dec 2008 18:11:54 +0000 (18:11 +0000)] 
add support for creating drop down toolbar buttons from XRC

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

15 years agono changes, just added a TODO comment
Vadim Zeitlin [Tue, 2 Dec 2008 18:10:58 +0000 (18:10 +0000)] 
no changes, just added a TODO comment

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

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