Stefan Neis [Sun, 23 Jan 2000 15:39:55 +0000 (15:39 +0000)]
Added more '#pragma implementation' for gcc.
Replaced wxString[0u] by wxString[(size_t) 0]: size_t is signed for EMX,
so explicitly using '0u' causes problems.
Vadim Zeitlin [Sun, 23 Jan 2000 03:05:24 +0000 (03:05 +0000)]
1. wxMSW::wxNotebook::SetPageSize() and SetPadding() added
2. wxNavigationKeyEvent changes:
a) doesn't derive from wxCommandEvent any more
b) has a new ShouldPropagate() accessor
c) wxPanel::OnNavigationKey() changed significantly, beware
Stefan Neis [Sat, 22 Jan 2000 14:24:46 +0000 (14:24 +0000)]
SN: Replace a __WXPM__ by __OS2__ in #if deciding whether to use Unix-
or DOS-like version of mkdir.
EMX (which doesn't define __OS2__) wants Unix-like version!
Robert Roebling [Sat, 22 Jan 2000 11:14:22 +0000 (11:14 +0000)]
Fixed wxListCtrl::GetNextItem()
Fixed bug in handling wxLC_NO_HEADER,
Moved logmessage stuff out of idle_recursion protection so
that log dialogs get idle events
Vadim Zeitlin [Fri, 21 Jan 2000 21:38:51 +0000 (21:38 +0000)]
1. fixed (to test) the bug with bitmaps without masks in wxImageList
2. reorganized wxImageList a bit, created a new wxInvertMask() function
3. an incredibly ugly fix (?) for "unsatisfied constraints" warnings
4. added wxIcon and wxBitmap ctors from XPM
5. XPM handler now creates bitmaps with mask
6. added wxPrinterDC::BitBlt() and DrawBitmap(), cleared the horrible mess in
the wxDC methods with the same names
Socket sample:
- Test 3 added to test large transfers involving multiple low level calls.
- Stub for datagram socket tests (not yet in place)
IPC sample:
- Client no longer needs to use GetHostName for DDE and LocalHost for IPC;
now it can just use GetHostName for both (because now the IPC server binds to
INADDR_ANY instead of binding to localhost).
- Fixed once again another warning about wxString objects that can't be
passed through '...'
GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
sets the address to INADDR_NONE.
wxSocket:
- Added some safety checks to the wxPostEvent stuff.
wxIPV4address:
- Added a wxIPV4address::AnyAddress method.
wxIPCConnection and co.:
- Servers bind to INADDR_ANY, instead of binding to localhost.
GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
sets the address to INADDR_NONE.
wxSocket:
- Added some safety checks to the wxPostEvent stuff.
wxIPV4address:
- Added a wxIPV4address::AnyAddress method.
wxIPCConnection and co.:
- Servers binds to INADDR_ANY, instead of binding to localhost.
GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
sets the address to INADDR_NONE.
Vadim Zeitlin [Fri, 21 Jan 2000 02:26:25 +0000 (02:26 +0000)]
1. wxWizard supports setting images for each page, sample updated to show it
2. wxLogGui now uses a special dialog instead of a wxMsgBox
3. wxComboBox doesn't limit the text to its size under MSW
4. removed windows.h from dummy.cpp because I think it's unneeded
George Tasker [Thu, 20 Jan 2000 14:15:44 +0000 (14:15 +0000)]
Uses src/iodbc headers rather than windows headers to hopefully standardize across all platforms, and relieve dependency on <windows.h>
Now allows reading of unknown data table structures to create wxTable instances without knowing the data dictionary ahead of time (see wxColInf() class and use)
Ability to determine keys/foreign keys and read in those key definitions (see wxColFor() and wxDB::GetKeyFields() contributed by Mark Johnson)
More support for mySQL, now handles columns with "non-standard" types (contributed by Bart Jourquin)
SQLUnbind() was being called in some places which release ALL tables bound to the wxDB connection, not just the desired one
To fix the SQLUnbind() problem, now temporary datasource connections use GetData() rather than binding columns to variables (see wxDB::Catalog())
wxDB::Catalog() now handles databases that support, and do not support passing a UserID to limit the scope of the catalog
wxDB:TableExists() now handles databases that support, and do not support passing a UserID to limit the scope of existence check
"const char *" now used in the appropriate places rather than "char *"
GetDataSource() was not terminating the returned data source names with a '\0'
wxTable::Open() now more gracefully handles tables not existing but trying to be opened with more detailed error messages
wxTable::CreateTable() now handles return of SQL_SUCCESS_WITH_INFO as success (needed for some databases)
Fixes to accomodate 64bit archtecture handling of some data types (may not be totally ready for 64bit, but closer now).
George Tasker [Thu, 20 Jan 2000 14:00:47 +0000 (14:00 +0000)]
Uses src/iodbc headers rather than windows headers to hopefully standardize across all platforms, and relieve dependency on <windows.h>
Now allows reading of unknown data table structures to create wxTable instances without knowing the data dictionary ahead of time (see wxColInf() class and use)
Ability to determine keys/foreign keys and read in those key definitions (see wxColFor() and wxDB::GetKeyFields() contributed by Mark Johnson)
More support for mySQL, now handles columns with "non-standard" types (contributed by Bart Jourquin)
SQLUnbind() was being called in some places which release ALL tables bound to the wxDB connection, not just the desired one
To fix the SQLUnbind() problem, now temporary datasource connections use GetData() rather than binding columns to variables (see wxDB::Catalog())
wxDB::Catalog() now handles databases that support, and do not support passing a UserID to limit the scope of the catalog
wxDB:TableExists() now handles databases that support, and do not support passing a UserID to limit the scope of existence check
"const char *" now used in the appropriate places rather than "char *"
GetDataSource() was not terminating the returned data source names with a '\0'
wxTable::Open() now more gracefully handles tables not existing but trying to be opened with more detailed error messages
wxTable::CreateTable() now handles return of SQL_SUCCESS_WITH_INFO as success (needed for some databases)
Fixes to accomodate 64bit archtecture handling of some data types (may not be totally ready for 64bit, but closer now).