Commit Graph

7827 Commits

Author SHA1 Message Date
George Tasker
5cf34cf07e wxDbConnectInf is now converted to a class. Fully backward compatible with all version except the last checkin I did (changed datatypes back to what they were before for in this class). Class now has all accessors and member functions. Functions added to remove need for calling SQLAllocEnv() and SQLFreeEnv().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 17:50:45 +00:00
George Tasker
7d8c3dbaba hstmtUpdate handle was not always being freed in all situations
General gcc changes in the Printf() statement when using wxStrings as params to Printf()
General code clean up, correcting comments, added more comments tagging where changes for ODBC 3.0 support needs to be added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 17:50:05 +00:00
George Tasker
942e67c3a3 wxDbConnectInf is now converted to a class. Fully backward compatible with all version except the last checkin I did (changed datatypes back to what they were before for in this class). Class now has all accessors and member functions. Functions added to remove need for calling SQLAllocEnv() and SQLFreeEnv().
General gcc changes in the Printf() statement when using wxStrings as params to Printf()
General code clean up, correcting comments, added more comments


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 17:48:06 +00:00
Vadim Zeitlin
28a156b14c fixed previous commit (no changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 14:53:12 +00:00
George Tasker
7335902d0f Spelling typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 14:29:38 +00:00
Vadim Zeitlin
0cbe5ee3a9 applied patch 103575 (more efficient wxString comparison)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 13:42:47 +00:00
Gilles Depeyrot
75e824e8bc ignore CodeWarrior build directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 12:14:09 +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
Gilles Depeyrot
288d4f8b91 minor corrections for CodeWarrior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 20:48:54 +00:00
Vadim Zeitlin
03424b1b89 applied patch #103444
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 16:53:08 +00:00
Vadim Zeitlin
ffdd3c9861 added missing GetEventHandler() (patch #103561)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 15:56:30 +00:00
Jouk Jansen
343a06a58b Committing in .
Modified Files:
 	wxWindows/src/common/dynlib.cpp

 RTLD_GLOBAL is not allowed in the second argument of dlopen on True64-Unix.

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 13:22:14 +00:00
Jouk Jansen
c8159c3d03 Committing in .
Modified Files:
 	wxWindows/configure

 Compaq's preporcessor on True64-Unix does not allow A #include with the "#"
 on another position than the first.

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 13:19:57 +00:00
David Webster
a5a9cc2ab0 latest module definition file for OS/2 .dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 05:05:56 +00:00
David Webster
8546f11e49 Redfine some events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 05:04:27 +00:00
George Tasker
645889ad25 Huge cleanup of the code. Reformatting, spelling fixes, standardizing on wxWindows conventions, etc.
Changed the couple lines of code required to work with checkins of the new ODBC classes that use wxStrings.
Fixed a ton of memory leaks
Demo still crashes on exit though - this problem has exited for nearly a year though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 20:24:44 +00:00
George Tasker
4fdae9972d All char, char *, and char arrays changed to use wxChar or wxString. 99% backward compatability maintained
Cleaned up code to remove duplicate blocks from multiple functions
Added better handling of failed creation of wxDbTable/wxDb objects
Moved code out of class constructors to a private function called from within the constructor
Moved destructor code to a cleanup() function so it could be called from within the constructor if the constructor failed.
Added wxDb::ModifyColumn() function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 20:21:52 +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
Gilles Depeyrot
548dffb11f CodeWarrior project for Classic Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 20:10:49 +00:00
Vadim Zeitlin
85664da6de added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 16:12:21 +00:00
George Tasker
ed2ec17c54 Changed declaration of TREE events from being in both treectlg and treectrl to having it just once in treebase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 15:27:16 +00:00
Vadim Zeitlin
1724ca8b5c small fix for control positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 22:51:10 +00:00
Vadim Zeitlin
0c6b0c6668 Removed obsolete files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 22:46:29 +00:00
Vadim Zeitlin
4161828546 and another...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:31:15 +00:00
Vadim Zeitlin
71b9ed15f5 argh... yet another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:25:56 +00:00
Vadim Zeitlin
0c85071392 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:21:59 +00:00
Vadim Zeitlin
71499aafed oops... fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:19:06 +00:00
Vadim Zeitlin
2e4df4bfaf 1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
2. moved ~50% of the event types in their own headers/sources from event.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Vadim Zeitlin
6164f93ca2 event handling seems to work again, new sample (event) added and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 16:00:00 +00:00
Vadim Zeitlin
901ed91ce1 compilation warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 15:58:20 +00:00
Vadim Zeitlin
ce83033f35 wxDC scaling fix patch (Derry Bryson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 15:57:09 +00:00
George Tasker
8a16a98e59 Destructor for wxMimeTypesManager was deleting its member m_impl without checking if it was already NULL or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 14:50:02 +00:00
George Tasker
dca2d56ff5 Destructor for wxFileType was deleting its member m_impl without checking if it was already NULL or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 14:48:57 +00:00
Vadim Zeitlin
37ed3ae338 added test for vertical gauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 12:33:16 +00:00
Vadim Zeitlin
61f04363db support for wxGA_VERTICAL in wxGauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 12:22:04 +00:00
David Webster
402e2f7cf8 Ownerdrawn stuff for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 05:33:10 +00:00
David Webster
d8fcb5e835 Add a Get and Set for an OS/2 PS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 05:32:23 +00:00
Gilles Depeyrot
c0cd186f82 changed argument types (replaced long with wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:26:23 +00:00
Gilles Depeyrot
30b7213465 corrected indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:22:50 +00:00
Gilles Depeyrot
e437cc535e added missing return type (implicit int no longer accepted by compilers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:17:27 +00:00
Gilles Depeyrot
9ec3cd2d38 removed unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:15:53 +00:00
Gilles Depeyrot
36195a44c3 added test for __MACH__ for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:06:57 +00:00
Gilles Depeyrot
f58f51637f added missing return type (implicit int no longer accepted by compilers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:02:45 +00:00
Gilles Depeyrot
3c4f84521e added tests for __MACH__ to compile under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:00:18 +00:00
David Webster
7c697725f1 OS/2 compile error fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 15:38:29 +00:00
George Tasker
f0ded96ffb Allow MDI children to have a non-default window style passed down to them. Previously only default frame styles were possible, even when a valid style was passed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 14:14:03 +00:00
David Webster
e464c180c4 Compile error fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 06:07:50 +00:00
David Webster
437a79a631 XPM updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 06:06:22 +00:00
Julian Smart
83a4ad53fa Corrected DoBlit code to use offset into mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-29 23:05:01 +00:00
George Tasker
8658ef93e3 The new SORT parameter for SelectViewType() and SelectDocumentType() sorted the displayed list, but the view/template returned as the one selected was corresponding to the template from the original unsorted list of templates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-29 23:01:21 +00:00