Commit Graph

16287 Commits

Author SHA1 Message Date
Julian Smart
6a52ea5cb8 HandlePrintClient shouldn't go above a top-level window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-11 12:16:12 +00:00
Robin Dunn
2830b4a411 Have wxLaunchDefaultBrowser fallback to the BROWSER environment
variable on *nix if the mimetype info fails to lead to a usable
command.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 23:38:12 +00:00
Włodzimierz Skiba
26c36d7505 Do not send event for already selected menu radio item selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 19:10:52 +00:00
Stefan Csomor
fd04970ab4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 06:30:03 +00:00
Stefan Csomor
fb19fbabbc applying patch 1188918
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 05:44:10 +00:00
Stefan Csomor
b6d4a1afde refresh only for menus which have their menubar attached as well, otherwise an assert is triggered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 05:23:27 +00:00
Julian Smart
4152714397 Fixed bug [ 1195479 ] RedrawWindow() incompatible with eVC3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 21:26:31 +00:00
Robin Dunn
7360b79665 Allow wxMac to have HRULE/VRULEs for wxListCtrl too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 19:58:55 +00:00
Robin Dunn
da78f3b10c A slightly modified version of Patch #1197468. Keeps track of pending
size/position changes in case there is more than one adjustment for a
window in a single DeferWindowPos set then the pending values can be
used for defaults instead of current values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 16:54:11 +00:00
Vadim Zeitlin
be4e7abf54 fixed GetLocaleDateFormat() to work with all locales, not just ones using only , and
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-08 23:35:34 +00:00
Vadim Zeitlin
ad44b2c7ff fix VC++ warning in debug build after latest fix to warning in release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-08 10:55:43 +00:00
Robin Dunn
3fca879ce0 Patch #1197009 [wxMSW] Proper repainting when resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 19:12:23 +00:00
Robert Roebling
e31126cbd7 committed aupdated patch that adds support for
bitmaps in submenus and simplifies some of
    the code in GtkAppend()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 18:09:18 +00:00
Stefan Csomor
fcbd7e5a12 now it's uint32 on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 13:35:09 +00:00
Robert Roebling
a50ca84319 Commit fix for EUC_JP encoding under Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 11:51:17 +00:00
Julian Smart
3db799025d Take src x, y into account when blitting with alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 19:55:46 +00:00
Włodzimierz Skiba
4377d3abc8 Build fix (Watcom).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 18:01:08 +00:00
Michael Wetherell
c282a7a1fe Compilation fix for USE_UNIV=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 15:41:32 +00:00
Michael Wetherell
5b3166fda9 On x11 another control may already have the mouse capture when the menu is
trying to release it's capture, so work around that problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 13:42:34 +00:00
Michael Wetherell
0bf16170cc This handlers mustn't be deleted when a popup is dismissed since they can
be the ones doing the dismissing. Also, m_focus must point to the window
with focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 13:39:21 +00:00
Julian Smart
068993c7ef Permission for flood-fill code clarified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 12:17:01 +00:00
Włodzimierz Skiba
3d104ec357 VC warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 06:09:24 +00:00
Vadim Zeitlin
737c443bd1 limit recursion depth in DumpUDT() to prevent crashes when dumping linked lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-05 20:15:35 +00:00
Julian Smart
0ea1cce3f6 Clarified copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-05 15:04:32 +00:00
Robin Dunn
28b2ac5b1a Don't automatically copy the selection to the clipboard on the Mac
when the selection is made.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 21:07:06 +00:00
Robin Dunn
0c4f1b2a1e Don't copy the NULL char into the clipboard. Most Mac apps will
treat it as a legitimate, but invisible character and various problems
arise...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 21:04:32 +00:00
Vadim Zeitlin
2f3d9587ab fixed GetLongPath(): it never used ::GetLongPath() before and didn't work at all when called for the first time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 19:36:25 +00:00
Vadim Zeitlin
6c0b29749c fixed EOVERFLOW handlign after previous commit and also explained what's going on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 19:32:53 +00:00
Julian Smart
99d800190a Added licence/copyright information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Vadim Zeitlin
19c5a468e9 include iostream headers before using iostream classes (might fix HP-UX native compilation with iostreams)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:38:08 +00:00
Vadim Zeitlin
1495b91505 replace complicated OS tests with simple ifdef EOVERFLOW in wxString::PrintfV()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 17:14:43 +00:00
Stefan Csomor
95d8425feb otherwise we always fall back to blitting, even if we can provide better results
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-03 18:19:10 +00:00
Julian Smart
903f1b0d80 A control's text colour now reflects the system colour setting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-03 16:17:17 +00:00
Stefan Csomor
a71dec776e must be static of course, otherwise items just get appended for every menu-build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-03 05:34:53 +00:00
Chris Elliott
aac71f4f44 get the path in windows format for cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-02 10:22:41 +00:00
Chris Elliott
1e2aa2f8df sizer.h needed by cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-02 09:19:26 +00:00
Stefan Csomor
b384c0fb4c reordering for CW compiles, setting control to opaque because of incorrect erases under 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-30 09:11:36 +00:00
Michael Wetherell
79481be2f8 Call MGL_init earlier in wxApp::Initialize to avoid crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-30 02:09:21 +00:00
Julian Smart
55079b432b Removed previous broken fix for deferred positioning bug, and added
fix using sizers, which works better


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 18:58:38 +00:00
Stefan Csomor
67308c2167 adapting to latest API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 11:49:37 +00:00
Julian Smart
870c86bc51 AdjustScrollbars can go into an infinite loop, so bail out after a few
iterations.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 09:14:27 +00:00
Julian Smart
177895fbab Switch deferred sizing off for radioboxes because with them, the radio buttons
can be invisible in some circumstances


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 21:40:28 +00:00
Julian Smart
283587a491 Reverted/commented out unsuccessful defer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 18:21:03 +00:00
Julian Smart
8aa35ad016 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 16:14:36 +00:00
Julian Smart
c3723477cc Use real number of children for reserving deferred sizing space;
fix apparent bug in Windows doing deferred positioning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 15:17:02 +00:00
Julian Smart
8e44f3caab Worked around an apparent bug in Windows whereby some deferred positioning
failed: specifically when changing a position from x, to y, to x again.
Added deferred positioning to wxRadioBox, wxSlider and wxSpinCtrl and thereby
eliminated some refresh glitches when resizing.
Eliminated further refresh glitches caused by wxRadioBox (to nearby controls)
by refreshing parent when the radio box moves.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 14:45:09 +00:00
Stefan Csomor
2b822a7e06 otherwise we always just fix rect at index 0 ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 05:06:24 +00:00
Kevin Hock
5cf85da1ed Fix for unexplained change in socket behavior where failed connections throw a CONNECT event immediately before thowing a LOST event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 02:29:01 +00:00
Julian Smart
5bf4788ae3 Temporary fix (I hope) to allow an application to paint around controls
within static boxes by suspending the flicker reduction fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 19:21:24 +00:00
Kevin Ollivier
14753ffea2 Tiger compatibility fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 15:41:06 +00:00