]>
git.saurik.com Git - wxWidgets.git/log
Mattia Barbon [Thu, 10 Jul 2003 19:32:04 +0000 (19:32 +0000)]
wxSortedArray::Add must return the index of the newly
inserted item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21875
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Thu, 10 Jul 2003 19:29:55 +0000 (19:29 +0000)]
Missing CHARSET_HANGUL fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21874
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Thu, 10 Jul 2003 19:18:06 +0000 (19:18 +0000)]
Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21873
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 17:10:16 +0000 (17:10 +0000)]
Wait() doesn't cancel the thread any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21872
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 16:34:45 +0000 (16:34 +0000)]
trying to fix the bug which results in blocking forever inside Delete()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21871
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 16:23:42 +0000 (16:23 +0000)]
fix for IsAlive() called after Kill() or Exit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21870
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 15:51:47 +0000 (15:51 +0000)]
allow adding/removing columns dynamically (based on patch 763540)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21869
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 10 Jul 2003 15:49:57 +0000 (15:49 +0000)]
added release event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21868
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 14:50:25 +0000 (14:50 +0000)]
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21867
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 14:06:44 +0000 (14:06 +0000)]
GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned this...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21866
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 13:03:30 +0000 (13:03 +0000)]
fixes to allow dragging in multiselection tree ctrl (patch 759421)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21865
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 12:46:48 +0000 (12:46 +0000)]
added state image support (patch 530155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21864
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 10 Jul 2003 12:39:13 +0000 (12:39 +0000)]
include "wx/toolbar.h" instead of tbar(base|smpl).h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21863
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 12:36:05 +0000 (12:36 +0000)]
added wxThreadHelper class (patch 756906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21862
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 10 Jul 2003 12:27:26 +0000 (12:27 +0000)]
Use wxGetEmptyString() so the types in the ?: statement are both wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21861
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 12:24:15 +0000 (12:24 +0000)]
more Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21860
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 12:13:49 +0000 (12:13 +0000)]
set string length properly in wxString(p, conv, len) ctor (patch 755593)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21859
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 12:07:53 +0000 (12:07 +0000)]
make string at least empty (instead of containing garbage) if malloc() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21858
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 12:01:15 +0000 (12:01 +0000)]
correction to the separators in vertical toolbar after patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21857
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 11:47:27 +0000 (11:47 +0000)]
added functions to read/write several elements at once (patch 754986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21856
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 11:44:49 +0000 (11:44 +0000)]
Unicode fixes (patch 754930)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21855
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 11:40:26 +0000 (11:40 +0000)]
(blindly) fixed header case confusion (replacement for patch 763760)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21854
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 11:16:34 +0000 (11:16 +0000)]
added state image support (patch 530155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21852
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 11:04:37 +0000 (11:04 +0000)]
keep selected image in sync with the normal one if it hasn't been changed (patch 754906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21851
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 10:53:00 +0000 (10:53 +0000)]
added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 10:02:46 +0000 (10:02 +0000)]
use gdk_fontset_load() instead of gdk_font_load() for better Japanese support (patch 698558)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21849
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 09:56:47 +0000 (09:56 +0000)]
linking fixes and code cleanup after hotkey patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21848
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 09:55:13 +0000 (09:55 +0000)]
allow wxPopupWindow get the key events (patch 713269)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21847
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 09:34:51 +0000 (09:34 +0000)]
mention opengl32lib/glu32.lib automatic inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21846
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 09:32:35 +0000 (09:32 +0000)]
applied an extended version of patch 685795: clean up view [de]activation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21845
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 09:28:34 +0000 (09:28 +0000)]
deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21844
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 09:23:47 +0000 (09:23 +0000)]
(blind) fix for valgrind error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21843
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 10 Jul 2003 09:16:00 +0000 (09:16 +0000)]
Applied patch [ 758687 ] RegisterHotkey implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21842
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 10 Jul 2003 08:36:14 +0000 (08:36 +0000)]
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 10 Jul 2003 08:21:49 +0000 (08:21 +0000)]
Applied patch [ 762033 ] wxTextValidator crashes when given a NULL wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21839
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 10 Jul 2003 08:16:00 +0000 (08:16 +0000)]
Partially applied patch [ 763900 ] fix for vertical toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21838
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 10 Jul 2003 07:50:57 +0000 (07:50 +0000)]
Applied patch [ 767505 ] BCB6 link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21837
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 10 Jul 2003 07:47:10 +0000 (07:47 +0000)]
Applied patch [ 767518 ] BCB6 resource compiler chokes on dialog1.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21836
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 01:20:52 +0000 (01:20 +0000)]
preliminary implementation of wxEVT_MENU_OPEN/CLOSE for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21835
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 01:00:24 +0000 (01:00 +0000)]
wxMac doesn't need UseNativeStatusBar hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21834
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 00:50:01 +0000 (00:50 +0000)]
no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21833
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2003 00:27:26 +0000 (00:27 +0000)]
fixed build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21832
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 23:25:27 +0000 (23:25 +0000)]
2 step creation for wxDocMDIChildFrame (patch 661657)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21831
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 23:18:40 +0000 (23:18 +0000)]
automatically link with opengl32.lib and glu32.lib when using VC++ (patch 753485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21829
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 23:15:00 +0000 (23:15 +0000)]
added wxSocket::IPAddress() (patch 694119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21828
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 23:08:22 +0000 (23:08 +0000)]
wxScrolledWindow scrollbar update fix (patch 680427) and MacUpdateImmediately renamed to Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21826
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:55:57 +0000 (22:55 +0000)]
made wxTextInputStream Unicode safe and general cleanup (patch 653775)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21825
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:47:02 +0000 (22:47 +0000)]
oops, compilation fix after applying the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21824
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:46:06 +0000 (22:46 +0000)]
we probably don't need crit section in GetTimeZone()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21823
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:35:56 +0000 (22:35 +0000)]
added some checks for .mo integrity (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21822
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:24:54 +0000 (22:24 +0000)]
select all text initially in the control (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21821
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:23:50 +0000 (22:23 +0000)]
handle as well as in URLs (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21820
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:22:47 +0000 (22:22 +0000)]
added support for POST method and alternate ports (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21819
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:12:15 +0000 (22:12 +0000)]
implement support for returning several elements at once from IEnumFORMATETC (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21818
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 22:03:21 +0000 (22:03 +0000)]
ensure that we don't get stuck in modal loop forever (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21817
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 21:58:24 +0000 (21:58 +0000)]
check index in GetString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21816
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 21:56:09 +0000 (21:56 +0000)]
use mask for GIFs (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21815
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 21:55:04 +0000 (21:55 +0000)]
GetClientData(int n) should be const (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21814
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 21:48:53 +0000 (21:48 +0000)]
added missing #include <wx/defs.h> (parts of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21813
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 21:38:05 +0000 (21:38 +0000)]
fixed crash in wxSpinButton (patch 646214)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21812
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 21:20:56 +0000 (21:20 +0000)]
VC 7.1 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21811
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 20:40:00 +0000 (20:40 +0000)]
attempts to fix separate compilation (didn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21810
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 20:34:51 +0000 (20:34 +0000)]
test for Mac before Unix as __UNIX__ is defined as well when building wxBase under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21809
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 20:34:29 +0000 (20:34 +0000)]
typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21808
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 20:18:20 +0000 (20:18 +0000)]
removed some stray MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21807
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 19:58:28 +0000 (19:58 +0000)]
initialize wxStrings in initialization list, not ctor body; this is more efficient and incidentally also fixes crash under Mac with gcc 3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21806
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2003 19:40:33 +0000 (19:40 +0000)]
fixed gcc 3.3 compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21805
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 18:44:33 +0000 (18:44 +0000)]
Don't save and restore the graphics context for color changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21803
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 18:38:44 +0000 (18:38 +0000)]
Implement wxWindowDC::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21802
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 18:37:18 +0000 (18:37 +0000)]
Implement SetBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21801
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 18:34:42 +0000 (18:34 +0000)]
wxNullBrush should not be Ok(), and GetNSColor() should return clearColor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21800
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 18:31:34 +0000 (18:31 +0000)]
wxBrushRefData constructor: m_style = style instead of wxSOLID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21799
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 9 Jul 2003 17:15:09 +0000 (17:15 +0000)]
OnIdle -> OnInternalIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 9 Jul 2003 15:29:38 +0000 (15:29 +0000)]
Fixed a crash on initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21797
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 15:26:41 +0000 (15:26 +0000)]
Set m_window instead of using wxWindowDC constructor taking a wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21796
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 14:56:56 +0000 (14:56 +0000)]
Store a pointer to the wxWindow in the wxWindowDC class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21795
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 14:24:47 +0000 (14:24 +0000)]
Avoid paint event recursion when the run loop is restarted inside the paint
event. Usually for the purpose of showing an assertion dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21794
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 9 Jul 2003 14:20:30 +0000 (14:20 +0000)]
Removed overloaded DoMenuUpdates function since it duplicated
wxMenu::UpdateUI()
Removed routing of menu commands to focus window under Windows
Added routing of menu commands (but not UI updates, for
efficiency reasons) to wxMenuBar before sending to frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21793
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 9 Jul 2003 14:10:53 +0000 (14:10 +0000)]
Remove check for other wxPaintDCs. It should be done in wxWindow instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21792
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 9 Jul 2003 12:41:58 +0000 (12:41 +0000)]
Added cast to wxWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21791
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 9 Jul 2003 11:00:40 +0000 (11:00 +0000)]
Fixed missing bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21790
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 9 Jul 2003 10:15:21 +0000 (10:15 +0000)]
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 23:19:01 +0000 (23:19 +0000)]
compilation warning fixes (patch 625810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21788
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 23:14:02 +0000 (23:14 +0000)]
added support for wxALWAYS_SHOW_SB (finally closes patch 410865 -- first still opened...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21787
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 23:02:14 +0000 (23:02 +0000)]
deprecated and removed from our code GetUseCtl3D()/TransparentBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21786
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 22:55:59 +0000 (22:55 +0000)]
warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21785
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 22:52:30 +0000 (22:52 +0000)]
More MSVC fixes .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21784
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 22:48:14 +0000 (22:48 +0000)]
mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21783
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 22:24:26 +0000 (22:24 +0000)]
More MSVC fixes .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21781
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 22:23:54 +0000 (22:23 +0000)]
got rid of (unused since a long time) wxNO_3D and wxUSER_COLOURS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21780
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 8 Jul 2003 22:11:59 +0000 (22:11 +0000)]
fixes to wxHTML selection code: corrected mouse navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21779
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 22:07:59 +0000 (22:07 +0000)]
Blind fix for MSVC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21778
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 21:58:01 +0000 (21:58 +0000)]
Morec ompilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21777
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2003 21:17:56 +0000 (21:17 +0000)]
renamed wxScrollHelper::GetRect() to GetScrollRect() to avoid conflicts with wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21774
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 8 Jul 2003 20:47:17 +0000 (20:47 +0000)]
standardized WXMAKINGDLL approach
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21773
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 8 Jul 2003 20:46:43 +0000 (20:46 +0000)]
added fl bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21772
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 20:41:48 +0000 (20:41 +0000)]
Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21771
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 8 Jul 2003 20:34:04 +0000 (20:34 +0000)]
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21770
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 20:25:26 +0000 (20:25 +0000)]
Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21769
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Tue, 8 Jul 2003 19:52:35 +0000 (19:52 +0000)]
Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
Made wxBase compile when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775