wxWidgets.git
15 years agouse wxAboutBox() to make it evident a wxGrid refreshing bug under wxMSW (probably...
Francesco Montorsi [Wed, 10 Dec 2008 16:20:07 +0000 (16:20 +0000)] 
use wxAboutBox() to make it evident a wxGrid refreshing bug under wxMSW (probably correlated to the window disabler used by the generic about box)

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

15 years agoprovide Do[GS]etColumnsOrder() stubs for the generic wxHeaderCtrl
Vadim Zeitlin [Wed, 10 Dec 2008 16:09:58 +0000 (16:09 +0000)] 
provide Do[GS]etColumnsOrder() stubs for the generic wxHeaderCtrl

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

15 years agoadded EVT_HEADER_DRAGGING_CANCELLED event sent when either resizing or reordering...
Vadim Zeitlin [Wed, 10 Dec 2008 16:05:21 +0000 (16:05 +0000)] 
added EVT_HEADER_DRAGGING_CANCELLED event sent when either resizing or reordering operation is cancelled instead of having a special cancelled flag in normal END_RESIZE/REORDER events

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

15 years agoimplement column reordering support in wxMSW wxHeaderCtrl; use it in wxDataViewCtrl...
Vadim Zeitlin [Wed, 10 Dec 2008 15:56:11 +0000 (15:56 +0000)] 
implement column reordering support in wxMSW wxHeaderCtrl; use it in wxDataViewCtrl (and make difference between column indices and positions more clear in it)

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

15 years agomake first column non-draggable to test support for this flag
Vadim Zeitlin [Tue, 9 Dec 2008 23:31:32 +0000 (23:31 +0000)] 
make first column non-draggable to test support for this flag

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

15 years agoif we keep autobrief comments = YES, let's repeat the brief comment in the detailed...
Francesco Montorsi [Tue, 9 Dec 2008 19:53:19 +0000 (19:53 +0000)] 
if we keep autobrief comments = YES, let's repeat the brief comment in the detailed documentation block as to avoid lots of empty blocks

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

15 years agofix for r56618: toolbar event handlers can toggle or disable tools again (patch ...
Václav Slavík [Tue, 9 Dec 2008 18:35:48 +0000 (18:35 +0000)] 
fix for r56618: toolbar event handlers can toggle or disable tools again (patch #10241)

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

15 years agodefine I_IMAGENONE now that we use it, at least VC6 doesn't have it (thanks buildbot)
Vadim Zeitlin [Tue, 9 Dec 2008 14:45:23 +0000 (14:45 +0000)] 
define I_IMAGENONE now that we use it, at least VC6 doesn't have it (thanks buildbot)

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

15 years agodocument UpdateColumn()
Vadim Zeitlin [Tue, 9 Dec 2008 14:05:07 +0000 (14:05 +0000)] 
document UpdateColumn()

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

15 years agouse a slightly less ugly way to conditionally suppress unused parameter warnings
Vadim Zeitlin [Tue, 9 Dec 2008 13:36:23 +0000 (13:36 +0000)] 
use a slightly less ugly way to conditionally suppress unused parameter warnings

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

15 years agocall wxMDIClientWindow::CreateClient()
Vadim Zeitlin [Tue, 9 Dec 2008 13:35:08 +0000 (13:35 +0000)] 
call wxMDIClientWindow::CreateClient()

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

15 years agorecreate the column instead of trying to update it in place, it's much simpler like...
Vadim Zeitlin [Tue, 9 Dec 2008 11:42:46 +0000 (11:42 +0000)] 
recreate the column instead of trying to update it in place, it's much simpler like this

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

15 years agofix wxOS2 build where OpenGL headers are available but there's no wxGlCanvas implemen...
Francesco Montorsi [Tue, 9 Dec 2008 09:15:24 +0000 (09:15 +0000)] 
fix wxOS2 build where OpenGL headers are available but there's no wxGlCanvas implementation available

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

15 years agorecreate the column instead of trying to update it in place, it's much simpler like...
Vadim Zeitlin [Tue, 9 Dec 2008 00:14:11 +0000 (00:14 +0000)] 
recreate the column instead of trying to update it in place, it's much simpler like this

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

15 years agoadd an event table; even if wxMenuItem is not a widget, it emits events
Francesco Montorsi [Mon, 8 Dec 2008 23:22:41 +0000 (23:22 +0000)] 
add an event table; even if wxMenuItem is not a widget, it emits events

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

15 years agoformatting change; added @c in front of wxEVT_ constants
Francesco Montorsi [Mon, 8 Dec 2008 23:21:58 +0000 (23:21 +0000)] 
formatting change; added @c in front of wxEVT_ constants

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

15 years agoimplement 'auto' mode for both wxMediaCtrl and OpenGL
Francesco Montorsi [Mon, 8 Dec 2008 23:19:37 +0000 (23:19 +0000)] 
implement 'auto' mode for both wxMediaCtrl and OpenGL

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

15 years agoalways update the column icon field when updating the item as it could be reset to...
Vadim Zeitlin [Mon, 8 Dec 2008 21:22:26 +0000 (21:22 +0000)] 
always update the column icon field when updating the item as it could be reset to nothing

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

15 years agoskip the header click event to allow sorting (done in the default handler) to take...
Vadim Zeitlin [Mon, 8 Dec 2008 21:14:00 +0000 (21:14 +0000)] 
skip the header click event to allow sorting (done in the default handler) to take place

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

15 years agorestore sorting functionality of the generic wxDataViewCtrl but implement it on top...
Vadim Zeitlin [Mon, 8 Dec 2008 21:13:29 +0000 (21:13 +0000)] 
restore sorting functionality of the generic wxDataViewCtrl but implement it on top of wxHeaderCtrl support for it now; don't have const and non-const overloads of GetSortingColumn() in wxDVC returning different things (could this have really been intentional?); added GetSortingColumnIndex()

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

15 years agodon't give an error when OpenGL libraries aren't available; give a warning, put wxUSE...
Francesco Montorsi [Mon, 8 Dec 2008 19:33:08 +0000 (19:33 +0000)] 
don't give an error when OpenGL libraries aren't available; give a warning, put wxUSE_OPENGL=no and proceed

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

15 years agoadded a overview_string_binary section describing what is wxString support with regar...
Francesco Montorsi [Mon, 8 Dec 2008 19:25:07 +0000 (19:25 +0000)] 
added a overview_string_binary section describing what is wxString support with regard to binary data; removed traces of UCS2 wording; it was not completely correct (see wx-dev thread 'string changes doubts and docs')

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

15 years agoenable OpenGL and MediaCtrl components by default as discussed on wx-dev; remove...
Francesco Montorsi [Mon, 8 Dec 2008 19:07:38 +0000 (19:07 +0000)] 
enable OpenGL and MediaCtrl components by default as discussed on wx-dev; remove some old checks against wxUSE_CONSTRAINTS - they're not needed anymore (part of r57199)

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

15 years agodon't allow resizing non-resizeable columns in wxHeaderCtrl itself, no need to do...
Vadim Zeitlin [Mon, 8 Dec 2008 17:36:11 +0000 (17:36 +0000)] 
don't allow resizing non-resizeable columns in wxHeaderCtrl itself, no need to do it in wxDataViewCtrl

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

15 years agohonour column min width when resizing in wxHeaderCtrl, no need to do it in wxDataViewCtrl
Vadim Zeitlin [Mon, 8 Dec 2008 17:33:03 +0000 (17:33 +0000)] 
honour column min width when resizing in wxHeaderCtrl, no need to do it in wxDataViewCtrl

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

15 years agoBetter EVT_MOTION handling in wxPGSpinButton
Jaakko Salli [Mon, 8 Dec 2008 17:20:11 +0000 (17:20 +0000)] 
Better EVT_MOTION handling in wxPGSpinButton

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

15 years agoenable OpenGL and MediaCtrl components by default as discussed on wx-dev; remove...
Francesco Montorsi [Mon, 8 Dec 2008 16:51:43 +0000 (16:51 +0000)] 
enable OpenGL and MediaCtrl components by default as discussed on wx-dev; remove some old checks against wxUSE_CONSTRAINTS - they're not needed anymore

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

15 years agotest non-resizeable and resizeable but with min size set columns
Vadim Zeitlin [Mon, 8 Dec 2008 16:50:26 +0000 (16:50 +0000)] 
test non-resizeable and resizeable but with min size set columns

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

15 years agorename wxHeaderCtrl DRAG events into RESIZE ones as we're also going to have column...
Vadim Zeitlin [Mon, 8 Dec 2008 16:38:56 +0000 (16:38 +0000)] 
rename wxHeaderCtrl DRAG events into RESIZE ones as we're also going to have column drag-reodering

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

15 years agodon't take EVT_HEADER_END_DRAG into account if it indicates the the drag was cancelled
Vadim Zeitlin [Mon, 8 Dec 2008 16:31:44 +0000 (16:31 +0000)] 
don't take EVT_HEADER_END_DRAG into account if it indicates the the drag was cancelled

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

15 years agoadd the possibility to cancel drag-resizing by pressing Esc
Vadim Zeitlin [Mon, 8 Dec 2008 16:30:09 +0000 (16:30 +0000)] 
add the possibility to cancel drag-resizing by pressing Esc

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

15 years agobuildbot VC6 apparently can't compile variable declaration inside a switch statement...
Vadim Zeitlin [Mon, 8 Dec 2008 16:24:39 +0000 (16:24 +0000)] 
buildbot VC6 apparently can't compile variable declaration inside a switch statement even though my own VC6 SP5 can

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

15 years agoadd some missing semicolons
Francesco Montorsi [Mon, 8 Dec 2008 16:20:51 +0000 (16:20 +0000)] 
add some missing semicolons

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

15 years agoforgot to capture mouse during drag-resizing
Vadim Zeitlin [Mon, 8 Dec 2008 15:20:10 +0000 (15:20 +0000)] 
forgot to capture mouse during drag-resizing

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

15 years agofix another logical/physical coords confusion and update the comment to help with...
Vadim Zeitlin [Mon, 8 Dec 2008 15:11:21 +0000 (15:11 +0000)] 
fix another logical/physical coords confusion and update the comment to help with this in the future

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

15 years agoimplement column resizing events in wxHeaderCtrl
Vadim Zeitlin [Mon, 8 Dec 2008 14:40:42 +0000 (14:40 +0000)] 
implement column resizing events in wxHeaderCtrl

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

15 years agodon't access inexistent column in wxDataViewTreeCtrl::OnSize() (this bug also probabl...
Vadim Zeitlin [Mon, 8 Dec 2008 13:25:09 +0000 (13:25 +0000)] 
don't access inexistent column in wxDataViewTreeCtrl::OnSize() (this bug also probably explains why this code doesn't actually work: size event is generated before we have any columns)

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

15 years agoenable wheel-scrolling under wxGTK by allowing GTK+ default processing to happen...
Francesco Montorsi [Mon, 8 Dec 2008 13:22:10 +0000 (13:22 +0000)] 
enable wheel-scrolling under wxGTK by allowing GTK+ default processing to happen (see wx-dev thread 'possible fix for wxGrid mouse wheel handling'); closes #1847

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

15 years agoadded wxHeaderCtrlSimple::GetBestFittingWidth() for even more automatic column resizing
Vadim Zeitlin [Mon, 8 Dec 2008 12:28:41 +0000 (12:28 +0000)] 
added wxHeaderCtrlSimple::GetBestFittingWidth() for even more automatic column resizing

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

15 years agoadd wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK and semi-automatic header resizing support
Vadim Zeitlin [Mon, 8 Dec 2008 12:15:17 +0000 (12:15 +0000)] 
add wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK and semi-automatic header resizing support

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

15 years agoaccount for scroll offset correctly in the mouse event handler
Vadim Zeitlin [Mon, 8 Dec 2008 11:37:42 +0000 (11:37 +0000)] 
account for scroll offset correctly in the mouse event handler

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

15 years agoupdate column highlight when mouse hovers over the control
Vadim Zeitlin [Mon, 8 Dec 2008 11:26:50 +0000 (11:26 +0000)] 
update column highlight when mouse hovers over the control

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

15 years agocorrect WXDLLIMPEXP symbols for the event constants
Vadim Zeitlin [Mon, 8 Dec 2008 11:20:51 +0000 (11:20 +0000)] 
correct WXDLLIMPEXP symbols for the event constants

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

15 years ago Ticket #10245, UTF-8 font face name of GTK 2 font dialog box
Robert Roebling [Mon, 8 Dec 2008 10:36:46 +0000 (10:36 +0000)] 
 Ticket #10245, UTF-8 font face name of GTK 2 font dialog box

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

15 years agorestore clearing of clipped mask, turns out it is needed
Paul Cornett [Mon, 8 Dec 2008 08:58:13 +0000 (08:58 +0000)] 
restore clearing of clipped mask, turns out it is needed

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

15 years agocorrect the check added in r57175 to use dynamically computed numbers of rows/columns
Vadim Zeitlin [Mon, 8 Dec 2008 08:39:13 +0000 (08:39 +0000)] 
correct the check added in r57175 to use dynamically computed numbers of rows/columns

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

15 years agoundo accidental change to always use generic version in r57178
Vadim Zeitlin [Mon, 8 Dec 2008 07:52:19 +0000 (07:52 +0000)] 
undo accidental change to always use generic version in r57178

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

15 years agoimplement click events in wxHeaderCtrl
Vadim Zeitlin [Mon, 8 Dec 2008 00:57:53 +0000 (00:57 +0000)] 
implement click events in wxHeaderCtrl

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

15 years agocheck index validity in AddGrowable{Row,Col}()
Vadim Zeitlin [Sun, 7 Dec 2008 23:33:46 +0000 (23:33 +0000)] 
check index validity in AddGrowable{Row,Col}()

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

15 years agodefine SetAsSortKey/IsSortKey() in wxMac wxDataViewColumn
Vadim Zeitlin [Sun, 7 Dec 2008 21:15:20 +0000 (21:15 +0000)] 
define SetAsSortKey/IsSortKey() in wxMac wxDataViewColumn

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

15 years agono changes, just removed whitespace and perfectly useless "/* if */" and the incredib...
Vadim Zeitlin [Sun, 7 Dec 2008 21:05:30 +0000 (21:05 +0000)] 
no changes, just removed whitespace and perfectly useless "/* if */" and the incredible "// variable definition and initialization" and wx version checks unnecessary inside wx itself

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

15 years agomake sure timer events will trigger idle processing, #10251
Paul Cornett [Sun, 7 Dec 2008 18:23:28 +0000 (18:23 +0000)] 
make sure timer events will trigger idle processing, #10251

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

15 years agorestore sorting functionality broken by r57161
Vadim Zeitlin [Sun, 7 Dec 2008 16:16:21 +0000 (16:16 +0000)] 
restore sorting functionality broken by r57161

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

15 years agowxDataViewColumn doesn't need to have wxRTTI
Vadim Zeitlin [Sun, 7 Dec 2008 16:07:54 +0000 (16:07 +0000)] 
wxDataViewColumn doesn't need to have wxRTTI

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

15 years agocompilation fix after r57161
Vadim Zeitlin [Sun, 7 Dec 2008 16:06:34 +0000 (16:06 +0000)] 
compilation fix after r57161

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

15 years agoremoved accidentally left in in r57161 pure virtual function marker
Vadim Zeitlin [Sun, 7 Dec 2008 16:04:48 +0000 (16:04 +0000)] 
removed accidentally left in in r57161 pure virtual function marker

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

15 years agomade wxHeaderColumnBase dtor virtual to avoid gcc warnings
Vadim Zeitlin [Sun, 7 Dec 2008 16:03:50 +0000 (16:03 +0000)] 
made wxHeaderColumnBase dtor virtual to avoid gcc warnings

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

15 years agoupdate the generic wxHeaderCtrl implementation after r57161
Vadim Zeitlin [Sun, 7 Dec 2008 16:00:10 +0000 (16:00 +0000)] 
update the generic wxHeaderCtrl implementation after r57161

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

15 years agouse wxHeaderColumnSimple instead of wxHeaderColumn
Vadim Zeitlin [Sun, 7 Dec 2008 15:58:59 +0000 (15:58 +0000)] 
use wxHeaderColumnSimple instead of wxHeaderColumn

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

15 years ago- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
Vadim Zeitlin [Sun, 7 Dec 2008 14:47:55 +0000 (14:47 +0000)] 
- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
  number of columns in it, it turns out that getting column information from
  the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
  callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
  wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
  events are broken right now in it as they haven't been implemented by
  wxHeaderCtrl yet, this will be fixed a.s.a.p.

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

15 years agono changes, just remove trailing whitespace
Vadim Zeitlin [Sun, 7 Dec 2008 14:19:18 +0000 (14:19 +0000)] 
no changes, just remove trailing whitespace

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

15 years agodocument GetPickerCtrl() method and provide an example of how to use it to change...
Francesco Montorsi [Sun, 7 Dec 2008 13:50:12 +0000 (13:50 +0000)] 
document GetPickerCtrl() method and provide an example of how to use it to change the default 'Browse' label for wxFilePickerCtrl

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

15 years agoformatting change
Francesco Montorsi [Sun, 7 Dec 2008 13:48:36 +0000 (13:48 +0000)] 
formatting change

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

15 years agoadd a link to the page of the GTK+ manual stock items
Francesco Montorsi [Sun, 7 Dec 2008 13:48:06 +0000 (13:48 +0000)] 
add a link to the page of the GTK+ manual stock items

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

15 years agoenable autobrief comments
Vadim Zeitlin [Sun, 7 Dec 2008 13:16:32 +0000 (13:16 +0000)] 
enable autobrief comments

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

15 years agoremove redundant clearing of clipped mask
Paul Cornett [Sun, 7 Dec 2008 05:51:42 +0000 (05:51 +0000)] 
remove redundant clearing of clipped mask

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

15 years agofix bitmap position with RTL and non-default scale
Paul Cornett [Sun, 7 Dec 2008 05:50:11 +0000 (05:50 +0000)] 
fix bitmap position with RTL and non-default scale

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

15 years agoFixed incorrect background colour that wxStaticTexts in description box sometimes got
Jaakko Salli [Sat, 6 Dec 2008 19:01:32 +0000 (19:01 +0000)] 
Fixed incorrect background colour that wxStaticTexts in description box sometimes got

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

15 years agoadded a @todo about references to old wx functions
Francesco Montorsi [Sat, 6 Dec 2008 16:45:51 +0000 (16:45 +0000)] 
added a @todo about references to old wx functions

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

15 years agomoved many things from wxString reference page to the wxString overview; updated...
Francesco Montorsi [Sat, 6 Dec 2008 16:24:52 +0000 (16:24 +0000)] 
moved many things from wxString reference page to the wxString overview; updated some old/incoherent informations; added some DIA-drawn graphs showing UTF8/UCS2 different representation used by wxString

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

15 years agosuppress (harmless) unused parameter warnings
Vadim Zeitlin [Fri, 5 Dec 2008 22:48:25 +0000 (22:48 +0000)] 
suppress (harmless) unused parameter warnings

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

15 years agogeneric implementation of wxHeaderCtrl API so far
Vadim Zeitlin [Fri, 5 Dec 2008 22:44:54 +0000 (22:44 +0000)] 
generic implementation of wxHeaderCtrl API so far

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

15 years agomove ScrollWindow() implementation to the base class and call private DoScrollHorz...
Vadim Zeitlin [Fri, 5 Dec 2008 22:43:37 +0000 (22:43 +0000)] 
move ScrollWindow() implementation to the base class and call private DoScrollHorz() from it

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

15 years agooverride GetDefaultBorder() to not use border by default
Vadim Zeitlin [Fri, 5 Dec 2008 22:34:29 +0000 (22:34 +0000)] 
override GetDefaultBorder() to not use border by default

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

15 years agoemulate scrolling in wxMSW header control; document the need to call ScrollWindow...
Vadim Zeitlin [Fri, 5 Dec 2008 22:11:27 +0000 (22:11 +0000)] 
emulate scrolling in wxMSW header control; document the need to call ScrollWindow() when using it

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

15 years agoadd Show/HideColumn() methods
Vadim Zeitlin [Fri, 5 Dec 2008 21:50:30 +0000 (21:50 +0000)] 
add Show/HideColumn() methods

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

15 years agoadd IsShown() accessor which is sometimes more convenient than IsHidden()
Vadim Zeitlin [Fri, 5 Dec 2008 21:49:34 +0000 (21:49 +0000)] 
add IsShown() accessor which is sometimes more convenient than IsHidden()

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

15 years agodocument wxLogLevel, wxTraceMask antypes and wxLogLevelValues enum
Francesco Montorsi [Fri, 5 Dec 2008 21:06:09 +0000 (21:06 +0000)] 
document wxLogLevel, wxTraceMask antypes and wxLogLevelValues enum

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

15 years agofix description of wxconsole template; add description for wxgui template
Francesco Montorsi [Fri, 5 Dec 2008 17:25:13 +0000 (17:25 +0000)] 
fix description of wxconsole template; add description for wxgui template

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

15 years agono changes, just remove typos in comment
Vadim Zeitlin [Fri, 5 Dec 2008 10:15:00 +0000 (10:15 +0000)] 
no changes, just remove typos in comment

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

15 years agoUse gtk_text_buffer_select_range for selecting programmatically
Robert Roebling [Fri, 5 Dec 2008 10:09:47 +0000 (10:09 +0000)] 
Use gtk_text_buffer_select_range for selecting programmatically

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

15 years agouse simpler method to draw bitmap
Paul Cornett [Fri, 5 Dec 2008 07:47:51 +0000 (07:47 +0000)] 
use simpler method to draw bitmap

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

15 years agoadd definitions of some Unicode terms (code point/unit, glyph, plane); link two image...
Francesco Montorsi [Fri, 5 Dec 2008 01:01:12 +0000 (01:01 +0000)] 
add definitions of some Unicode terms (code point/unit, glyph, plane); link two images to help understanding differences; minor other formatting

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

15 years agosmall refinements
Francesco Montorsi [Fri, 5 Dec 2008 00:57:05 +0000 (00:57 +0000)] 
small refinements

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

15 years agoadd size parameter to the generic wxFileDialog ctor
Vadim Zeitlin [Thu, 4 Dec 2008 23:14:00 +0000 (23:14 +0000)] 
add size parameter to the generic wxFileDialog ctor

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

15 years agorepair the example code; get rid of useless wxT() from it
Francesco Montorsi [Thu, 4 Dec 2008 21:50:52 +0000 (21:50 +0000)] 
repair the example code; get rid of useless wxT() from it

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

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