Commit Graph

512 Commits

Author SHA1 Message Date
Vadim Zeitlin
f4b8bf2fd1 wxCaret now uses backing store instead of forcing window refresh each time the
caret is hidden; the non blinking carets work too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-22 22:44:34 +00:00
Julian Smart
57591e0edb Fixed some broken things related to context help, fixed memory leak
in wxGenericTreeCtrl (Init should be called before Create, not _in_ Create)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 13:52:10 +00:00
Julian Smart
621f9767c8 Added a flag to avoid Capture/Release asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 16:51:31 +00:00
Julian Smart
1ed01484e7 Implemented IsVisible and GetFirst/NextVisibleItem for generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 12:45:21 +00:00
Julian Smart
8fb3bfe20f Added first stab at GetBoundingRect for generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-07 14:42:48 +00:00
Julian Smart
233058c7ab Generic tree control fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 15:23:28 +00:00
Julian Smart
484523cf52 Modified generic wxTreeCtrl to work under non-Unix platforms simultaneously
with the native control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 13:59:45 +00:00
Michael Bedward
b1944ebcd0 Removed redundant m_left etc. variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 05:22:34 +00:00
Václav Slavík
b64de91622 fixed low resolution problem with wxPostScriptDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-03 21:43:30 +00:00
Julian Smart
8062a6ab7b Made some member variables protected so derived classes can use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-02 14:45:05 +00:00
Julian Smart
3f4fc7967b Added wxQuantize, wxSplashScreen, wxEffects & added palette to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-28 17:53:25 +00:00
Michael Bedward
c909783630 Renamed existing wxGrid::SelectBlock to HighlightBlock.
Added new wxGrid::SelectBlock that does what the name suggests
(consistent with the other SelectXXX functions).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-28 05:12:32 +00:00
Julian Smart
f9c165b1d6 Generic dirctrl corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 16:34:51 +00:00
Michael Bedward
0767cb6f44 Changed wxGridCellAttr::HasAlignment to treat values of -1 as no
alignment because wxALIGN_LEFT and wxALIGN_TOP are 0.

