Commit Graph

8837 Commits

Author SHA1 Message Date
George Tasker
f21b2fd89d Added code to show off wxDbGrid (contributed by Paul and Roger Gammans) in wxUSE_NEW_GRID is set to 1. If grid is not enabled, the program does not compile in the wxDbGrid portion of the sample
Fixed a bug in the SetColDef() descriptions that had the Contribs column defined as a UCHAR but the SQL data type was set to be SQL_C_SHORT when it needed to be SQL_C_UTINYINT to match the size of the UCHAR data variable
General code cleanup
TRUE/FALSE changed to true/false
Now uses new wxDbLogExtendedErrorMsg() function for reporting human readable ODBC errors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:12:56 +00:00
George Tasker
fa464e825d Added wxDbGrid files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:09:16 +00:00
George Tasker
32a2907bd3 wxDbGrid additions contributed by Paul and Roger Gammans with additions/corrections from George Tasker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:08:42 +00:00
George Tasker
882fc8a922 wxDbGrid additions
Changed all TRUE/FALSEs to true/false
General code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:07:23 +00:00
George Tasker
2c257434c3 wxDbGrid additions
Changed all TRUE/FALSEs to true/false
Added wxDbLogExtendedErrorMsg() function to  retrieve human readable ODBC error information from the ODBC driver
General code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:06:09 +00:00
George Tasker
209875803d wxDbGrid additions
Changed all TRUE/FALSEs to true/false
Added wxDbLogExtendedErrorMsg() function to  retrieve human readable ODBC error information from the ODBC driver


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:05:25 +00:00
George Tasker
edca7a8205 wxDbGrid additions - Added support for ODBC date types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:04:00 +00:00
George Tasker
ffd98768ba Initialized m_startint in the constructor to avoid cloning of uninitialized value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:01:25 +00:00
Vadim Zeitlin
a3f2769e09 compilation fix for SIZEOF_WCHAR_T being undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:00:32 +00:00
Julian Smart
c862185052 Renamed project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 11:58:30 +00:00
Julian Smart
74f8d8ed0c Renamed XRC project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 11:52:51 +00:00
Vadim Zeitlin
bab1e72221 add #error for platforms with weird sizeof(wchar_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 23:22:44 +00:00
Václav Slavík
78d14f80e9 changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 22:43:51 +00:00
Václav Slavík
999d9a9f79 changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 22:18:45 +00:00
Vadim Zeitlin
447002a131 use SetForegroundWindow instead of BringWindowToTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 21:38:00 +00:00
Gilles Depeyrot
aec73dbba4 added CodeWarrior 5 projects for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:22:36 +00:00
Gilles Depeyrot
6099721bfb added OpenGL sample project for CodeWarrior 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:12:14 +00:00
Gilles Depeyrot
78c17f622d added dead-strip static initialization code option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:08:42 +00:00
Gilles Depeyrot
c00200b862 added dead-strip static initialization code option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:03:18 +00:00
Václav Slavík
298d865368 documented Kendall's change of wxHtmlWindow::LoadPage to virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 19:11:24 +00:00
Václav Slavík
75829d0c1b oops, forgot to add editlbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 19:11:16 +00:00
Vadim Zeitlin
478e6b717c applied patch 430835 (missing wxSTD breaking compilation for VC++ 5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:57:06 +00:00
Vadim Zeitlin
4c5032ccd1 applied patch 428783 (fix B32 makefiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:55:09 +00:00
Vadim Zeitlin
0d8737fdcc applied patch 431596 (fixes some crashes in wxDocView classes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:51:20 +00:00
Vadim Zeitlin
ef2992354c applied patch 424550 (fix compilation of the notebook sample in tabbed dialog mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:48:20 +00:00
Julian Smart
bc00e7155e Updates for 2.3.1; fixed syntax error in makefile.b32 but this probably
means that the 'version' fix for BC++ doesn't work (misapplied?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:43:16 +00:00
Vadim Zeitlin
40a8907605 fixed bug 418496 (wxDC::SetClippingRegion doesn't clear the previous clipping region)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:40:44 +00:00
Vadim Zeitlin
638bc56cf9 fixed bug 418766 (elapsed time not initialized in wxProgressDialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:07:10 +00:00
Vadim Zeitlin
c7f9a482ec fixed bug 419079 (wxDateTime::ParseTime() didn't find am/pm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:00:36 +00:00
Vadim Zeitlin
c4d305b7bd fixed bug 424212 (unworking close button in the progress dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:49:56 +00:00
Vadim Zeitlin
ed582841a2 1. added wxAssertIsEqual() function to be used in wxASSERT()
2. made wxTrap() public, documented it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:35:38 +00:00
Vadim Zeitlin
749b01f037 src/common
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:34:54 +00:00
Vadim Zeitlin
c8f144761c fix for crash when pressing TAB in the tree text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 15:57:51 +00:00
Stefan Csomor
9dd11f90ad delete now does remove the item in correct synch from m_datas and m_strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 09:11:45 +00:00
Vadim Zeitlin
53e3052c3c warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 02:01:54 +00:00
Vadim Zeitlin
b5299791f4 some fixes to wxSingleInstanceChecker error reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 01:56:00 +00:00
Vadim Zeitlin
7c4157904f added missing brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 00:27:50 +00:00
Vadim Zeitlin
7cbe4e7973 some missing c_str()s added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 00:21:47 +00:00
Vadim Zeitlin
9cfadba232 regenerated files with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:57:13 +00:00
Vadim Zeitlin
4f3c5f06ff implemented wxSingleInstanceChecker for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:42:59 +00:00
Vadim Zeitlin
fae9f59039 added tiny wxInitializer class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:11:15 +00:00
Kendall Bennett
38caaa61b1 Merged latest changes from SciTech code base into wxWindows CVS Tree.
Includes updates to remove Watcom compiler warnings and the latest
updates to the wxApplet code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 19:37:56 +00:00
David Webster
3febf6845f Enabling the Pop Menu fix to peek at all the command messages. Required adding a secondary DoMessage to wxApp. Some textctrl work as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:24:37 +00:00
David Webster
153b1416a4 Add support for the eventual inclusion of the single instance code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:23:14 +00:00
Julian Smart
ae090fdb7f Support for Cygwin 1.0 (thought it worked before, but...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:04:00 +00:00
Julian Smart
ee544c1741 Altered the message loop to process implicit accelerators correctly in controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 11:33:22 +00:00
Robin Dunn
6124f5c48c move the tech note to a correctly named file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 04:26:35 +00:00
Vadim Zeitlin
ed45e26357 replaced wxYield() call in PopupMenu() by a much safer wxYieldForCommandsOnly() - fixes tree ctrl bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 01:47:15 +00:00
Vadim Zeitlin
58b24a564c added wxSingleInstanceChecker test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 01:29:59 +00:00
Vadim Zeitlin
68a602fcd2 added wxSingleInstanceChecker class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 01:28:49 +00:00