]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Sun, 14 Dec 2008 00:02:30 +0000 (00:02 +0000)]
add support for sorting to grid columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57323
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Dec 2008 22:08:18 +0000 (22:08 +0000)]
explain EVT_GRID/EVT_GRID_CMD difference and don't duplicate the events documentation for both of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57320
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 13 Dec 2008 20:46:47 +0000 (20:46 +0000)]
Hopefully the right fix this time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57319
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 13 Dec 2008 20:11:31 +0000 (20:11 +0000)]
HDC() fix was wrong, may have been just a problem with mismatched parens.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57318
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 13 Dec 2008 18:56:25 +0000 (18:56 +0000)]
fix build, remove unused parameter from wxGetGdkWindowForDC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57317
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 13 Dec 2008 18:23:39 +0000 (18:23 +0000)]
MSW compile fixes.
M src/msw/renderer.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57314
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 13 Dec 2008 17:36:27 +0000 (17:36 +0000)]
Forward port new wxRenderer methods in 2.8 to trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57313
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Dec 2008 12:27:33 +0000 (12:27 +0000)]
update the size of the wxGridSizer as items are added to wxGBSizer to avoid asserts in AddGrowableRow/Col()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57309
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Dec 2008 12:26:27 +0000 (12:26 +0000)]
don't compute the columns/rows from the number of items if both were explicitly set by user
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57308
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Dec 2008 00:24:39 +0000 (00:24 +0000)]
support column reordering using drag and drop when using wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57301
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 23:00:06 +0000 (23:00 +0000)]
extend the range of glib versions for which the GTK+ standard options can be passed to wxWidgets program since the _GOptionGroup structure never changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57297
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 21:30:22 +0000 (21:30 +0000)]
fix command line parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57295
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 20:42:51 +0000 (20:42 +0000)]
modernize the sample removing global C-style functions; partially fix loading of the .dat.gz file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57294
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 19:34:42 +0000 (19:34 +0000)]
put zlib streams in the archive category, too; fix some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57293
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 18:51:54 +0000 (18:51 +0000)]
link class groups with macro groups and provide a brief description for all groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57292
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 17:34:13 +0000 (17:34 +0000)]
fix compuation of dirty cells when the columns are reordered, this didn't work at all before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57291
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 16:57:11 +0000 (16:57 +0000)]
STL build: fix missing const which results in Insert(int, T) being called instead of Insert(iterator, T) via iterator->bool conversion (this fixes at least one test failure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57290
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 16:31:39 +0000 (16:31 +0000)]
fix best size caching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57289
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 16:29:11 +0000 (16:29 +0000)]
don't test for best size not being 0, this doesn't pass under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57288
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 16:21:49 +0000 (16:21 +0000)]
compilation fixes for Unix build _with_ PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57287
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 16:10:08 +0000 (16:10 +0000)]
fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57285
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 15:58:03 +0000 (15:58 +0000)]
don't assert at startup because of the static initialization of a wxLocale object requires a valid wxAppTraits object; init the locale later, in TestDefaultLang()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57284
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 15:56:19 +0000 (15:56 +0000)]
document wxInitializer and wxInitialize and wxUninitialize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57283
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 15:41:22 +0000 (15:41 +0000)]
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 12 Dec 2008 15:40:54 +0000 (15:40 +0000)]
split AddCatalog docs for the two overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57281
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 15:06:15 +0000 (15:06 +0000)]
really fix STL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57280
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Dec 2008 14:16:06 +0000 (14:16 +0000)]
add unit test for column reordering functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57279
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 22:27:02 +0000 (22:27 +0000)]
don't duplicate the column reordering in generic wxHeaderCtrl and wxGrid, extract it into a (public) helper function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57264
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 22:16:38 +0000 (22:16 +0000)]
forward SetColPos() to the header window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57263
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 22:06:55 +0000 (22:06 +0000)]
don't lose the scroll offset when the window is repositioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57262
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 21:41:33 +0000 (21:41 +0000)]
in STL build wxVector elements need to be assignable as well as copy constructible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57261
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 19:21:20 +0000 (19:21 +0000)]
added wxGrid::UseNativeColHeader() (column reordering doesn't work yet); more wxGrid clean up: refactor Init/InitVars/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57259
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 19:20:15 +0000 (19:20 +0000)]
add bigger margins around column title when autosizing column width based on it, it looks better like this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57258
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 19:17:55 +0000 (19:17 +0000)]
there is no need to call UpdateColumn() in the derived class UpdateColumnWidthToFit(), the base class does it already if the latter returns true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57257
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 18:57:03 +0000 (18:57 +0000)]
generate EVT_HEADER_RESIZING events from HDN_ITEMCHANGING, not from HDN_TRACK which we don't seem to be getting at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57256
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 17:15:43 +0000 (17:15 +0000)]
added wxHeaderCtrl::OnColumnCountChanging()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57255
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 11 Dec 2008 17:11:35 +0000 (17:11 +0000)]
Added wxPropertyGridInterface::RemoveProperty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 16:46:25 +0000 (16:46 +0000)]
fix wxTextCtrl::Replace() under wxGTK; added unit test for it and describe its effect on the insertion point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57253
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 11 Dec 2008 16:14:55 +0000 (16:14 +0000)]
SpinCtrl editor's 'value change by mouse motion' feature is made optional, enabled via 'MotionSpin' attribute. Also, for now only enabled on MSW (mouse capture etc. inconsistent on native wxGTK spinbutton?).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57252
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 13:45:04 +0000 (13:45 +0000)]
added wxVector::resize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57248
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 13:27:03 +0000 (13:27 +0000)]
export wxSettableHeaderColumn from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57247
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 13:05:48 +0000 (13:05 +0000)]
extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class as we don't always need to implement them in order to use this class; also renamed wxHeaderColumnBase to just wxHeaderColumn as we didn't have any wxHeaderColumn at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57246
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 11 Dec 2008 12:14:14 +0000 (12:14 +0000)]
substitute (c) and (C) for copyright strings as documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57245
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 10:50:59 +0000 (10:50 +0000)]
don't use MSW-only DEFAULT_ITEM_WIDTH but the width returned by the best class GetBestSize() in wxHeaderCtrl::DoGetBestSize() implementation for empty header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57244
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 11 Dec 2008 05:52:22 +0000 (05:52 +0000)]
fix SetStyle tag removing, broken in r45186
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57243
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Dec 2008 00:49:34 +0000 (00:49 +0000)]
implement column reordering by dragging in the generic wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57240
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Dec 2008 23:38:58 +0000 (23:38 +0000)]
clarify wxFlexSizerGrowMode description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57239
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Dec 2008 20:07:33 +0000 (20:07 +0000)]
deprecate wxStringEq
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57238
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Dec 2008 16:24:54 +0000 (16:24 +0000)]
undo accidental change of r57233
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57237
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Dec 2008 16:24:08 +0000 (16:24 +0000)]
properly implement Do[GS]etColumnsOrder() in the generic wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57236
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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