Commit Graph

64 Commits

Author SHA1 Message Date
George Tasker
69a2b59d53 Removed TABs that had gotten in to the source
Added more feature tests to the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 13:48:04 +00:00
George Tasker
5d59e67a7b Added compile-time check to be sure that wxUSE_ODBC is set to 1 before attempting to compile this program, and error out telling the user to change the setting if they want to compile this program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:32:33 +00:00
George Tasker
3f030b4804 Added buttons to allow a dump of DB DATATYPES and DB DIAGNOSTIC info via wxLogMessage() to the sample app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 13:12:36 +00:00
George Tasker
ea24eeb2db Fixed problems which prevented creation/recreation of tables with MSAcces
General cleanup of code in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 00:58:09 +00:00
Julian Smart
c60f5c6517 Removed references to xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:31:41 +00:00
George Tasker
beb0d04d04 Change demo to not try to drop the table when it thinks it is creating it for the first time - per Paul Gammans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-15 13:08:39 +00:00
George Tasker
3fe813a9ad Experimental BLOB code added - set wxODBC_BLOB_EXPERIMENT to 1 in dbtest.h if you want to help work on this
Added some more test functions that have no GUI hook yet, but will be used in wxBase buidls eventually
Fixed handling of checks for TableExists() and TablePrivileges() to use the (HOPEFULLY) now working functions.
Better exception handling when the .CFG file does not exist
Better reporting of database errors shown by example


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 14:20:56 +00:00
George Tasker
099287b916 Added listdb to the list of object files that must be created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-13 15:06:11 +00:00
Julian Smart
1ddfb726b2 Updated VC++ project files for making DLL-based samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 17:50:06 +00:00
George Tasker
24e2b35da2 Added two more lines of c_str() calls for GCC compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-05 23:26:46 +00:00
George Tasker
d3358961db More changes to use the latest wxDb/wxDbTable method enhancements
More Unicode additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-04 16:01:33 +00:00
George Tasker
049977d042 Massive cleanup of the code.
More Unicode support added (though untested).
Added TONS of comments
Changed code to demonstrate the new wxDbConnectInf class
ODBC environment handle now managed via the wxDbConnectInf class
Fixed bug where editing a displayed record would not save if the user name was changed.
Other minor bug fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 17:52:58 +00:00
Gilles Depeyrot
1811a0927b ignore CodeWarrior build directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 21:25:08 +00:00
George Tasker
94613352b5 Changed a couple lines to intialize member variables correctly to match db/dbtable type changes to wxString from char *
Spelling typos fixed
All hardcoded text strings and characters now inside wxT()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 20:17:15 +00:00
George Tasker
973f253905 Fixed double deletion of a dialog in the effect of a failed connection to the datasource
Fixed call to TablePrivileges() in a commented out piece of code to use the correct parameters, in case someone uses it for an example


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-22 00:28:35 +00:00
Vadim Zeitlin
52860855bf fix from the main branch which replaces delete with the (proper) delete []
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 13:26:16 +00:00
Julian Smart
f485492a1e Added VC++ project files (seems logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 16:59:34 +00:00
Bryan Petty
3ca6a5f046 second merge of the 2.2 branch (RL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +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
George Tasker
3f755e2d96 Modified to use the newly defined names for functions/classes/structs defined to match the wxWindows conventions for naming (primarily prefacing these items with wx).
Fixed program so it would not crash when using FILE|EXIT
Fixed widget alignment issues


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:09:42 +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
Vadim Zeitlin
48fe83743a makefiles changes (@top_srcdir@ adjusted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:31:18 +00:00
Julian Smart
56b79cb98d Some but not all compile fixes for typetest (VC++ 1.5); added datetime.cpp
to 16-bit compile list; edited isql.h for 16-bit (but not right since doesn't
link)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 15:29:45 +00:00
George Tasker
e70e8f4cf3 Fixed code that did not work with Postgres
Removed all tabs, and replaced with spaces accordingly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:18:40 +00:00
Guillermo Rodriguez Garcia
c9c436eb70 Changed \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:14:13 +00:00
Guillermo Rodriguez Garcia
870ff2b13d Mumit Khan's fixes to allow DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 02:59:25 +00:00
Robert Roebling
e909371890 makefile updates,
minor doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 19:28:15 +00:00
Robert Roebling
c4fda16bb0 Added a few non-threads compile fixes,
Removed strcasecmp defines from db.cpp and dbtable.cpp,
  Added more stand-alone makefiles,
  wxDropSource::DoDraDrop()'s return values works now
    (wxDragNone, -Copy, -Move).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:31:10 +00:00
George Tasker
e3baecd7d6 wxEndBusyCursor() was being called, even when it was not needed, causing a wxAssert in debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:55:05 +00:00
George Tasker
a968c19a82 GUI display problems fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 16:44:45 +00:00
George Tasker
8493118f58 Column name IS_DEVELOPER in index was shortened to IS_DEV to match the column name in the table. These names were shortened to allow use by dBase which only allows 8 character column names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 15:26:56 +00:00
George Tasker
d433a26fd4 Cleaned up a compile warning on the MAX_PATH definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 15:06:13 +00:00
Robert Roebling
79144b8a47 More makefiles, distrib things,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 09:44:18 +00:00
Robert Roebling
e115e77131 Applied a few patches,
Put some life into iODBC again,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 13:32:40 +00:00
George Tasker
3806d8a9f6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 11:06:20 +00:00
George Tasker
65d7ddc4eb Fixed the GUI so it will now work correctly when widgets are clicked/used. This demo program was not really even usable, although the database portions worked correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 11:04:06 +00:00
Robert Roebling
a533f5c122 wxChoiceDialog fix.
Distribution and build things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-29 23:16:45 +00:00
Robert Roebling
5a92d200e1 Added some WINE things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-07 21:17:21 +00:00
Robert Roebling
d7431b43f4 Ignore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-07 19:44:52 +00:00
Vadim Zeitlin
36a0ce39f2 removing (finally) autogenerated files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 10:00:54 +00:00
Vadim Zeitlin
ff684c98ad slightly updated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 09:19:22 +00:00
Vadim Zeitlin
cc03361d7a re-readding makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 16:30:12 +00:00
Vadim Zeitlin
437e8b3306 re-removing Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 16:22:37 +00:00
Vadim Zeitlin
88ac883a0d new makefiles (part I)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:32:12 +00:00
Vadim Zeitlin
29f7914424 old makefiles removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:13:27 +00:00
Robert Roebling
8fc613f14f Solaris compilation patches
dbtest now works a little


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 12:44:10 +00:00
Julian Smart
dbda9e86f0 Added more makefiles; fixed some samples for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 16:00:23 +00:00
Julian Smart
e306597309 Removed lots of OnClose functions; doc'ed OnCloseWindow better;
MM_... -> wxMM_...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Julian Smart
48d1144bc4 Renamed .nt makefiles to .vc and factored them out; made DND sample compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-24 19:13:55 +00:00
Robert Roebling
5b077d483b changed make_int, make_exp .. to wxmake_int..
fixed small listbox thing
  fixed layout probs of wxFrame
  small DnD updates
  small DialogEd optical correction
  small ODBC updates
  added wxListBox DClick Text in controls sample
  updated wxGTK.spec


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-21 19:02:18 +00:00