Commit Graph

15354 Commits

Author SHA1 Message Date
Stefan Neis
0d853c5412 Fixed drive handling on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:38:30 +00:00
Stefan Neis
5a3912f2ab Fixed & improved file handling on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:29:46 +00:00
Stefan Neis
7d354cd1df Unified OS/2 and Unix code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 18:45:21 +00:00
Gilles Depeyrot
de127c699b applied SF patch #846738 mousewheel support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 12:06:18 +00:00
Mattia Barbon
f148f2bac3 Avoid double free in wxComboBox::SetClientObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:17:57 +00:00
Mattia Barbon
8e5ec9cc58 Compilation fixes for wxUSE_STL == 1 and for wxUSE_UNICODE == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:16:36 +00:00
Mattia Barbon
1a6d9c7680 New wxHashTable implementation when wxUSE_STL == 1. Replaces
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
  Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00
Robin Dunn
3403ccd5ae Uses wxSystemSettings for colour when there is no window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:15:35 +00:00
Mattia Barbon
4b7f540b8c Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 22:49:12 +00:00
Gilles Depeyrot
a4f5b9b9a3 applied SF patch #846732 file dialog long filename support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 21:01:03 +00:00
Robin Dunn
6be0b53f3d When used from wxHtmlListBox it's possible for GetWindow to return NULL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 23:12:50 +00:00
Dimitri Schoolwerth
3e778e3bde Fixed gcc compiler warning (size_t was assumed to equal an unsigned int).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 18:18:58 +00:00
Julian Smart
e688defd59 Fixed WinCE compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 22:25:03 +00:00
Dimitri Schoolwerth
1e1cc1ce95 Implemented missing pure virt functions (stub functions for now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 19:29:20 +00:00
Stefan Csomor
a2825c340a XTI support for checklist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 16:30:04 +00:00
George Tasker
9af163d74d Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE keeping current functional behavior intact)), that will allow the user to override whether a call to getDbInfo() should fail immediately if a data type request reports back that it is unsupported/unavailable
fixed issues with wxDb::DBMS() that were not correctly detecting MySQL databases using MySQL v4.  also removed erroneous/duplicated code in this function that looked like a result of a bad merge at some point


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 14:50:09 +00:00
Julian Smart
eae4425db6 WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Robin Dunn
3ac7b44cc0 Added FindItemAtPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:20:09 +00:00
Dimitri Schoolwerth
5ea02ed5df Don't leave behind trails from glowing OS X button (By extending invisible button border).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 17:52:25 +00:00
Dimitri Schoolwerth
68f572da6e Ignore ReleaseBuild directory (Created by MSVC's "Win32 Release With Debug Info" config).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 16:54:13 +00:00
Stefan Neis
b08c90ca63 Modified wxGetHomeDir to take environment variable HOME into account.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 22:20:41 +00:00
Stefan Neis
a85585d595 Fixed the code to actually work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 21:56:50 +00:00
Dimitri Schoolwerth
37d729ed98 wxPopupWindow was not compiled when not using pch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 20:53:10 +00:00
Mattia Barbon
dad6a47e6d Changes corresponding to patch #841324 from Ian Brown:
"GetPosition() returns wrong result for dialog". Moved implementation
from wxFrame to wxTopLevelWindow thus sharing it between wxFrame
and wxDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:28:37 +00:00
Mattia Barbon
795c00bdcc Made element layout consistent with wxMSW/wxGTK when
radiobox is wider/taller than necessary. Previously
the last element was stretched to fit remaining space.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:14:34 +00:00
Mattia Barbon
6746fe58b5 Applied changes corresponding to patch #840617.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:07:24 +00:00
Mattia Barbon
178edd2a32 Applied patch #840643 from Ian Brown with some modifications:
use DisplayWidth/DIsplayHeight instead of hardcoded values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 21:12:24 +00:00
Vadim Zeitlin
2dc357ea28 expand the value of HOME env var in wxGetHomeDir() because it may contain env vars inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 15:42:40 +00:00
Julian Smart
4c663122e4 Fixes for previous fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 10:26:46 +00:00
Julian Smart
4a268913a8 Corrected semaphores for WinCE >= 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 21:04:17 +00:00
Dimitri Schoolwerth
e11f46363f Fixed Digital Mars compilation; Cosmetic cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 12:55:25 +00:00
David Elliott
f99422e9e9 Added implementation of MDI using top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 16:03:08 +00:00
David Elliott
3905012063 Added a mechanism allowing a toplevel window to delay its deactivation
event.  This will come in handy for MDI among other things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 15:13:55 +00:00
David Elliott
9f13cca8f6 Very lame fix for windows with -1 for a component of position or size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:33:30 +00:00
David Elliott
46cdffaf79 Fix file header and remove unused include "wx/cocoa/mbarman.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:28:53 +00:00
David Elliott
243f5c2d91 Renamed UpdateWindowMenuBar to UpdateMenuBar and removed unused parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:23:07 +00:00
Václav Slavík
eb6a4098a0 Always set background colour prior to any HTML rendering (this fixes assert in GTK2 build because BgColor of wxHtmlRenderingState was unset=invalid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-11 13:19:57 +00:00
Václav Slavík
e77fbecf59 part of DS' change _was_ corrent, restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-11 12:35:24 +00:00
Dimitri Schoolwerth
335d757931 Really fixed Borland release build warning (without sabotaging code this time).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 17:32:04 +00:00
Václav Slavík
b5d464b982 previous DS' change was broken, reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:49:46 +00:00
Dimitri Schoolwerth
8703bc01c2 Added wxUnusedVar for Borland and fixed 2 release mode warnings for Borland (patch #835707); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:17:46 +00:00
Václav Slavík
6937991694 addedd support for <pre width=...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 13:59:50 +00:00
Václav Slavík
4d312c222e fixed wxConvLocal to work with C locale (and probably some others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 12:27:42 +00:00
Václav Slavík
a58d4f4d49 prevent deadlock in wxCSConv::DoCreate if it fails for wxConvLocal -- ugly but works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 12:09:13 +00:00
Dimitri Schoolwerth
0e2710a6b9 Fixed MSVC warnings from Win32 Unicode Release build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 19:40:29 +00:00
Stefan Neis
20c8441047 Allow minimal acceptable row height/column width to be set to 0 for
hiding rows/columns.
Only return true from CanEnableCellControl if a valid cell is selected
        (fixing Bug #837656).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:58:04 +00:00
Stefan Neis
737928c244 Avoid referencing WinInitialize/Finalize for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:52:53 +00:00
Mattia Barbon
461932ae60 wxXRC STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:48:47 +00:00
Mattia Barbon
671d21303f Compilation fix for !WXWN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:45:01 +00:00
Vadim Zeitlin
01b18927f5 fix for previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 13:09:10 +00:00