Commit Graph

9983 Commits

Author SHA1 Message Date
Václav Slavík
8ac7b0858a fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 16:15:26 +00:00
Gilles Depeyrot
e59530f9e0 backported SF patch #752538 to implement wxGetOSDirectory() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 18:21:13 +00:00
Julian Smart
21ba2ace60 Allow for multiple CHM controllers in app (don't leak dynamic libs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 14:15:36 +00:00
Robin Dunn
568abcbd3a Ensure that a wxMenuItem's parent menu is updated if it is removed
from one and added to another menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 23:48:46 +00:00
Václav Slavík
6523dea767 fixed Content-Type lookup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 21:23:53 +00:00
Stefan Neis
600afbe5da Restore original behaviour if m_wxwindow == NULL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 18:21:41 +00:00
Václav Slavík
d4d283bf1b compilation fix for VisualAge C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 17:06:40 +00:00
Stefan Neis
376c6d4008 Moved include to wx/module.h out of #ifndef WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 16:35:12 +00:00
Václav Slavík
5b4c6454ec compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 08:52:24 +00:00
Julian Smart
46e620fc8b Only bring the window to the top in Show() if we're a top-level
window, else we mess up z-order/tab order


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 05:06:28 +00:00
Julian Smart
f5abdcb3c3 Some project file corrections
Test for correct symbol in resource sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 21:47:02 +00:00
Julian Smart
e874fa1bd5 Some fixes to project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 20:04:18 +00:00
Robin Dunn
ca01f8dfe5 revert my last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 15:54:41 +00:00
Julian Smart
a741b4e4bd Applied patch [ 748638 ] wxDos2UnixFilename for unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 13:55:43 +00:00
Julian Smart
2d0e6b13c2 Reports suggest that _sometimes_ WS_VSCROLL/WS_HSCROLL
are needed. So map wxVSCROLL/wxHSCROLL to these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 13:22:34 +00:00
Julian Smart
f3e305f049 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 10:12:53 +00:00
Julian Smart
96ec96d318 Fix for [ 748805 ] Assert failure for specified situation in samples/controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 09:59:38 +00:00
Robin Dunn
b7850f8fe4 Fix for new refresh code. (It's possible for m_wxwidnow to be NULL.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 03:59:00 +00:00
Robin Dunn
27f4f38e85 fix so wxMenu::InsertItem actually inserts rather than overwrites
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:46:36 +00:00
Robin Dunn
6844c083a1 Just silently return NULL like the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:15:50 +00:00
Stefan Neis
bcacb15d36 Fixed Refresh to clip update rectangles to the visible area of a
(scrolled) window. If there are many invisible/partly visible
        rectangles in the update region GTK+-1.2.10 starts complaining
        about bad match errors and soon crashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 20:12:39 +00:00
Julian Smart
2062833988 Include module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 16:32:40 +00:00
Chris Elliott
5402151db6 fix erase in makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 10:34:42 +00:00
Robin Dunn
63482228c2 Put terminating NUL in the buffer since MB2WC doesn't do it. [#749825]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 00:43:51 +00:00
Mattia Barbon
fd788c22d5 MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:06:40 +00:00
Chris Elliott
b022709ac5 possible fix of Borland incompatible DLL problem for 2.4.1 /2.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 15:11:54 +00:00
Julian Smart
73e90c7137 Disable non-standard notebook styles if CommCtl doesn't support them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 13:29:52 +00:00
Chris Elliott
152ce11a13 fix SF bug 749486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:42:45 +00:00
Chris Elliott
7a9539b77a fix SF bug 749486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:28:21 +00:00
Julian Smart
19eea942ad Fix for [ 748890 ] can't set wxUSE_CONSTRAINTS to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:13:18 +00:00
Julian Smart
19210eea93 Fixed bug [ 749471 ] wxDocument with no command processor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:03:47 +00:00
Julian Smart
6a2dbd8ca4 Fixed native dialog bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 10:57:59 +00:00
Chris Elliott
50cbce6d06 remove Borland's 16 bit makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 08:10:00 +00:00
Chris Elliott
8d1faa443c remove Borland's 16 bit makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 07:37:19 +00:00
Stefan Neis
c0ce485169 Added call to AdjustScrollbars in CalcDimensions to be able to scroll to the
"end" of a grid after adding rows/columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 20:51:25 +00:00
Chris Elliott
646a6e4347 fix name of borland dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 07:12:45 +00:00
Robin Dunn
ba0d19c23f backported the, uh... "fix" for update problems on wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:20:21 +00:00
Julian Smart
15cefc9dc9 Should put lib in main lib dir, not under contrib/lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:47:54 +00:00
Vadim Zeitlin
6d42225630 added missing module.h include (bug 748158)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:19:21 +00:00
Vadim Zeitlin
060f9ce148 generate wxEVT_COMMAND_LIST_INSERT_ITEM (patch 747070)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:46:08 +00:00
Vadim Zeitlin
f71203a294 implement DoGetBsetSize() for wxNoteBook (patch 745533)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:39:59 +00:00
Vadim Zeitlin
ff486b6e97 fixed calculations in SetMapMode() (use FP division, not integer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:41:44 +00:00
Julian Smart
50745b84b2 Backported theme fix for notebook page anomaly on XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 13:47:14 +00:00
Bryan Petty
7e5799ed42 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 13:47:14 +00:00
Vadim Zeitlin
6af862d577 fixed compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:29:17 +00:00
Julian Smart
0ea1d3f095 Pass focus window to submenu items too (no reason I can think of not to).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:40:09 +00:00
Julian Smart
db1c50bccd Fixed bug [ 743664 ] wxListCtrl asserts when deleting its m_textCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:12:30 +00:00
Julian Smart
87709afba0 Fix for [ 731966 ] Missing files in VC++ project file in WX_2_4_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:51:10 +00:00
Julian Smart
780c98f7e6 Fix for [ 688754 ] wxNotebook::SetSelection(-1) will segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:41:50 +00:00
Julian Smart
5c9194275a Fix (I hope) for bug [ 673862 ] printing zero length string with postscript does not work
Now descent and externalLeading will be zeroed if the string is empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:23:16 +00:00