Commit Graph

1726 Commits

Author SHA1 Message Date
Julian Smart
e3275133ab Allow wxSplitterWindow::Initialize(NULL) in case we've deleted both child
windows and want to clean up dangling pointers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@27852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 09:05:39 +00:00
Roger Gammans
4441ece149 * fix bug where editing of the bootom and right most cell is not
corectly completed.
 * Some tidying of end edit code paths. (such as in AutoSizeRowOrCol)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 19:58:39 +00:00
Julian Smart
4b0fd422bd Specify tree control in event table to avoid problems with stray tree events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 13:05:20 +00:00
Julian Smart
a2c347938b Applied patch [ 800086 ] GridCellTextEditor wxTE_RICH misbehaving
Don't set the value of the hidden editor control (useless)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 14:28:38 +00:00
Julian Smart
cd03160244 Applied patch [ 863936 ] wxGrid scroll bars not drawn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 15:52:35 +00:00
Julian Smart
2805d3de8b Added missing event.Skip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-06 08:54:57 +00:00
Robert Roebling
c064f189a5 Small fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-01 09:39:38 +00:00
Stefan Neis
810d24ea09 Enabled handling of drive letters on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:49:37 +00:00
Stefan Neis
c1f921cc70 Fixed drive handling on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:38:30 +00:00
Stefan Neis
907f6689d6 Backported various changes from HEAD to fix a couple of bugs, details:
- backported changed ProcessGridCellMouseEvent to fix bug #834929.
        - backported enforcement of column width/row height checking to fix
                bug #832991.
        - backported fix for bug #837656.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 19:14:00 +00:00
Václav Slavík
6559d5876c fixed accelerators in wxGTK if NumLock is active (bug #723379)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 17:05:06 +00:00
Robin Dunn
17465a0a42 Should not delete colours that come from the wxColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-29 17:42:18 +00:00
Robin Dunn
8c5d4072b1 Allow derived classes to prevent default focus handling (by not
calling Skip)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:48:17 +00:00
Robin Dunn
cde2e5f7f3 Change some wxASSERT's to wxCHECK's so the offending code will safely
be skipped instead of causing a crash.  (Backported from 2.5)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:07:55 +00:00
Vadim Zeitlin
07421d20b5 memory leak fixes in file dialogs (patch 783812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 00:06:05 +00:00
Vadim Zeitlin
3450d39e45 compilation fix for Unicode && compatibility_2 (bug 807764)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 11:39:26 +00:00
Vadim Zeitlin
1c4a0ca4c1 backport: adjust m_current when inserting items in the control (patch 799937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 23:01:58 +00:00
Robert Roebling
84a4784aba Applied fixes for
memory leaks in file dialog and font dialog
    miniframe drawing prob
    file object for dragging


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 18:02:27 +00:00
Chris Elliott
ee8a3ffa4f fix build for digital mars 8.35 and grid samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:05:41 +00:00
Vadim Zeitlin
0350e78d7c don't create a multiline text control in the text editor (even not under MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 22:20:33 +00:00
Chris Elliott
809a1985f7 backport changes for D Mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:48:37 +00:00
Vadim Zeitlin
115cacce0c fixed extraneous scrolling when scrollbars are added/removed (patch 788026; bug 746618)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 23:55:52 +00:00
Mattia Barbon
6d8baa7536 Warning fixes for (MinGW) GCC 3.3.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 16:57:35 +00:00
Robert Roebling
93846b2ced Further adaptions of wxFileDialog to mini-screens.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 18:27:56 +00:00
Robert Roebling
48e5489066 Minor adatation for PDA size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 18:53:19 +00:00
Vadim Zeitlin
7828f07191 make it possible to have flickerless splitter by not forcing repaint on resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:00:07 +00:00
Vadim Zeitlin
5e4196efab wxScrolledWindow scrollbar update fix (patch 680427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:09:09 +00:00
Vadim Zeitlin
d5b23cc0b9 just some warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:36:56 +00:00
Robert Roebling
90dab4e65a OK, wxMSW doesn't seem to send the end label edit event
for wxListCtrls if the label editing was cancelled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 11:49:43 +00:00
Robert Roebling
3a547e0e37 Update to ending a label edit action in both tree control
and list controls. This includes the patch for tree
   control to correct the focus behavour when cancelling
   a label change action. It also adds an end_label_edit
   event to wxListCtrl when cancelling (this was not done
   before).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 11:41:16 +00:00
Julian Smart
7e650857ce Initialised static controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 08:20:05 +00:00
Robert Roebling
3cac4ac95a Small fix for splitterwindow (no longer wrong cursor in
nested scrolled window).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:04:21 +00:00
Stefan Neis
966c319c64 Reverted patch [ 746201 ] (partially) because of unwanted side-effects
to grids with 0 rows _or_ 0 columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 08:40:06 +00:00
Stefan Neis
c0ce485169 Added call to AdjustScrollbars in CalcDimensions to be able to scroll to the
"end" of a grid after adding rows/columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 20:51:25 +00:00
Robin Dunn
ba0d19c23f backported the, uh... "fix" for update problems on wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:20:21 +00:00
Vadim Zeitlin
060f9ce148 generate wxEVT_COMMAND_LIST_INSERT_ITEM (patch 747070)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:46:08 +00:00
Julian Smart
5c9194275a Fix (I hope) for bug [ 673862 ] printing zero length string with postscript does not work
Now descent and externalLeading will be zeroed if the string is empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:23:16 +00:00
Julian Smart
953a8d6472 Applied patch [ 650511 ] wxCalendarCtrl - year does not change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:46:49 +00:00
Julian Smart
aa88de778a Applied patch [ 733425 ] Fix for header rendering problem in CalCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:39:30 +00:00
Julian Smart
73265c5504 Applied [ 746201 ] wxGrid row/col change not updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:55:59 +00:00
Roger Gammans
5fc42941db * 2.4 version of sf.net pacth 735595
Backport of docs from patch 2.5 patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 19:42:57 +00:00
Stefan Csomor
bd1f3340cb fix by Egon to avoid endless loop when no matching item found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 18:07:05 +00:00
Robin Dunn
ddadc73ae5 Acutally use the m_maxChars parameter value instead of ignoring it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 20:50:55 +00:00
Julian Smart
00e8c2009e Fixed crash in EnsureVisible in wxTR_HIDE_ROOT mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 21:48:24 +00:00
Robin Dunn
c71bb017ee Fix GetItemRect to offset by the header window, if present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 02:17:52 +00:00
Julian Smart
0b7bf40bbc Make sure grid elements have no borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:29:18 +00:00
Robin Dunn
268df712a3 Binary compatible almost correct workaround for failure to merge the
m_overflow flag


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:47:51 +00:00
Julian Smart
1b4c5c70bb More style issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Robert Roebling
1daf3f08fd splitter mini fix upported from HEAD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:23:33 +00:00
Robert Roebling
76e0d41aaf Cleaned the mess in wxSplitterWindow::OnMouse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 08:36:50 +00:00