Commit Graph

2074 Commits

Author SHA1 Message Date
Vadim Zeitlin
c3a4297caf excluded geometry.cpp from build by using #if wxUSE_GEOMETRY which is never
defined to be 1 (so far)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 16:22:11 +00:00
Vadim Zeitlin
de2d2cdc86 patches for wxSTIPPLE_MASK_OPAQUE from Klass Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:58:33 +00:00
Vadim Zeitlin
bf3dab485a some fixes from the SGI build log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:47:21 +00:00
Robert Roebling
55dfa8d3ea Applied some of the SGI fixes. Don't know about the
toolbar one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:27:37 +00:00
Robert Roebling
510fc784c0 Added geometry.cpp and made it compile,
Added empty dndcmn.cpp to avoid GNU link warnings,
  Fixed problem with event.Skip() in new tab code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:13:41 +00:00
Vadim Zeitlin
8614c46755 1. '\n's in tooltip messages are handled (replaced by spaces anyhow, tooltip
made multiline if comctl32 supports it)
2. added wxTAB_TRAVERSAL to default wxScrolledWindow style
3. improved arrows handling in radiobox (still problems for multirow ones)
4. [Alt]-<mnemonic> works in nested panels as well now because we use
   WS_EX_CONTROLPARENT for all windows with wxTAB_TRAVERSAL style
5. tooltips for radioboxes work again, even if I'm not really satisfied with
   solution :-( but I spent 2 hours trying to make TTM_WINDOWFROMPOINT handler
   work and I don't have more time to waste on this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 23:23:46 +00:00
Stefan Neis
eca370a9cf Integrated recent API-change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:54:14 +00:00
Robert Roebling
8253c7fda1 tabbing in controls sample works again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:51:36 +00:00
Vadim Zeitlin
d9506e7758 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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 03:05:24 +00:00
Václav Slavík
4d2976ad6b added wxFileType::GetMimeTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:17 +00:00
Vadim Zeitlin
1d910ac1fc 1. added wxMemoryConfig (private) class
2. some minor tweaks to config usage in wxFontMapper


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 23:15:52 +00:00
Robert Roebling
88413fec06 Changes for next snapshot.
Added new thumb track event for thumb release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:02:20 +00:00
Vadim Zeitlin
00c4e8974d I think I finally fixed activation behaviour under MSW - now focus is not given
to random window after you switch to/from a frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:44:16 +00:00
David Webster
708795b5e7 Adds mimietype.h to OS/2 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:21:42 +00:00
David Webster
4ca0f293bf Updates to fix EMX specific stuff that broke VisualAge specific stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:20:46 +00:00
Vadim Zeitlin
4b7f216556 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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:38:51 +00:00
Bart A.M. Jourquin
1b7274a8c0 new 'dynamic' SetColDefs fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 10:52:04 +00:00
Guillermo Rodriguez Garcia
636c47a794 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.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:59 +00:00
Guillermo Rodriguez Garcia
d3ea65274f 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.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:01 +00:00
Guillermo Rodriguez Garcia
9bf10d6bd3 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.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:10:42 +00:00
Vadim Zeitlin
f1df09276c 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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:26:25 +00:00
Vadim Zeitlin
cded6e3c28 restored windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 23:07:29 +00:00
Vadim Zeitlin
8a84f3a05c oops... extra #endif removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:57:30 +00:00
Vadim Zeitlin
f608bc673f 'FAR redefined' warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:49:23 +00:00
Vadim Zeitlin
634d3cc8d8 added test for _WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:36:48 +00:00
Vadim Zeitlin
7af206c1c4 added wxMenuITemBase copy ctor decl apparently needed under FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:34:48 +00:00
Robert Roebling
d3a809c7dc More life in wxPlot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 18:09:59 +00:00
George Tasker
aeb040bfaf Comment associated with wxODBC_FWD_ONLY_CURSORS modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:28:58 +00:00
George Tasker
28459a0d28 Commented out the #include of <windows.h> as it should not be needed any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:43 +00:00
Robert Roebling
846e1424e2 A no-change for scroll events.
Added y-axis to wxPlot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:18 +00:00
George Tasker
30a6d2d264 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).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:15:44 +00:00
Václav Slavík
737255678c rewritten to use wxTheMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:59 +00:00
Václav Slavík
ecf23aa626 split mimetype.h/.cpp into platform specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:11 +00:00
Václav Slavík
f890e2d474 added encoding support to help contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:31 +00:00
Václav Slavík
7dc3cc31af mimetype.cpp/.h split into unix,mac,msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:03:53 +00:00
Václav Slavík
b854b7b82e it is now possible to add custom buttons into wxHtmlHelpFrame's toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:01:08 +00:00
Václav Slavík
6ee654e6bb added wxFSFile::GetModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:47 +00:00
Václav Slavík
a47ce4a764 added wxFileModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:25 +00:00
Václav Slavík
f35822af10 .cached format of help books is now endian-independent; also changed lookup logic for .cached files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:27 +00:00
Václav Slavík
eaf40b230e generic wxFileDialog now stores customizations to registry/dotfile if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:11 +00:00
Guillermo Rodriguez Garcia
298d19f9ad isScrolling() in wxScroll[Win]Event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:13:43 +00:00
Václav Slavík
2173065452 icons for generic file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:39:36 +00:00
George Tasker
ff0ea71cea Changed code to allow for removal of the #include <windows.h> from wxprec.h for windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 12:29:32 +00:00
Václav Slavík
0b75b49b60 m_LastPage changed to wxChar*, forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:36:10 +00:00
Václav Slavík
8eda3cb854 added wxHTML_ALIGN_JUSTIFY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:58 +00:00
Václav Slavík
5c1bfc5da0 added align=justify support ; also removed relic: GetMaxLineWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:46 +00:00
Vadim Zeitlin
5bd3a2da95 1. small fix in wxDirDialog: SHBrowseForFolder() doesn't like '/'s
2. streamlined DDE code (better error handling, range checking)
3. hack in wxExecute to allow launching DDE servers
4. changed wxTreeCtrl::m_filename scope from private to protected
5. corrected creating wxBitmaps from XBMs
6. wxListCtrl no longer sends bogus ACTIVATED events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 01:22:56 +00:00
Václav Slavík
052e12db71 removed show_progress argument in some private functions -- was never used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:12:25 +00:00
Robert Roebling
981b25083e Add draft wxPlotWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 19:56:42 +00:00
Václav Slavík
566bc3285e fixed bug: UseConfig didn't call wxHtmlHelpFrame::OnConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:14 +00:00