Stefan Neis
025562fee3
Shift edit control (since we shifted cells in last version!)
...
Only draw valid help lines in resizing.
First try to enable EditCtrl on slow clicking: Doesn't work yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 19:43:54 +00:00
Stefan Neis
dcfe4c3d71
Added enabling/disabling of cell edit control.
...
Moved grid lines and cells by one pixel.
Call SelectBlock in SetCurrentCell (possibly not, what we want?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 16:58:43 +00:00
Robert Roebling
e60908ca90
Applied colour reduction and changes to use
...
Windows standard palette to plot BMPs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 15:08:34 +00:00
Robin Dunn
2796cce3f1
1. Grid cell defaults are now handled by an internal wxGridCellAttr
...
object.
2. wxGridCellRenderer::Draw updated to expect an attr object and use
it instead of going back to the grid for everything
3. The selection colours are now initialized from wxSystemSettings,
and are configurable.
4. Now either CreateGrid() or SetTable() can be called to initialize
the grid. Added a test for using a non-default table.
5. Reduced flicker even more byt using empty EVT_ERASE_BACKGROUND
handlers.
6. The beginings of wxGridCellEditor are in there but not activated
yet. (This is the next step.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 05:37:37 +00:00
Julian Smart
2b4313be05
BC++ doesn't like periods in resource names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 19:10:14 +00:00
Vadim Zeitlin
758cbedf84
added attr assignment for rows/columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 21:14:58 +00:00
Vadim Zeitlin
0a97676587
added an extremely simple cell attr cache (yet it catches 80% of acccesses)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 20:38:04 +00:00
Vadim Zeitlin
ab79958a7f
added wxGridCellRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 19:40:56 +00:00
Vadim Zeitlin
2e9a678817
fixed setting more than one attr for a cell
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:18:18 +00:00
Robert Roebling
a5a0dd06b6
Made HelpGen compile here.
...
Documented wxPlotWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:00:42 +00:00
Guillermo Rodriguez Garcia
7d56fb8fcd
Added wxEVT_SCROLL[WIN]_THUMBRELEASE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:55:28 +00:00
Vadim Zeitlin
e2b42eebeb
added ChangeCursorMode() method, rewrote the col/row resizing code to capture/release mouse properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:43:42 +00:00
Julian Smart
c3b177ae63
Some BC++ 5.4 fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 13:29:43 +00:00
Robert Roebling
80a58c9968
Added BMP files for wxPlotWindow,
...
Replaced wxWindow with wxNotebookPage in wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:28:21 +00:00
Michael Bedward
6d004f675d
Added facility to resize rows and cols by dragging grid lines.
...
Fixed bug where row col resize events were sent twice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 04:09:20 +00:00
Robert Roebling
279ababf7b
Whole lotta stuff for wxPlotWindow,
...
repaired image sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:43:33 +00:00
David Webster
bbc3f89a82
Added an OS/2 section to the sql defines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:32:08 +00:00
David Webster
c67b773e19
Updates to make latest changes compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 22:58:41 +00:00
Vadim Zeitlin
b99be8fb78
cell attributes added (doesn't quite work, work in progress, beware, don't use, &c &c)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:30:27 +00:00
Vadim Zeitlin
26dfedc4fc
some Motif compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:53:42 +00:00
Vadim Zeitlin
06b466c74f
more HP-UX compilation warnings fixed (187th try)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:51:16 +00:00
Michael Bedward
7807d81c73
Simplified sizing code. Sub-windows are now sized explicitly in wxGrid::CalcWindowSizes().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 07:17:12 +00:00
Michael Bedward
4634a5d6d7
Initializing more variables in wxGrid::Create()
...
Minor fixes for crashes under wxMotif when setting attributes before
the grid has been first painted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 05:04:21 +00:00
Julian Smart
a2327a9f80
Added ShowFullScreen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:14:50 +00:00
Vadim Zeitlin
92da8bde1b
HP-UX compilation errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 16:28:55 +00:00
Bart A.M. Jourquin
ad2522ad3f
add SQL_CATALOG and SQL_LOG filename variablesas extern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 11:06:53 +00:00
Vadim Zeitlin
91b4c08d6f
1. wxWizard appears in the centre of the screen by default
...
2. the selected brush isn't damaged any more by DrawBitmap()
3. corrected confusion between current and bg brush in DrawBitmap()
4. added wxGetColourFromUser() (to match wxGetTextFromUser() &c)
5. mem leak/crash in wxListCtrl on mode change fixed
6. wxListCtrl::Set{Fore|Back}groundColour() work as expected now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:08:51 +00:00
Vadim Zeitlin
6932a32c2b
trying to fix memory leak in wxListCtrl (attributes not deleted)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:51:39 +00:00
Bart A.M. Jourquin
96820af7cb
add definition for FAR for mingwin 2.95
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:08:09 +00:00
Michael Bedward
790cc4177a
Fixes for problem where selection fails to start on dragging mouse in
...
grid cell window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 05:39:28 +00:00
Julian Smart
69d16e3ef8
Small changes for VC++ 4 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 21:25:27 +00:00
Julian Smart
457e6c54a2
Some doc corrections; Watcom C++ corrections; VC++ 4 corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 19:11:10 +00:00
Julian Smart
7a632f1056
Added rotation to wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 14:51:36 +00:00
Robert Roebling
12c1b46a2f
Tried to prevent scrollbars from scrolling as
...
per MSW, didn't work.
Added DeleteAllItems event and test to listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 13:51:01 +00:00
Julian Smart
9b1801c19c
long -> wxCoord
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 12:12:25 +00:00
Julian Smart
790ad94f70
Some BC++ 4.5 and other compile fixes; changed FAR definition to WXFAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 11:48:14 +00:00
Stefan Neis
3ccf6cd7ea
long -> wxCoord
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 00:21:43 +00:00
Guillermo Rodriguez Garcia
af07f1749c
Some compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:18:28 +00:00
Stefan Neis
796df70a76
Added different strategy for updating grid lines.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:04:13 +00:00
Robert Roebling
8febdd3905
Fixed status bar probs,
...
Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 17:56:26 +00:00
George Tasker
7a5214a863
Fixed a typo in a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 14:13:41 +00:00
Robert Roebling
473d087e56
wxWindow no longer emits any scroll events after
...
a programmatic change to its scrollbars.
Reverted sense of SHIFT and CONTROL in wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 10:33:57 +00:00
Vadim Zeitlin
ed79198695
1. wxTimer change - now generates EVT_TIMER()
...
2. wxStatusBar reorganisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:57:38 +00:00
Michael Bedward
8fb66724c6
Removed ^M chars again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:03:52 +00:00
Vadim Zeitlin
7c968cee84
another new version of wxStringTokenizer (with tests and docs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 18:31:26 +00:00
Robert Roebling
d2fdd8d2af
Minor GTK fixes for wxGrid.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:01:47 +00:00
Robert Roebling
71fe5c01eb
ROP changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 14:16:17 +00:00
Michael Bedward
58dd5b3b3e
Many bug fixes for display code:
...
- clicking outside cell area no longer causes crashes
- clicking beyond labels is now ignored
- better cell selection code
- old grid sample now works with this grid
- newlines can be entered in to cell edit control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 11:17:01 +00:00
Stefan Neis
c3baf426f8
Added drag-shrinking.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 15:14:13 +00:00
George Tasker
d62e92203d
Replaced C++ comment with C comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:56:12 +00:00