Commit Graph

3633 Commits

Author SHA1 Message Date
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
181bfffdc8 removed debugging messages I just added by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:47:18 +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
Václav Slavík
37a1f3f69b fixed bug in scaling images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:08:23 +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
Vadim Zeitlin
4aff28fc9b 1. exchanged binary ROPs wxSET/wxCLEAR meaning for wxMSW to match wxGTK
2. bug with multiline messages in wxLogGui fixed
3. wxLogGui visual enhancements (for MSW, don't know how it looks elsewhere)
4. fixed 2 nice (i.e. BIG) memory leaks in wxImage::Rotate()
5. modified the text sample to show the mouse events too
6. documented strange behaviour of LEAVE_WINDOW mouse event under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 02:41:07 +00:00
Robert Roebling
1d81a219db Fixed Vadims fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 19:31:55 +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
Vadim Zeitlin
7b848b0db2 1. fixed bug with the index of the last column in EVT_COL_CLICK being shifted
by 1 (always)
2. added a menu item to toggle single/multiple selection to the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:12:44 +00:00
Guillermo Rodriguez Garcia
ad30de59f6 Added support for transparency in rotation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 13:27:07 +00:00
Bart A.M. Jourquin
cb5df486e8 #include textfile.h out of the WX_PRECOMP section (bcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 08:36:51 +00:00
Guillermo Rodriguez Garcia
d624fd67f8 Added comments explaining my recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 07:28:43 +00:00
Guillermo Rodriguez Garcia
8fcae2d6ed ROP 0x00AA0029 used for transparent area in DrawBitmap and Blit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 06:54:50 +00:00
Michael Bedward
2433bb2ed1 Added wxTextFile functions to make multi-line text formatting portable.
Fixed cell background colour problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 03:50:51 +00:00
Michael Bedward
bd3c6758b5 Reverted changes to grid line positioning that caused many problems
with refreshing and edit control placement.

Added calls to wxFAIL_MSG.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 02:39:05 +00:00
Guillermo Rodriguez Garcia
04e1eb03b0 - wxSocket no loner automatically Closes() the socket when it receives a
LOST event.

- Elusive bug found and fixed when:
a) there was still data to be read in the input buffer, but
b) the socket had already been closed by the peer, so
c) there was a LOST event before the next INPUT event was generated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 01:02:34 +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
Guillermo Rodriguez Garcia
c0eba78b86 Stupid bug: using LastError() instead of Error()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 22:53:26 +00:00
Robin Dunn
d14f4fec2d plugged memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:35:09 +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
633d67bb49 fixed fatal bug in wxStatusBar::SetFieldsCount(), added demo of it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 18:23:37 +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
Stefan Neis
c1b2e2b6a8 Fix refreshs for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 14:29:25 +00:00
Guillermo Rodriguez Garcia
5e2e843f00 let's see it it works now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:54:56 +00:00
Michael Bedward
27fa32469f Changed grid line positioning slightly to line up the cells with the labels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:18:52 +00:00
Michael Bedward
18f9565d19 Fixed problem where corner label was displayed when either row or col label size had been set to zero prior to first display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:09:19 +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
c3e4873f84 Partially reverted last changes because of problems under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 05:12:01 +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
Michael Bedward
b0d6ff2f7f Added more 3d rendering to row and col labels and removed sunken border style from the grid cell window so that labels and cells line up better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 03:49:52 +00:00
Michael Bedward
c6a51dcd05 A few optimizations to Refresh() calls for the grid cell area window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 03:03:52 +00:00
Michael Bedward
2e8cd9776a Implemented row and col label size functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 02:15:05 +00:00
Václav Slavík
c3a1c7d272 fixed incorrect parsing of http://domain.com:portnumber/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 23:42:06 +00:00
Robin Dunn
21d734041a Fix in parse headers so it wouldn't always store an empty string
for each header value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 21:31:29 +00:00
Julian Smart
9f334beabb VC++ project file updates; minor sashwindow/splitterwindow cursor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:18:43 +00:00
Julian Smart
3e0b743f1d Misc. fixes for obscure compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:17:00 +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
72174350ae don't use ROPs for drawing the text for wxMSW compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:06:54 +00:00
Guillermo Rodriguez Garcia
c0043a5066 Changed the order in which events are checked, so that LOST events are
ignored until there are no more events pending. This is because you can
have data waiting to be read, for example, even when the peer has already
closed the connection. This affects _Wait() and OnRequest().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 18:31:07 +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
9453a61bd8 add SQL_CATALOG and SQL_LOG filename variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 11:06:07 +00:00
Michael Bedward
b93a2fe65a Fixed problem with label resize cursor not resetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 04:33:03 +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
Guillermo Rodriguez Garcia
2edc119be3 Fixed transparency problem when masked area was not black
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 23:26:29 +00:00