Updated griddemo.cpp to use correct alignment defs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 04:09:21 +00:00
Michael Bedward
4c7277db42 Changed cell and label alignment functions to use wxALIGN_XXX defs.
SetXXXAlignment() functions still accept wxTOP, wxLEFT etc
for (some) backwards compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 01:57:24 +00:00
Václav Slavík
3509d340e2 wxGTK compilation fix (undefined wxDirDialogDefaultFolderStr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 18:47:48 +00:00
Julian Smart
51a58d8b4b Added wxGenericDirCtrl, wxGenericDirDialog and associated icons.
Altered dialog sample to show generic dir dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-23 19:10:27 +00:00
Michael Bedward
d82323930c Added ForceRefresh() to request immediate repainting of a grid.
Calling Refresh() doesn't do this because of our minimal OnPaint
handler (to reduce screen flicker).

Setting of position coords for wxGridEvents now takes account of
row and col label sizes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 06:51:22 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Ron Lee
a99b3d76f2 removed TAB_TRAVERSAL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 20:51:43 +00:00
Julian Smart
669f7a111f Various compiler changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 18:52:23 +00:00
Vadim Zeitlin
43b5058d59 1. status bar can now be positioned on top (and anywhere, in fact)
2. status bar without wxST_SIZEGRIP style won't have the size grip (wow)
3. scrollbars don't get the cursor of the main window any more
4. introduced wxSetCursorEvent and use it in wxSplitterWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:45:54 +00:00
Stefan Neis
399b60a0ad Improved selection mode handling in wxGrid::SelectBlock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 22:11:24 +00:00
Stefan Neis
6fc0f38fe0 More compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 12:04:25 +00:00
Vadim Zeitlin
cbc66a2704 1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows
2. some more wxWindowDisabler bugs fixed (updated dialogs sample to test them)
3. Esc won't close the dialogs without cancel button under MSW
4. status bar can be child of windows of clases other than wxFrame
   (updated statbar sample to show it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:26:21 +00:00
Stefan Neis
aa5e1f75d9 Added many WXUNUSED, untabified once again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 13:59:41 +00:00
Stefan Neis
723d1b1da1 Removed unused parameter addToSelected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:57:58 +00:00
Stefan Neis
e32352cf66 Changed wxGridCellCoords from long to int (get rid of most HP warnings?)
Added Shift/Control+Click handling for labels.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 12:27:27 +00:00
Stefan Neis
d95b0c2ba0 Changed Shift+Arrow handling
Fixed Ctrl/Shift/Alt/Meta handling in generated events.
Added display of Ctrl/Shift/Alt/Meta status to griddemo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:57:02 +00:00
Julian Smart
7c4a59a881 Added WinHelp sample doc to samples/help, and made it possible to show
both native and wxHTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:04:51 +00:00
Mark Johnson
6bf783984a calctrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:28:40 +00:00
Vadim Zeitlin
07e87221f6 Mark Johnoson's additions for variable-width weekday names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:03:54 +00:00
Michael Bedward
19701d22df Removed redundant m_displayed member var from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 08:22:43 +00:00
Václav Slavík
4d44947336 added missing wxImageList::Add methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 14:15:47 +00:00
Stefan Neis
5c8fc7c1de Improved handling of selection/deselection events.
Improved keyboard navigation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:09:37 +00:00
Stefan Neis
043d16b225 Bugfixes; added selection modes demo to griddemo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 19:56:39 +00:00
Stefan Neis
f1567cddea Added SetSelectionMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:35:58 +00:00
Stefan Neis
b58088819b Added extended selection support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:44:33 +00:00
Stefan Neis
294f6bcbdb Added class to handle selection inside wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:41:17 +00:00
Vadim Zeitlin
c4608a8af3 1. warning in gtk/menu.cpp fixed
2. Unicode fix in msw/textctrl.cpp
3. more parameters support in grid editors/handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:55:29 +00:00
Julian Smart
68be9f090f Added wxDragImage generic implementation and sample; added mask handling to Motif's
wxImage::ConvertToBitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 11:05:49 +00:00
Vadim Zeitlin
e72b421324 setting parameters for wxGridCellFloatRenderer seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 19:30:26 +00:00
Vadim Zeitlin
0b190b0f6a 1. more corrections for ref counted editors/renderers (doesn't crash any more,
might leak memory though)
2. attempt to add parameters to renderers - failed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 18:36:04 +00:00
Vadim Zeitlin
39bcce60fe wxGridCellRenderer/Editor made ref counted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:42:28 +00:00
Vadim Zeitlin
af547d51b7 1. added range checks in wxGridStringTable
2. added AutoSizeRow(), setting minimal size for the rows is supported as
   well now
3. replaced ugly wxHashTables with (just created) wxHashTableLong


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:21:20 +00:00
Michael Bedward
ad115b2d65 AutoSizeColumns and AutoSizeRows changed to pass FALSE for calcOnly arg
to SetOrCalcXXXSizes()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:27:29 +00:00
Michael Bedward
ebd773c6f8 Added wxWANTS_CHARS style to all windows so that the grid reacts to
cursor keys when it is on a panel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:37:37 +00:00
Vadim Zeitlin
a68c1246db wxGridCellAttr::Clone() added to allow the demo of custom grid cell attr provider to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 19:08:01 +00:00
Vadim Zeitlin
266e83674a grid autosize fixes/changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:40:14 +00:00
Julian Smart
94799627ee Some corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 15:57:06 +00:00
Julian Smart
babc97583e Removed old wxGLCanvas stuff; moved wxTreeLayout to wxWindows; corrected some doc errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 13:42:59 +00:00
Robert Roebling
b480710b16 More wxPlotWindow goodies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 15:56:24 +00:00
Vadim Zeitlin
57c086ef99 wxGrid::AutoSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 21:00:07 +00:00
Vadim Zeitlin
abceee76ea 1. corrected problem with label updating in wxProgressDialog
2. optical fix in wxTipDlg: use wxTE_RICH control to avoid vert scrollbar
3. put wxProgressDialog demo into dialogs sample, seems more appropriate
4. fixed a serious bug in wxProgressDialog when its parent was not a top
   level window (as in controls sample)
5. fixes in BringWindowToTop() usage in msw/dialog.cpp
6. fixed another serious bug in wxProgressDialog::OnClose()
7. wxDialog restores focus to previously focused window once again
8. attempts at fixing wxBusyCursor with modal dialogs problem - unsuccessful


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 02:20:44 +00:00
Vadim Zeitlin
3324d5f50f removed saveValue param in EndEdit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:58:10 +00:00
Michael Bedward
7c8a8ad57e Added wxGrid::DrawGridSpace function to suppress junk beyond last
row and col of grid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 07:15:04 +00:00
Robin Dunn
4cfa5de640 Some mouse events need to be handled even when outside the grid.
Added flag and accessors to enable/disable the dragging of the grid
lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 07:03:56 +00:00
Robin Dunn
28a77bc43b delay getting the default editor and renderer (by data type) until
actually needed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 04:45:24 +00:00
Vadim Zeitlin
4ee5fc9c92 added combobox editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 16:57:12 +00:00
Vadim Zeitlin
65e4e78efb column autosizing added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 16:03:54 +00:00
Vadim Zeitlin
efbb7287e6 1. corrected bug with LIST_ITEM_ACTIVATED being sent even if second click in
dbl click was on another item
2. moved private classes from listctrl.h -> listctrl.cpp
3. made sample messages include the item index


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:22:21 +00:00
Vadim Zeitlin
816be743e8 added renderers/editors for long/float, not fully tested yet, but seems to
work - see the demo in the (updated) sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 14:29:41 +00:00
Vadim Zeitlin
99306db210 don't draw cell highlight over the cell editor (improves wxGCBoolEditor appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 11:08:17 +00:00
Vadim Zeitlin
6daa30a07e removed some default value for wxGrid compatibility ctor resolving ambiguity of writing wxGrid(this, -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 09:56:22 +00:00
Michael Bedward
6e8524b11b Added functions to enable/disable drag-resizing of rows and cols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 03:51:43 +00:00
Robin Dunn
0ba143c9a0 forgot to uncomment a few things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:22:40 +00:00
Robin Dunn
f2d7623799 Added ability for tables, grids, editors and renderers to handle nonstring data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:17:40 +00:00
Vadim Zeitlin
439479796a added SetColMinimalWidth()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:01:45 +00:00
Vadim Zeitlin
7c1cb26122 virtualized m_row/col height/widths arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 16:39:23 +00:00
Vadim Zeitlin
943d28e424 added wxCURSOR_DEFAULT to others (not GTK only), hide the current selection in
the tree ctrl during dnd


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:35:44 +00:00
Vadim Zeitlin
d16c04bb0a 1. removed 3d border, but
a) made DrawCellHighlight() virtual to allow overriding it in user code
 b) fixed bug with grid lines painting over the border, so it should really
    work now
2. char events to readonly cells are Skip()ped which makes Alt-X work for
   them too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:27:36 +00:00
Vadim Zeitlin
3dbeaa523d added dnd support to generic wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 22:12:58 +00:00
Vadim Zeitlin
e195a54c31 added wxGridCellEditor::StartingClick(), used by BoolEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 20:03:01 +00:00
Vadim Zeitlin
189d0213da wxGridCellEditor::PaintBackground() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:13:48 +00:00
Vadim Zeitlin
508011ce6c bool editor/renderer added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:08:27 +00:00
Vadim Zeitlin
b54ba67107 1. EVT_GRID_XXX constants renamed to wxEVT_GRID_XXX
2. EVT_GRID_EDITOR_SHOWN/HIDDEN added
3. Alt-X now work in the grid (instead of being eaten in StartingKey)
4. added CanEnableCellControl() and use it before calling EnableEC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 10:12:48 +00:00
Václav Slavík
c0fba4d1be fixed background colour handling in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:23:19 +00:00
Vadim Zeitlin
283b7808d8 added support for readonly cells and 3d border drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:10:45 +00:00
Vadim Zeitlin
3da93aae50 the in-place control uses the attr for colours/font info too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:18:53 +00:00
Vadim Zeitlin
d1c0b4f97e deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:15:13 +00:00
Robin Dunn
9b4aede26d Added getters/setters for cell and grid-default editors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:51:33 +00:00
Stefan Neis
4d60017aa5 Added UpdateAttrRows/Cols to change the row/column info in attributes as
needed when Deleting/Inserting rows/columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 16:08:16 +00:00
Václav Slavík
ac8ae254b4 background color set to wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:13:50 +00:00
Vadim Zeitlin
9b33fe0222 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 10:06:32 +00:00
Robert Roebling
530a7383f2 Many plot window gooddies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:37:39 +00:00
Robin Dunn
fb2957900c Some cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 07:08:42 +00:00
Robin Dunn
75ecbe4594 1. Initialized m_displayed to TRUE to solve a cell highlight problem
for some systems.  If this causes no problems then this flag can be
removed.

2. Took out the edit timer so now a second click in the current cell
will activate the edit control, even if it is several seconds later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 21:35:42 +00:00
Robin Dunn
2c9a89e002 wxGridCellEditor plugged in and operational for strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:05:35 +00:00
Robin Dunn
07296f0b12 1. Fixed slow-click timer.
2. Fix for full cell background to be painted.  (One line on the edges
was showing through to the background.)

3. Added current cell highlight.  Currently it just draws a thick
border using the gridLineColour just inside the cell borders.

4. Make dragging a little less sensitive by ensuring that the mouse
drags at least 3 pixels before anything is done to the grid.

5. CaptureMouse while drag-selecting cells and fixed to make cells
visible if dragging outside window boundaries.  Still a problem here
though, it moves way to fast to see what's happening (at least on MSW.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 08:53:06 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Vadim Zeitlin
60ff3b9976 re-checking in files in Unix mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:30:28 +00:00
Michael Bedward
b27f2615c7 Used old name SelectCell instead of new name SetCurrentCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:18:02 +00:00
Michael Bedward
dfaf42d2e8 Added missing SetGridCursor function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:11:12 +00:00
Michael Bedward
1f1ce28841 Removed cell highlighting temporarily. Now wxGrid::EnableEditing(bool)
sets the cell edit control to be editable or read-only.

Fixed row sizing problem where text was clipped in the cell edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 06:03:03 +00:00
Michael Bedward
2d66e025ef Major redesign of grid classes:
- wxGrid now derives from wxScrolledWindow
- Row labels, col labels, corner labels and grid cell area
  implemented as separate classes

The new design fixes the display problems (bad flicker when
scrolling) and simplifies the internal handling of grid cell
coordinates, the edit control etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 04:43:45 +00:00
Vadim Zeitlin
438e3558ad more backwards compatible kbd handling in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 16:42:45 +00:00
Vadim Zeitlin
d80cd92ae2 1. kbd interface for wxScrolledWindow
2. wxWindow::Set/GetExtraStyle()
3. wxWS_EX_VALIDATE_RECURSIVELY added and implemented
4. docs updated to reflect (2) an (3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 19:59:41 +00:00
Vadim Zeitlin
a294c6d53e added wxGetPasswordFromUser(), dialogs sample shows it, documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 18:26:54 +00:00
Vadim Zeitlin
8614c46755 1. '\n's in tooltip messages are handled (replaced by spaces anyhow, tooltip
made multiline if comctl32 supports it)
2. added wxTAB_TRAVERSAL to default wxScrolledWindow style
3. improved arrows handling in radiobox (still problems for multirow ones)
4. [Alt]-<mnemonic> works in nested panels as well now because we use
   WS_EX_CONTROLPARENT for all windows with wxTAB_TRAVERSAL style
5. tooltips for radioboxes work again, even if I'm not really satisfied with
   solution :-( but I spent 2 hours trying to make TTM_WINDOWFROMPOINT handler
   work and I don't have more time to waste on this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 23:23:46 +00:00
Vadim Zeitlin
00c4e8974d I think I finally fixed activation behaviour under MSW - now focus is not given
to random window after you switch to/from a frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:44:16 +00:00
Vadim Zeitlin
f1df09276c 1. wxWizard supports setting images for each page, sample updated to show it
2. wxLogGui now uses a special dialog instead of a wxMsgBox
3. wxComboBox doesn't limit the text to its size under MSW
4. removed windows.h from dummy.cpp because I think it's unneeded


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:26:25 +00:00
Robert Roebling
d3a809c7dc More life in wxPlot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 18:09:59 +00:00
Robert Roebling
846e1424e2 A no-change for scroll events.
Added y-axis to wxPlot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:18 +00:00
Václav Slavík
eaf40b230e generic wxFileDialog now stores customizations to registry/dotfile if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:11 +00:00
Václav Slavík
2173065452 icons for generic file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:39:36 +00:00
Robert Roebling
981b25083e Add draft wxPlotWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 19:56:42 +00:00
Václav Slavík
cefc49fd8a file dialog now remebers list/report and hidden files settings, displays icons for all known file types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:41 +00:00
Václav Slavík
e0c734faa5 wxFileDialog's report/list view icons changed to some visually more different
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:10 +00:00
Robert Roebling
cf3da716f6 image to bitmap rewrite,
ViewStart() renamed GetViewStart()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 20:29:01 +00:00
Vadim Zeitlin
0de868d9dd fixed refresh problem with holidays in wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 19:12:47 +00:00
Guillermo Rodriguez Garcia
6f4968e281 Fixes from Mumit Khan to allow DLL compilation; most fixes related to
missing WXDLLEXPORTs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 00:55:05 +00:00
Vadim Zeitlin
674ac8b919 1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
2. wxWindow::Create() always takes a wxValidator parameter, even if
   !wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
   removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Vadim Zeitlin
479cd5de40 more fixes to compilation warnings from HP-UX build log. About 30% more to go
<sigh>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:35:04 +00:00
Vadim Zeitlin
bc385ba9eb 1. corrections for compilation of the wxBase apps with wxApp
2. wxCAL_NO_MONTH/YEAR_CHANGE styles implemented, cosmetic corrections
3. attempt at BC++ compilation fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:51:24 +00:00
Vadim Zeitlin
4f6aed9c6a 1. wxDateTimeHolidayAuthority class for calculating the holidays added
2. wxCalendarCtrl adjustments and some new features


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:17:55 +00:00
Vadim Zeitlin
0185cd0978 added support for several new events in wxCalendarCtrl: clicking on week
days in the header, double clicking


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:21:42 +00:00
Vadim Zeitlin
882a8f40e2 wxCalendarCtrl works under MSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 23:34:18 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Vadim Zeitlin
2ef31e80ee 1. some minor compilation fixes in datetime.cppm
2. implemented wxTreeCtrl::Insert(size_t index)
3. draft of wxCalendarCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:28:20 +00:00
Robert Roebling
f2593d0dda Calling a Refresh() before the window is created no longer
gives an assert. Nothing will happen.
  Added wxTreeCtrl::InsertItem( paret, before, ... ),
  Correct some places with incorrectly indented code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:08:04 +00:00
Robin Dunn
0656d2e68d Fixed wxSplitterEvent to set it's id to be the splitter window's id so
events can be caught correctly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:12:34 +00:00
Václav Slavík
fed628b632 added default ctor for wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:53:32 +00:00
Vadim Zeitlin
470caaf9df small cosmetic fix for wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 14:15:23 +00:00
Vadim Zeitlin
c61f4f6dbd 1. wxFileDialog patch for multiple selection applied (with some small changes),
added demo for it in the sample and documented
2. wxMimeTypeManager works a bit better under Windows (doesn't ignore the
   extensions without filetypes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:48:45 +00:00
Vadim Zeitlin
9ec64fa758 wxTreeCtrl has colours and fonts too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 13:18:14 +00:00
Vadim Zeitlin
0530737d1e generic wxListCtrl colour/font setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 10:43:35 +00:00
Vadim Zeitlin
95724b1aa2 Rotated text patch from Hans-Joachim Baader (with some corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:35:27 +00:00