Commit Graph

6360 Commits

Author SHA1 Message Date
Vadim Zeitlin
a95e38c034 1. wxGrid row can't be resized to less than minimal height
2. memory leaks fixed in wxHashTableLong
3. and in wxGrid
4. changed newgrid sample to use char buffers
5. fixed double clicking owner-drawn buttons
6. compilation fix in enhmeta.cpp for !wxUSE_DND
7. bug introduced earlier today in wxGridCellAttr::GetEditor() fixed
8. bool renderer/editor now look as good as I may ever make them look
   good under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 00:58:11 +00:00
Vadim Zeitlin
bc9027cc74 menu sample added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 23:37:09 +00:00
Vadim Zeitlin
6d072a854f used in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 23:07:48 +00:00
Robert Roebling
bdad4e7e02 Various changes due to OGL and glcanvas having changed
position.

  Had to butcher Vadims system header patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:27:16 +00:00
Robert Roebling
69e9bc09b8 OGL: misc.cpp clashes with misc.c frim iODBC, therefore
added oglmsc.cpp instead. misc.cpp should be removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:13:42 +00:00
Robert Roebling
3ca6942f6a typo in plot.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:47 +00:00
Robert Roebling
335258dcdd get opengl samples going again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:17 +00:00
Vadim Zeitlin
77c4358743 added a note about where to find makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:24:07 +00:00
Vadim Zeitlin
d81a8f2ece created 'how to add a sample' technote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:22:41 +00:00
Vadim Zeitlin
25d0821b7f created tech note directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:22:22 +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
66eca538a0 Full-screen dragging fix (GC setting)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:09:39 +00:00
Vadim Zeitlin
831243b127 asserts in wxGridStringTable corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:21:00 +00:00
Vadim Zeitlin
c733b2224f patch for using system libz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:08:20 +00:00
Vadim Zeitlin
641f5461b2 IMPLEMENT_DYNAMIC_CLASS() for wxMenuBar correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:02:32 +00:00
Guillermo Rodriguez Garcia
16162a64d6 DrawButtonFrame was a bit wrong because it was ignoring COLOR_3DLIGHT;
fixed now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 16:39:22 +00:00
Julian Smart
afff720b28 Fixing commit problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 15:01:51 +00:00
Guillermo Rodriguez Garcia
47e92c4137 wxBitmapButton transparency fixed by using wxDC API at all times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 14:57:33 +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
Bart A.M. Jourquin
c443296124 remove 'extern' from IsKeyDown,... for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 10:35:30 +00:00
Bart A.M. Jourquin
1c2d49808c Restore previous ogl sources. Waiting for fix in configure system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 08:44:38 +00:00
Michael Bedward
294d195c3c Minor compilation fix for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 04:10:21 +00:00
George Tasker
4c4a393f3e Fixed the QUERY dialog so it would not crash on exit, and the COUNT button now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 01:01:01 +00:00
George Tasker
2b0b4c55aa Added a #include of wx/module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 23:58:50 +00:00
David Webster
22e90769f8 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 23:18:42 +00:00
Guillermo Rodriguez Garcia
e02567553f Beginning the thread with _beginthreadex but ending with ExitThread is not a good thing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:12:34 +00:00
Guillermo Rodriguez Garcia
19da72379f Tell is now compatible with the wback buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:05:12 +00:00
Guillermo Rodriguez Garcia
fc4b32c270 Changed to use current wxSocket flag names instead of old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:04:04 +00:00
Guillermo Rodriguez Garcia
6f505cae82 Added some safety checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:02:16 +00:00
Guillermo Rodriguez Garcia
24d24189f5 mfc not available for mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:00:19 +00:00
Guillermo Rodriguez Garcia
0141d2c9bd moved Destroy() to the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 20:58:36 +00:00
Guillermo Rodriguez Garcia
658c54003b Fixed potential bug related to clock skew when different clocks are used
for hi and lo res timing. Still to be solved where ftime or gettimeofday
are not available!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 20:57:58 +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
Vadim Zeitlin
c2bb85e9e3 added wxHashTableLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:19:36 +00:00
Ron Lee
d3cc7c6521 added missing include mdi.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 16:12:54 +00:00
Robert Roebling
589c9fff04 Commented out debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:09:09 +00:00
Vadim Zeitlin
c5145d4177 wxListCtrl uses SetWindowChange() in its OnChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:00:21 +00:00
Mark Johnson
7beec8135e Makefile.in makefile.g95 makefile.vc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 12:48:33 +00:00
Jouk Jansen
dd54fca3f3 Committing in .
Configuration for VMS

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 12:21:27 +00:00
George Tasker
bebb64f0e2 Fixed a misleading comment regarding MySQL and Postgres
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 11:27:43 +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
Unknown (MT)
cfdd3a98d8 add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:14:01 +00:00
Vadim Zeitlin
7f82eb0018 typo(s) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:52:48 +00:00
Vadim Zeitlin
477350ceb4 1. fruitless attempts to reproduce wxNotebook bug in the sample
2. multiple selection related changes in the treetest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:49:05 +00:00
Vadim Zeitlin
3f7bc32b53 1. fixed bug with MDI child frames changign state when parent frame was
iconized/uniconized
2. multiple selection emulation for wxTreeCtrl almost done


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:47:34 +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
Michael Bedward
cab472ecf9 Changed string members in BugsGridData struct to wxChar * for Borland
only and added code to BugsGridTable::SetValue() for Borland to set
string values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:27:42 +00:00