Julian Smart
6914b57adc
Made some functions virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 13:13:08 +00:00
Włodzimierz Skiba
0e871ad039
Fixes for wxUSE_SPIN... == 0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 20:08:56 +00:00
Julian Smart
608754c4a3
Added SetScrollLinesX, SetScrollLinesY so apps can work around scrollbar
...
appearance problems by setting the scroll increment to e.g. 1
(Scrollbar problems caused by rounding errors - see comments in grid.cpp).
Also removed obsolete functions from reference, rearranged alphabetically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 10:28:20 +00:00
Robin Dunn
71e60f703c
Since it is documented, changed GetOrCreateCellAttr from protected to
...
public so it can be used from wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 19:30:19 +00:00
Robin Dunn
79dbea2146
Patch from Jed Burgess that optionally allows the grid to notify when
...
a drag event happens on a cell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:25:28 +00:00
Włodzimierz Skiba
422d0ff0be
wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Włodzimierz Skiba
ca65c0440a
Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Julian Smart
24d705907d
Added event table macros to wxGrid that take window identifiers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 23:17:00 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
0fab3a5a1a
Avoid duplicated definition errors for wxLongToLongHashMap when both
...
grid.h and fs_zip.h are included.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:50:28 +00:00
Vadim Zeitlin
3a818b15a1
use static_cast<> in event table macros for type safety (patch 843206)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:15:19 +00:00
Mattia Barbon
7db33cc310
Added, documented and used wxGridCellChoiceEditor
...
taking wxArrayString.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:11:01 +00:00
Stefan Csomor
986a98c6e9
added support for allocation-creation method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:27:11 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Václav Slavík
160ba750f2
compilation fixes for win32 dll+multilib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 16:16:49 +00:00
Václav Slavík
12f190b09c
created wxAdvanced library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 01:04:55 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Mattia Barbon
2da2f941bb
Fix wx[Sorted]ArrayString::Index when wxUSE_STL=1, because
...
it is different than wxArray::Index (second argument is for
case sensitivity, not search direction).
Use forward declaration for wx[Sorted]ArrayString, where
possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:01:14 +00:00
Mattia Barbon
ba8c160144
Moved some methods/classes inside COMPATIBILITY_2_4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:59:55 +00:00
Roger Gammans
b8d24d4edd
* Apply patch #735595 . Add miminumAcceptable{Height,Width}
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 19:49:43 +00:00
Robin Dunn
b63fce942f
fixed compile errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 18:08:01 +00:00
Robin Dunn
ef5df12bdf
Also merge the m_overflow attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:50:08 +00:00
Julian Smart
f7556ff05f
Removed old grid code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:50:10 +00:00
Julian Smart
d43851f77e
Applied patch [ 608866 ] wxGrid: vertical column label text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 14:25:34 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Julian Smart
1bd71df911
Fixed missing checkbox alignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
73145b0ed1
Applied patches by Scott Pleiter:
...
[ 643866 ] small wxGrid API changes
adds GetValue to the gridcelleditors to facilitate
querying values from the editors, also changes several
methods to virtuals to simplify inheritance.
[ 643867 ] wxGrid cell LNF & behaviour patch
Enables the grid to render its cells grey when the grid
control is disabled. Also fixes several problems when
making the gridcelleditors visible. Improves the layout
of multi-line row/column labels. Changes the CellEditor
show from a MOUSE_DOWN to a MOUSE_UP, this
stops the editor starting when creating a selection
beginging in the currently selected cell.
[ 643868 ] wxGrid rendering tweaks, improves look.
Draw the row/column using system colours. Change the
default wxGrid settings to have a more neutral starting
point - grey lines, non-bold label font, black/white
selection etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:14:04 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
David Webster
b7282ad267
TRUE not true; FALSE not false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:09:52 +00:00
Stefan Neis
a66a391e70
Changed second parameter of Refresh to "const wxRect*".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:09:55 +00:00
Stefan Neis
aa5b885706
Commited John Labenski's patch giving access to the low level selection
...
representation (Patch 579754).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:58:25 +00:00
Stefan Neis
8403515064
Added some const qualifiers.
...
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
DisplaySize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:27:26 +00:00
Stefan Neis
27f35b6674
Make use of new array functions.
...
Added redraw function (by Roger Gammans).
Added Cell overflow & multiple cells (Patch 518206).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:42:29 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Robin Dunn
ec53826c06
Fixed wxGridCellFloatEditor::Clone
...
Changed wxGridCellEditor::GetString to use %f instead of %g to match
the Renderer, otherwise it would truncate/round the value to
m_precision significant digits instead of m_precision digits after the
decimal point.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:03:42 +00:00
Vadim Zeitlin
e669d97ae5
added a few virtual keywords for consistency (no real changes) (patch 543922)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 22:44:12 +00:00
Robin Dunn
afbd598c25
Some secondary grid classes now derive from wxClientDataContainer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:32:35 +00:00
Vadim Zeitlin
b8125adfd9
applied a fix for the patch 446325
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 16:19:33 +00:00
Vadim Zeitlin
1df4050d11
fixed uninitialized wxGridCellAttr::m_defGridAttr (patch 491231)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:22:03 +00:00
Vadim Zeitlin
fe7b9ed6fd
support for vetoing grid cell editing (patch 469049)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:44:55 +00:00
Vadim Zeitlin
3379ed3789
tons of fixes for wxGTK/Univ - seems to work, more or less, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:38:19 +00:00
Gilles Depeyrot
7ef4c90b0a
removed useless ; to allow smart preprocessing under Mac OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 21:19:28 +00:00
Robin Dunn
bf7945cef1
Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the user
...
code can get access to the edit control when it is created, (to push
on a custom event handler for example.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 06:23:06 +00:00
David Webster
30bc4a8fc0
New grid control OS/2 compile issue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 18:58:02 +00:00
Vadim Zeitlin
d10f4bf950
applied tons of wxGrid patches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 15:22:28 +00:00
Vadim Zeitlin
19d7140ec2
applied patch 415912 (fixing problems with wxGrid attrs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 13:20:31 +00:00
Robin Dunn
d2520c85b0
Added accessors for the sub-windows in the wxGrid.
...
Added methods to get/set the pen width used for the current cell
highlight, bot normal and read-only.
Fixed (I think) the problem of the cell highlight leaving extra lines
behind when the grid lines are turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:31:17 +00:00
Vadim Zeitlin
2e4df4bfaf
1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
...
2. moved ~50% of the event types in their own headers/sources from event.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Robert Roebling
82a5f02c86
Updated ten thousand macros for new event type code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 17:35:36 +00:00