Commit Graph

6398 Commits

Author SHA1 Message Date
Michael Bedward
3c79cf49ec Added call to CalcDimensions() at end of wxGrid::Init so that you can,
for example, put a grid in a dialog, size it and then call CreateGrid
at some later stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 06:56:41 +00:00
David Webster
6dc3e5dc9c Visualge V3.0 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:19:49 +00:00
David Webster
542875a8c4 latest wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:17:55 +00:00
David Webster
b2a81bd914 Change m_SubControls from wxList to wxArrayLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:16:19 +00:00
Vadim Zeitlin
c239a4bb76 F2 enables edit in place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 02:29:38 +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
488fe1feb6 fix for bug #29 (blank lines in GetLineText)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 00:03:29 +00:00
Guillermo Rodriguez Garcia
030d06e13f Very minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:52:01 +00:00
Vadim Zeitlin
c41ea66a5d 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
3. using wxLog() insread of WriteText() contorsions in the listctrl sample,
   show client data from events in the log messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:40:42 +00:00
Vadim Zeitlin
225fe9d6ef 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. define LVS_EX_FULLROWSELECT ourselves if compiler headers don't
3. wxSafeYield() will only reenable windows which had been enabled, not all
   windows in the application
4. selection in wxTreeCtrl is not broken after dnd operation
5. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
6. wxListEvent accessors made const
7. wxListCtrl sets client data field in generated events under MSW too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:33:15 +00:00
Julian Smart
18d2e17080 Fix to MDI to restore 3D border; kludge to OGL Studio sample to redraw
the first client frame properly (need wxWindow::Redraw in wxWin API?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 20:18:09 +00:00
Guilhem Lavaux
802e2f34c1 Added a missing wxStream_NOERROR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 19:05:11 +00:00
Guilhem Lavaux
775c1df40f Cut out some duplicate symbol in datstrm.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 18:52:31 +00:00
Robert Roebling
b0e282b34d Minor optical things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 18:09:48 +00:00
Julian Smart
a368a8c4a8 Added missing SetToolBitmapSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 17:17:43 +00:00
Julian Smart
f42c2a7a62 wxToolBarSimple fix + OGL studio sample compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 16:26:20 +00:00
Julian Smart
dc1efb1d9f Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
streams; fixed wxSP_... ids that clashed with wxTextCtrl; added generic GetPixel implementation for GTK/Motif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 15:04:24 +00:00
Ron Lee
07eb77a690 configure changes, for wxBase and wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 12:20:22 +00:00
Michael Bedward
b0c8fc357c Several ugly hacks to get the bugs table and virtual table demos to
work under wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 07:42:17 +00:00
Ron Lee
5c0e67b250 added wxBase & examples & various tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 01:15:08 +00:00
George Tasker
e16143f6c7 Reverting to 1.30
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:43:40 +00:00
George Tasker
ea5d599df3 Reverting back to 1.35 as 1.36 does not work with all data sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:35:28 +00:00
Vadim Zeitlin
66b3609e6a mwxLog was leaked - fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:20:45 +00:00
Vadim Zeitlin
ab70fb1de1 fix for wxSplitPath(foo/.filename)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:08:14 +00:00
Vadim Zeitlin
857eb08152 wxLogWindow now uses standard menu ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:01:44 +00:00
David Webster
a7ef993c98 More wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:43:03 +00:00
Vadim Zeitlin
122603f10f typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:42:18 +00:00
Vadim Zeitlin
b94ae1ea10 1. wxGCBoolRenderer looks better under MSW
2. wxGCBoolEditor too
3. only alnum keys start editing in-place
4. some memory leaks in wxGrid plugged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:38:00 +00:00
George Tasker
2f74ed2859 ::IsNumber() returned FALSE if a + or - sign was the first character of the string. "-123" should be considered a number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:11:53 +00:00
Ron Lee
6be0044cf2 tweaked debian-dist for building wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 21:45:01 +00:00
Robin Dunn
a5777624e2 fallback to string changes for number and float editors
Fixes for DrawGridSpace (it needed moved over/up by one pixel, at
least for MSW)

Editor left active when resizing rows/cols


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:27:08 +00:00
Vadim Zeitlin
fc3398f8e0 removed the goto provoking HP-UX compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:23:23 +00:00
Vadim Zeitlin
b8b9762a1b fixed (?) race condition in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:04:31 +00:00
Vadim Zeitlin
829f05419d some more cosmetic fixes for wxLogTrace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:54:53 +00:00
Vadim Zeitlin
54a8f42b9d typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:50:56 +00:00
Vadim Zeitlin
0131687bb5 wxLogTrace doesn't give messages with two 'Trace' in the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:50:12 +00:00
Stefan Neis
cb105ad434 Improved wxMotif's look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:26:47 +00:00
Stefan Neis
69d8f6124d Improved checkmark on wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:53:42 +00:00
Robert Roebling
809934d22a #ifdeffed new paint clipping :-(
Moved replacement code to printing preview canvas where
    its effect was particularly useful.
  Completed GC pooling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:47:43 +00:00
Vadim Zeitlin
c52a6847be using LDFLAGS for the linker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:44:56 +00:00
Julian Smart
e06b95691f Misc small changes, some for VC++ 1.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:54:18 +00:00
Vadim Zeitlin
9c4ba61452 fall back on text value if no long/double value could be retrieved from the cell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:15:46 +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
Vadim Zeitlin
8def743e8f fix for (too big) combobox height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:45:36 +00:00
Vadim Zeitlin
d2d93fdde4 command events are not redirected to focused window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:38:25 +00:00
Vadim Zeitlin
d1f82b073f fix to allow non-extension based template choosing to work from Vegh Janos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:32:14 +00:00
Sylvain Bougnoux
fe482327a5 Add exemple for redirecting cout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 13:17:14 +00:00
George Tasker
a40860394c TablesInUse did not have DeleteContents() set to TRUE in __WXDEBUG__ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 12:31:59 +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