David Surovell
56b6cf265c
minor cleanup 2 - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 02:48:26 +00:00
David Surovell
3d59537f64
minor cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:04:30 +00:00
David Surovell
5b061713ea
fix for prior commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 18:36:22 +00:00
David Surovell
a9339fe22c
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 18:23:01 +00:00
Mart Raudsepp
9542719478
Typo fixes (precompilatixon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:39:54 +00:00
David Surovell
ccdee36f75
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 15:38:26 +00:00
Włodzimierz Skiba
93763ad5ba
wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:11:26 +00:00
Robin Dunn
2b01fd4918
Use CmdDown in mouse events instead of ControlDown so Mac users can
...
multi-select with shift and cmd like they are used to. Other
platforms are not affected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:09:35 +00:00
Robin Dunn
afd0f084f4
Added missing not operator that was preventing the drawing of the
...
gridlines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 23:09:46 +00:00
David Surovell
2f02438455
cleanup - added whitespace around operators, some blank lines, fixed comment typos, broke up one-line if-stmts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 16:51:36 +00:00
David Surovell
bee1995894
minor cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 00:21:00 +00:00
Włodzimierz Skiba
faa94f3ec8
Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Vadim Zeitlin
f87ab3cca3
don't set cursor coords to (0, 0) which could be invalid coordinates (in an empty grid)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:44:44 +00:00
Julian Smart
7db713aea6
Applied patch [ 1436761 ] wxGrid: Can't enable cell edit ctrl on very wide columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:17:50 +00:00
Vadim Zeitlin
91894db3d7
simplified the code in ProcessGridCellMouseEvent() to get rid of unreachable code (coverity checked CID 3)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:53:10 +00:00
Julian Smart
fe4cb4f5ea
Allow width to be absent but precision present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 14:50:50 +00:00
Michael Wetherell
8d7eaf9140
Warning fixes for VC5 (Igor Korot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
Roger Gammans
8fc856de1f
Fix bug [1297817] - applied suggested patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 13:45:34 +00:00
David Surovell
962a48f6f9
fix wxMac-QD - blank focusesed text; minor reformat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-31 09:19:15 +00:00
Julian Smart
46cbb21ecb
Fixed problem with choice editor in wxGrid whereby the editor
...
lost focus when the combobox menu was shown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 17:43:15 +00:00
Kevin Hock
4db6714b16
Code formatting cleanup from OSAF [ patch 1307563 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-01 21:02:18 +00:00
Vadim Zeitlin
4e115ed2c7
fixed variable shadowing icc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:29:42 +00:00
Vadim Zeitlin
c77a67962c
use wxIsSameDouble() and wxIsNullDouble() for warning-less double comparison of doubles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:27:27 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
11850ff358
corrected test for __WXGTK__ (but should it be there at all?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:05:49 +00:00
Włodzimierz Skiba
7448de8d8d
[1231183] 'cleanup: mismatched indentation' and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 17:08:42 +00:00
Vadim Zeitlin
48962b9fdd
reverted last change with setting the focus only if we hadn't had it, this breaks under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 10:19:53 +00:00
Vadim Zeitlin
2fb3e528a3
only set focus to the grid window in wxGrid::HideCellEditControl() if it hadn't been switched to another window of our application
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 11:22:24 +00:00
Julian Smart
08dd04d082
Worked around problem with kill focus event being sent as soon as
...
the combobox is focused, on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 14:49:54 +00:00
Włodzimierz Skiba
902725eefe
Source cleaning inspired by and included in patch '[ 1215450 ] cleanup: unreachable code.'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 16:47:04 +00:00
Vadim Zeitlin
140954fd9c
hide the cell editor if the grid loses focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 11:38:16 +00:00
Robin Dunn
3100c3dbf3
Merge the cell size attribute the same way that other attributes are
...
merged, e.g., if it is already set to a non-default value in the
current wxGridCellAttr object then don't merge from the other.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 00:16:41 +00:00
Robin Dunn
eb5e42b615
Allow wxGridCellNumberEditor::StartingKey to work when the control is
...
a spinctrl too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 18:48:23 +00:00
Julian Smart
659af82672
Applied patch [ 1192917 ] Grids with no row or col headers cause AV under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 14:32:15 +00:00
Robin Dunn
33e9fc549c
Set focus to the grid windwo when it is left-clicked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-20 16:17:57 +00:00
Julian Smart
c2651b0a5c
Renderer should only be used for GTK+ 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-20 08:17:11 +00:00
Stefan Csomor
c03bf0c740
fix for drawing correct gridlines even on scrolled positions (wxMac)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 06:53:03 +00:00
Robin Dunn
7d75e6c6cf
some extra refreshing and updating on wxMac so the grid renders itself correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 19:53:51 +00:00
Michael Wetherell
5335e9c406
Temporary compilation fix for wxUSE_INTL=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 12:39:44 +00:00
Václav Slavík
675a9c0de5
use configured scrolling increments (m_scrollLineX/Y) instead of hardcoded constants in all places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 14:36:59 +00:00
Robin Dunn
046d682f0f
Don't call StartingKey if the key was F2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 17:32:41 +00:00
Włodzimierz Skiba
6f0d2ceef5
Dummy warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 17:29:16 +00:00
Vadim Zeitlin
ba30efbc53
unreachable code warning fix (Unicode build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:44:28 +00:00
Robin Dunn
63e2147c8b
Fixed bug #1163384 . Moved the code that handles activating the cell
...
editors to a EVT_CHAR event handler. This is done so the character
inserted into the editor will be the "cooked" char value (including
accented or composed keys) rather than the raw code provided by the
EVT_KEY_DOWN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 22:33:17 +00:00
Vadim Zeitlin
60d8e88654
iterator methods fixes (patch 1164808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:19:13 +00:00
Robin Dunn
109b9ba582
The key event for the shift key should not start the cell editor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 03:16:46 +00:00
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Włodzimierz Skiba
2997ca30d6
Use default constructors for wxSize/Point/Rect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00