Václav Slavík
47b378bd88
removed extra semicolons (patch #1700459 ; fixes compilation with gcc's -pedantic flag)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Václav Slavík
834f138686
fixed wxDB compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 21:31:20 +00:00
Chris Elliott
5baaee7c07
fix SF bug 1602033
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 13:16:38 +00:00
Vadim Zeitlin
c4704dc271
fix conflict with BOOL definition in X11/Xmd.h (bug 1592325); also unified all different BOOL fixes in a single one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 12:01:37 +00:00
Julian Smart
fcdc9f6e1f
Mac wxODBC fix from Jose' Cruanyes Aguilar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:55:20 +00:00
Vadim Zeitlin
f24a3804a8
do not include <windows.h> directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:35:55 +00:00
Vadim Zeitlin
9eb11d19b1
escape special SQL chars in where clauses (patch 1204728)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:49:37 +00:00
Vadim Zeitlin
6c1465efb7
allow customization of individual grid lines appearance (patch 1496015)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Julian Smart
7eeba5114c
Applied patch [ 1304191 ] support for MEMO fields
...
Francesco Montorsi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 13:15:04 +00:00
Mart Raudsepp
90e572f1e5
Spelling fixes from Andreas Mohr (patch #1360064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Julian Smart
e716b9bee1
Applied patch [ 1286701 ] fix for compiling odbc with MS VC8 on x64
...
also define SQLTCHAR for DMC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-16 11:03:53 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Vadim Zeitlin
11bfe4bfdc
allow SQLDriverConnect() to open the dialog asking the user for additional info by passing it a (potentially) non NULL HWND (patch 1092583)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 22:57:15 +00:00
Julian Smart
c497d0b212
Applied patch [ 1183157 ] Compilation with GCC 4.0
...
by Michal Cihar. Also added typedef for SQLINTEGER in built-in
iODBC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:45:32 +00:00
Michael Wetherell
43e8916ff3
Documentation fixes, patch 1179223 by Andreas Mohr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:34:30 +00:00
Julian Smart
cf0cf17b00
Compile with builtin ODBC in GTK+ ANSI mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 14:32:07 +00:00
Włodzimierz Skiba
2ecf902bc8
Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 16:18:31 +00:00
George Tasker
2889677e28
Fixed unicode builds that were not on MSW
...
Added dbmsFutureX to the database enumerations to allow for adding support for new databases between releases of wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 14:40:05 +00:00
George Tasker
580820e398
Buffer overrun fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 14:37:42 +00:00
Włodzimierz Skiba
16cba29d3a
Warning fixes for MinGW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:48:22 +00:00
Jouk Jansen
13973396cb
Committing in .
...
Updates for OpenVMS
Modified Files:
wxWidgets/setup.h_vms wxWidgets/include/wx/db.h
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 07:47:40 +00:00
George Tasker
5f72522e58
Implemented a fix to allow Unicode builds to work with MSACCESS. This fix should be tested against other databases also to ensure that the determination of the type to be used for character strings correctly finds that right type in unicode mode for other DBs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 19:22:37 +00:00
George Tasker
215a0070c1
Firebird DB support added. Basic testing is done, and appears to work fully. Need real users to test the additions please
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 00:33:09 +00:00
Ryan Norton
f110f39530
[ 955006 ] wxDb query with column information (modded to overload instead of creating a new function)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 20:32:34 +00:00
George Tasker
e4e4557315
Unicode support
...
Several error conditions when connecting to databases are corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 21:31:12 +00:00
Włodzimierz Skiba
1b941f2d31
Warning fixes for OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Włodzimierz Skiba
68379eaf0a
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 12:56:07 +00:00
Václav Slavík
7e559cd8f4
updated license info: Remstar gace permission to change it to wxWindows License with no strings attached
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 11:49:18 +00:00
Vadim Zeitlin
8b1c2cf0c2
corrected DBErrorList DLL export declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 21:52:14 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
George Tasker
0907ea9c58
[SF#789459] Add support for connection strings. The patch originally submitted was not comprehensive enough to use for the connection caching, so a significant number of additional changes were added to support opening a connection with a connection string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 19:41:03 +00:00
George Tasker
f3df29e3f6
SQL_C_BLOB was getting #define'd incorrectly if there was not already a definition
...
The wxDb::Open() function that takes a wxDbConnectInf() now has a second optional parameter 'failOnDataTypeUnsupported' that defaults to TRUE to maintain current behavior. This allows users to specify FALSE if they want to try to continue
Reformatting of some text, and removal of old commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:07:37 +00:00
Julian Smart
bfe5de8665
Applied patch [ 827399 ] sqltypes.h included without windows.h under Borland
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 20:52:43 +00:00
George Tasker
981cf2aadb
Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE keeping current functional behavior intact)), that will allow the user to override whether a call to getDbInfo() should fail immediately if a data type request reports back that it is unsupported/unavailable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 14:44:50 +00:00
Julian Smart
c27be5db0b
Added SQLTCHAR for non-Windows platforms, and added missing
...
wxFputs to wxchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 10:59:14 +00:00
Václav Slavík
0bdb08e7ef
builtin iODBC build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 12:45:34 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
George Tasker
f157ad0815
Incorrect placement of the '*' in the line "const wxChar* WXDLLIMPEXP_ODBC". It should be "const wxChar WXDLLIMPEXP_ODBC *"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 18:56:58 +00:00
Václav Slavík
bb41dcbe3a
moved DB classes into wxODBC library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 19:14:54 +00:00
Václav Slavík
190869b2f5
compilation fix for gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 16:27:21 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Julian Smart
f080251d92
Reverted the warning fix since it breaks MinGW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:33:17 +00:00
Julian Smart
a9fa99ad9e
Fixed compile warning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 16:08:40 +00:00
Julian Smart
f7556ff05f
Removed old grid code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:50:10 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Julian Smart
9f4de2dcf8
Applied patch [ 566816 ] adds xBase type for Sequiter's SQL/ODBC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 12:43:07 +00:00