Commit Graph

2175 Commits

Author SHA1 Message Date
Michael Bedward
58dd5b3b3e Many bug fixes for display code:
- clicking outside cell area no longer causes crashes
- clicking beyond labels is now ignored
- better cell selection code
- old grid sample now works with this grid
- newlines can be entered in to cell edit control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 11:17:01 +00:00
Stefan Neis
c3baf426f8 Added drag-shrinking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 15:14:13 +00:00
George Tasker
d62e92203d Replaced C++ comment with C comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:56:12 +00:00
Vadim Zeitlin
60ff3b9976 re-checking in files in Unix mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:30:28 +00:00
Bart A.M. Jourquin
5d8bc5d35d fix include files path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:07:42 +00:00
Michael Bedward
b27f2615c7 Used old name SelectCell instead of new name SetCurrentCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:18:02 +00:00
Michael Bedward
dfaf42d2e8 Added missing SetGridCursor function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:11:12 +00:00
Michael Bedward
1f1ce28841 Removed cell highlighting temporarily. Now wxGrid::EnableEditing(bool)
sets the cell edit control to be editable or read-only.

Fixed row sizing problem where text was clipped in the cell edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 06:03:03 +00:00
Michael Bedward
2d66e025ef Major redesign of grid classes:
- wxGrid now derives from wxScrolledWindow
- Row labels, col labels, corner labels and grid cell area
  implemented as separate classes

The new design fixes the display problems (bad flicker when
scrolling) and simplifies the internal handling of grid cell
coordinates, the edit control etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 04:43:45 +00:00
Václav Slavík
cf471cab82 fixed memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:18:02 +00:00
Václav Slavík
c7fb814ac3 fixed DeleteContents inconsistency: didn't free memory if DeleteContents called before inserting data (and creating wxList)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:40 +00:00
Václav Slavík
66806a0bf0 fixing memory leaks & mem tracing false alerts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:25 +00:00
Vadim Zeitlin
7eb4e9cc0f added CentreOnScreen(), updated the docs to clear this mess a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 18:48:41 +00:00
Robert Roebling
68df5777c7 Tried to fix corrupted display of wxTextCtrl,
Corrected wxFileDialog's multiple file option.
  Corrected event mask for CaptureMouse(),
  Small change to "best visual" code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:59:12 +00:00
Vadim Zeitlin
4004f41e3c 1. wxStaticBitmap now uses mask even for bitmaps (and not only icons)
2. we now catch WM_SYSKEYDOWN/UP events as well as normal ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 00:52:06 +00:00
Julian Smart
df61c00971 Set/GetWindowMenu added to MDI parent frame under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:48:44 +00:00
David Webster
70862fa81b VA 4.0 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:28:20 +00:00
Robin Dunn
8f06a01712 Minor additions to make working with binary buffers easier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:22:44 +00:00
Vadim Zeitlin
bbf8fc5391 1. bug in wxString::find_first_of() fixed
2. new wxStringTokenizer class and the docs for it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 20:46:49 +00:00
Vadim Zeitlin
2224580a41 1. configre/makefiles changes
a) wxBase compilation/installation/dist works, added wxBase.spec
 b) list of files is include by Makefile.in, not embedded into it
 c) configure runs "subconfigures" for samples/demos/utils
2. wxTokenizer class from Gregory Pietsch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:26:16 +00:00
Robert Roebling
8480b297e7 Using the best visual is now an option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 17:37:37 +00:00
George Tasker
95ca6a20b5 Removed tabs and cleaned up indentations.
Added SQL_LOG_FILENAME and SQL_CATALOG_FILENAME constants to remove embedded text filenames


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:41:28 +00:00
David Webster
5d33ed2c6b VA 4.0 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:16:05 +00:00
Julian Smart
56b79cb98d Some but not all compile fixes for typetest (VC++ 1.5); added datetime.cpp
to 16-bit compile list; edited isql.h for 16-bit (but not right since doesn't
link)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 15:29:45 +00:00
Julian Smart
f6081a0462 Cured memory leak report in wxDateTime; wxGLCanvas corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 13:43:37 +00:00
Vadim Zeitlin
b6c588e1a6 wxDialog change (Show() completely rewritten, modal dialogs handling changed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 01:31:09 +00:00
Robert Roebling
16b52fa1b7 Disabled ODBC code by default,
Move isql.h and isqlext.h to /include/wx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 17:52:53 +00:00
Václav Slavík
72fc5caf06 bugfix: added wxWindowBase::OnMiddleClick declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:55 +00:00
David Webster
67b81440f0 VA 4.0 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 23:37:54 +00:00
Robert Roebling
d76fe38b29 Copied isql.h and isqlext.h to /include/wx/unix and make
it get installed.
  New code for "best_visual" under SGI and Sun.
  Typos in PostScrip code: HelvO and CourO.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 19:50:46 +00:00
Václav Slavík
5b315dd000 minor visual enhancement of help browser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:38 +00:00
Václav Slavík
721ab90538 inline functions with if moved to .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:44 +00:00
Václav Slavík
69626ba928 removed wxHtmlWindow::OnKeyDown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:17 +00:00
Stefan Neis
1a787c5dc8 Changed order of #ifdefs to get native version on OS/2, even if
dlopen-wrapper is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 22:35:48 +00:00
David Webster
66b6b04535 Visualage C++ V4.0 duplicate symbol fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:07:57 +00:00
Vadim Zeitlin
44141a18c3 these aren't being used any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:14:05 +00:00
Vadim Zeitlin
438e3558ad more backwards compatible kbd handling in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 16:42:45 +00:00
Václav Slavík
625e60c9d2 wxHtmlHelpFrame enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:43 +00:00
Václav Slavík
5656c6ef36 added wxHtmlWindow::GetOpenedAnchor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:29 +00:00
Václav Slavík
0646614dad added more navigation controls to html help frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:30 +00:00
Vadim Zeitlin
d80cd92ae2 1. kbd interface for wxScrolledWindow
2. wxWindow::Set/GetExtraStyle()
3. wxWS_EX_VALIDATE_RECURSIVELY added and implemented
4. docs updated to reflect (2) an (3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 19:59:41 +00:00
Vadim Zeitlin
9376d86ede __GNUWIN32_OLD__ is defined if __GNUC__ is and NORLANDER_HEADERS is not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 18:23:20 +00:00
Vadim Zeitlin
4a539480fb missing Init() added to wxMenu(wxCallback) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:35:55 +00:00
Julian Smart
eaeb6a3c37 Added DEVNAMES to wxPrintDialog to remember printer name; fixed wxDC::Clear
to not assert for printer DCs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 13:35:44 +00:00
David Webster
2a6b16e36b Added method for mimietype implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:50:28 +00:00
David Webster
006713a260 Fix for VisualAge; Init can't be before it is called in VA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:48:07 +00:00
Vadim Zeitlin
3c1a88d8b8 several mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:19:39 +00:00
Vadim Zeitlin
c857185ce0 value of wxTE_PASSWORD changed to be different from wxCANCEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:19:07 +00:00
Vadim Zeitlin
a294c6d53e added wxGetPasswordFromUser(), dialogs sample shows it, documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 18:26:54 +00:00
Vadim Zeitlin
88e243b29f warnings/linking fixes for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:53:44 +00:00
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