Commit Graph

22838 Commits

Author SHA1 Message Date
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
David Elliott
28b22cccde Wrap within #if wxUSE_NOTEBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 19:18:57 +00:00
George Tasker
e9ed92a2fd [SF#777752] Applied a slight variation of this patch, pulling out the code that set the CbValue for the column from ::bindParams() to a new private function names ::setCbValueForColumn(). ::bindParams() now calls this function, as do both version of ::SetColNull()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 17:16:05 +00:00
George Tasker
b26e2b55ca [SF#851487] wxDb::Catalog() function was attempting to determine if the table that was being accessed was different than the last table being accessed BEFORE the table name of the current table was read in, causing an issue when more than one table was present in the database
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:49:49 +00:00
George Tasker
35ac11045c Indentation formatting fix. No source code affected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:47:17 +00:00
George Tasker
44ca6244ea Removed some sample test data that I had left hardcoded in the source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:37:13 +00:00
George Tasker
a21c0aaa95 Added wxODBC change notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:29:41 +00:00
George Tasker
76ea166498 Use of blobs with a binding to a SQL_C_BINARY type column definition was not working correctly. The code should now work for SQL_C_BINARY and SQL_C_CHAR column bindings, though I have only tested with SQL_C_BINARY. The original code will be used if the column binding is not SQL_C_BINARY or SQL_C_CHAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:22:25 +00:00
George Tasker
d2129c82bf 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
wxDb::getDbInfo() function will now not treat SQL_SUCCESS_WITH_INFO as a failure when checking for supported features.
Reformatting of some text, and removal of old commented out code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:10:27 +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
George Tasker
dd5b579ceb wxODBC_BLOB_SUPPORT changed to just being a #define.
BLOB support is on by default


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:03:23 +00:00
George Tasker
ae883e9aee Fixed assert warning if the listbox has no elements, we shouldn't try to set the selection to the first line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 13:59:18 +00:00
Julian Smart
ace1785b15 Added window styles to wxToolBar handler.
Allow wxScrolledWindow to have children.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 09:08:36 +00:00
Robin Dunn
41e2b43ea4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 02:07:04 +00:00
Robin Dunn
79fccf9d17 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:51:41 +00:00
Robin Dunn
6cfd7f95f8 More DocStr macro updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:50:29 +00:00
Robin Dunn
5e2b0b9aad Oops, wrong file selected. undid last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:49:06 +00:00
Robin Dunn
15817c7e82 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:45:38 +00:00
Robin Dunn
1685ca3c4e More DocStr macro updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:44:41 +00:00
Robin Dunn
d07d2bc9d0 Some docstring additions, reformats and epydoc markup.
Removed RefDoc macros, instead made all the normal Docstring macros
take an extra parameter to be used for the optional details postion of
the docstring.  The intent is that the docstrings put in the generated
.py files checked in to CVS and delivered in releases will be only a
paragraph or two, but when used for generating the epydoc reference
docs they can optionally contain a lot more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:17:48 +00:00
Robin Dunn
0b9c95225e Check exit code or commands and exit with that code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:12:36 +00:00
Robin Dunn
ecd216fc87 made wx.Joystick stub (for platforms without joystick support) be
unicode compatible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:08:37 +00:00
Robin Dunn
2693507fda Made wx.Locale() make an unitialized locale while still allowing
wx.Locale(language) to still work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:07:57 +00:00
Robin Dunn
e70457844a Fixed compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 23:03:15 +00:00
Dimitri Schoolwerth
9945c703c7 removed tabs; minor cosmetic cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 20:41:43 +00:00
Dimitri Schoolwerth
9134af5b50 made font a non-pointer; code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:44:06 +00:00
Robin Dunn
1a6bba1e93 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:43:56 +00:00
Stefan Csomor
6076b569f0 not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:25:40 +00:00
Stefan Csomor
19de24fe0c remove unneeded vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:24:07 +00:00
Julian Smart
496e80e521 Added wxUSE_MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 18:08:27 +00:00
Robin Dunn
1c0f361be2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 17:59:43 +00:00
Stefan Csomor
c5d5c231b8 added wxUSE_MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 16:51:02 +00:00
Julian Smart
f0003d294a wxDocMDIParentFrame needs a default constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 14:35:51 +00:00
Stefan Csomor
f83b67612b added correct (structure instead of content) bounds for window creation also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 13:17:56 +00:00
Stefan Csomor
e1f91359ab xcode commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 12:58:06 +00:00
Kevin Ollivier
5f254b1f3c Restore proper set and kill focus handling for user pane controls under wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 05:26:24 +00:00
Robin Dunn
60a71c29fd Added missing Detach method wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 00:40:49 +00:00
Robin Dunn
51b2943a50 Use self in DC method signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 23:10:07 +00:00
Robin Dunn
d3e8330aa3 Add wxTimerEvent to Events category
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:54:35 +00:00
Robin Dunn
313feadc84 Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
timer as the event object in wxTimerEvents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Robin Dunn
0fab3a5a1a Avoid duplicated definition errors for wxLongToLongHashMap when both
grid.h and fs_zip.h are included.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:50:28 +00:00
Julian Smart
ae360bed6e Don't show wrong shade of grey when disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 10:53:53 +00:00
Vadim Zeitlin
7d2c94cc8b renamed simplified chinese translations file from zh to zh_CN; updated zh_TW with latest translations from PAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 08:21:12 +00:00
Vadim Zeitlin
bf5d9fa4ea fixed wxFileDataObject in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:52:43 +00:00
Vadim Zeitlin
7fa4dc1cfc (blind) fix for gcc 3.4 warning for an always true comparison in an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:35:36 +00:00
Stefan Neis
23bf401875 Remove duplicated typedef depending on header file version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 17:54:00 +00:00
Stefan Neis
0e70f525fa Added missing "const" for operator== and operator!=.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 17:30:57 +00:00
Julian Smart
7d59475e80 Fixed size problem due to wxMac window implementation difference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 16:30:26 +00:00
Stefan Neis
ba2de0a144 Added missing const for comparision operators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 15:03:10 +00:00
Stefan Neis
76d81b4d11 Applied patch [ 929275 ] [wxOS2] Missing title bars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 14:38:45 +00:00