Commit Graph

25 Commits

Author SHA1 Message Date
George Tasker
2941f53242 Reformatted source to normalize spacing/indentation - no code changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 18:34:44 +00:00
George Tasker
386cd1e43b Fixed some crashing code in dialog cleanup in some exceptional cases
Fixed memory leak
Set return codes on the modal dialogs to avoid use of uninitialized values


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 11:03:22 +00:00
George Tasker
80ccc1282c Subqueries for MySQL are now not performed, as MySQL does not support subqueries
Compile time warnings with GCC eliminated.

Call to wxDbCloseConnections() was missing from the frame ::OnCloseWindow() function, so that the connections to the database were not properly CLOSEd, they were only marked as FREE in the DB connection cache.

Several crash/segfault problems have been corrected

New functions added under the FILE menu for RECREATE TABLE and RECREATE INDEXES


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-01 18:47:04 +00:00
George Tasker
c5a94cbde9 Updated to use the new wxDb/wxDbTable accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 11:28:22 +00:00
George Tasker
5ceaa05a92 Sample was missing the call to SQLFreeEnv() required to release the ODBC environment handle memory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 12:45:26 +00:00
George Tasker
21536be6cc Now uses wxDB_XXXX naming for constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 22:35:03 +00:00
George Tasker
3703308721 Adjusted sample to reflect class name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 12:32:28 +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
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
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
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
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
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
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
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
Robert Roebling
0d2a2b601b New DnD and Clipboard code
Rearranged wxApp to do the same in the
    same order upon program start-up on
    wxGTK and wxMSW
  ODBC tweaks
  exchanged wxDataFormat for wxIPCFormat


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-19 16:33:16 +00:00
Robert Roebling
f6fcbb63d0 image update
listbox fix
  iODBC fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-12 17:53:45 +00:00
Unknown (UG)
8853b9a80e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-08 13:15:42 +00:00
Julian Smart
025e88c50b Added fractal, bombs samples; removed global app variable from dbtest.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-31 10:54:41 +00:00
Robert Roebling
7e616b1050 Guess what: ODBC updates and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-30 23:30:49 +00:00
Julian Smart
1fc5dd6f8e Updated the Remstar ODBC files, got the db sample compiling; added Freq and SubString
to wxString


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-30 17:40:53 +00:00
Julian Smart
108106cfe7 Added ODBC database classes and sample from RemStar (sample needs work for wxWin 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-28 09:43:44 +00:00