Kevin Ollivier
|
509675f86b
|
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
|
2008-12-13 18:23:39 +00:00 |
|
Kevin Ollivier
|
e413198572
|
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
|
2008-12-13 17:36:27 +00:00 |
|
Vadim Zeitlin
|
476768356c
|
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
|
2008-12-13 12:27:33 +00:00 |
|
Vadim Zeitlin
|
5fa51d09eb
|
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
|
2008-12-13 12:26:27 +00:00 |
|
Vadim Zeitlin
|
cd68daf58a
|
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
|
2008-12-13 00:24:39 +00:00 |
|
Francesco Montorsi
|
baa4a96705
|
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
|
2008-12-12 23:00:06 +00:00 |
|
Francesco Montorsi
|
7881f83bed
|
fix command line parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 21:30:22 +00:00 |
|
Francesco Montorsi
|
6c7f094959
|
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
|
2008-12-12 20:42:51 +00:00 |
|
Francesco Montorsi
|
0801f345c0
|
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
|
2008-12-12 19:34:42 +00:00 |
|
Francesco Montorsi
|
dbbca9fdea
|
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
|
2008-12-12 18:51:54 +00:00 |
|
Vadim Zeitlin
|
cd4f6f5f8f
|
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
|
2008-12-12 17:34:13 +00:00 |
|
Vadim Zeitlin
|
8ad170cb85
|
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
|
2008-12-12 16:57:11 +00:00 |
|
Vadim Zeitlin
|
7bf5be6b56
|
fix best size caching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 16:31:39 +00:00 |
|
Vadim Zeitlin
|
3246a508ab
|
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
|
2008-12-12 16:29:11 +00:00 |
|
Vadim Zeitlin
|
497c7dffd1
|
compilation fixes for Unix build _with_ PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 16:21:49 +00:00 |
|
Francesco Montorsi
|
e2c4ccaf8a
|
fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 16:10:08 +00:00 |
|
Francesco Montorsi
|
3e23102435
|
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
|
2008-12-12 15:58:03 +00:00 |
|
Francesco Montorsi
|
fa7e10a43f
|
document wxInitializer and wxInitialize and wxUninitialize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 15:56:19 +00:00 |
|
Francesco Montorsi
|
ea53cb4abf
|
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 15:41:22 +00:00 |
|
Francesco Montorsi
|
a0a4c5aa14
|
split AddCatalog docs for the two overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 15:40:54 +00:00 |
|
Vadim Zeitlin
|
e5182b1bc5
|
really fix STL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 15:06:15 +00:00 |
|
Vadim Zeitlin
|
71d8948f12
|
add unit test for column reordering functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 14:16:06 +00:00 |
|
Vadim Zeitlin
|
1bb7462687
|
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
|
2008-12-11 22:27:02 +00:00 |
|
Vadim Zeitlin
|
3169a8e837
|
forward SetColPos() to the header window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 22:16:38 +00:00 |
|
Vadim Zeitlin
|
38cd07c431
|
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
|
2008-12-11 22:06:55 +00:00 |
|
Vadim Zeitlin
|
3454f80227
|
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
|
2008-12-11 21:41:33 +00:00 |
|
Vadim Zeitlin
|
ad805b9e0d
|
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
|
2008-12-11 19:21:20 +00:00 |
|
Vadim Zeitlin
|
f458d4dd6b
|
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
|
2008-12-11 19:20:15 +00:00 |
|
Vadim Zeitlin
|
4db4c0173b
|
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
|
2008-12-11 19:17:55 +00:00 |
|
Vadim Zeitlin
|
93e4e62b92
|
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
|
2008-12-11 18:57:03 +00:00 |
|
Vadim Zeitlin
|
4635abaca6
|
added wxHeaderCtrl::OnColumnCountChanging()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 17:15:43 +00:00 |
|
Jaakko Salli
|
f915d44b3f
|
Added wxPropertyGridInterface::RemoveProperty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 17:11:35 +00:00 |
|
Vadim Zeitlin
|
059979d848
|
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
|
2008-12-11 16:46:25 +00:00 |
|
Jaakko Salli
|
18e046a7c5
|
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
|
2008-12-11 16:14:55 +00:00 |
|
Vadim Zeitlin
|
e068310a5a
|
added wxVector::resize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 13:45:04 +00:00 |
|
Vadim Zeitlin
|
de150f6af9
|
export wxSettableHeaderColumn from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 13:27:03 +00:00 |
|
Vadim Zeitlin
|
dcb6cbecc8
|
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
|
2008-12-11 13:05:48 +00:00 |
|
Francesco Montorsi
|
953aebc2d5
|
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
|
2008-12-11 12:14:14 +00:00 |
|
Vadim Zeitlin
|
da678e6c39
|
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
|
2008-12-11 10:50:59 +00:00 |
|
Paul Cornett
|
648d2bb8f4
|
fix SetStyle tag removing, broken in r45186
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 05:52:22 +00:00 |
|
Vadim Zeitlin
|
6327cdd57c
|
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
|
2008-12-11 00:49:34 +00:00 |
|
Vadim Zeitlin
|
893039c03f
|
clarify wxFlexSizerGrowMode description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 23:38:58 +00:00 |
|
Vadim Zeitlin
|
51810d4d7e
|
deprecate wxStringEq
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 20:07:33 +00:00 |
|
Vadim Zeitlin
|
70405f7e3d
|
undo accidental change of r57233
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 16:24:54 +00:00 |
|
Vadim Zeitlin
|
74d283aac4
|
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
|
2008-12-10 16:24:08 +00:00 |
|
Francesco Montorsi
|
7dfb6dc4a9
|
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
|
2008-12-10 16:20:07 +00:00 |
|
Vadim Zeitlin
|
20db5469a0
|
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
|
2008-12-10 16:09:58 +00:00 |
|
Vadim Zeitlin
|
565804f2b9
|
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
|
2008-12-10 16:05:21 +00:00 |
|
Vadim Zeitlin
|
702f5349c6
|
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
|
2008-12-10 15:56:11 +00:00 |
|
Vadim Zeitlin
|
fbc25b5107
|
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
|
2008-12-09 23:31:32 +00:00 |
|