]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
14 years agoAdd support for IEC and SI size units to wxFileName::GetHumanReadableSize().
Vadim Zeitlin [Tue, 6 Apr 2010 14:53:04 +0000 (14:53 +0000)] 
Add support for IEC and SI size units to wxFileName::GetHumanReadableSize().

Allow choosing the multiplier to use (1000 or 1024) and the names of the units
(SI or IEC). By default, still use traditional convention, i.e. multiplier of
1024 but SI unit names. This will probably need to be changed to use IEC units
in the future.

Also added unit test for this function.

Closes #10673.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd default constructor to wxGraphicsGradientStop.
Vadim Zeitlin [Tue, 6 Apr 2010 13:55:35 +0000 (13:55 +0000)] 
Add default constructor to wxGraphicsGradientStop.

It may be convenient to create wxGraphicsGradientStop first and initialize it
later so allow doing this by providing the default argument for constructor
parameters and thus allowing to use it as the default constructor.

See #11897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition.
Vadim Zeitlin [Tue, 6 Apr 2010 13:55:30 +0000 (13:55 +0000)] 
Correct check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition.

Set wxUSE_GRAPHICS_CONTEXT to 1 by default for MSVC 7.1+ and not 8+.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUpdate OpenVMS compile support
Jouk Jansen [Tue, 6 Apr 2010 09:47:19 +0000 (09:47 +0000)] 
Update OpenVMS compile support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect checks for gradient stop position.
Vadim Zeitlin [Tue, 6 Apr 2010 00:17:16 +0000 (00:17 +0000)] 
Correct checks for gradient stop position.

It may be <= 1 in the final version and not < 1.

See #11897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agonon PCH compilation
Robert Roebling [Mon, 5 Apr 2010 17:52:05 +0000 (17:52 +0000)] 
non PCH compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix text input and completion in wxComboCtrl and wxOwnerDrawnComboBox.
Václav Slavík [Mon, 5 Apr 2010 17:19:04 +0000 (17:19 +0000)] 
Fix text input and completion in wxComboCtrl and wxOwnerDrawnComboBox.

Both wxEVT_KEY_DOWN and wxEVT_CHAR must be handled and only the latter
used for completion (or any characters input). Don't make incorrect
assumptions about wxEVT_CHAR keycodes either, it's only the Unicode
character and printability that matter.

Otherwise, completion in readonly controls wouldn't work correctly
for e.g. numbers on numpad or non-ASCII characters.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agowxOwnerDrawnComboBox: handle Home and End keys as native control does.
Václav Slavík [Mon, 5 Apr 2010 17:18:58 +0000 (17:18 +0000)] 
wxOwnerDrawnComboBox: handle Home and End keys as native control does.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoPass events around with ProcessEvent(), not AddPendingEvent().
Václav Slavík [Mon, 5 Apr 2010 17:18:55 +0000 (17:18 +0000)] 
Pass events around with ProcessEvent(), not AddPendingEvent().

The latter adds the event for later processing. As a result, the event
appears to be processed to the caller, even if the handled it was passed
to called Skip() on it. ProcessEvent() doesn't suffer from this problem,
it may modify the event as expected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agowxOwnerDrawnComboBox: handle numpad navigation keys.
Václav Slavík [Mon, 5 Apr 2010 17:18:50 +0000 (17:18 +0000)] 
wxOwnerDrawnComboBox: handle numpad navigation keys.

For consitency with the native control, up/down/pgup/pgdown keys should
be handled even when pressed on the numpad.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoImplement native mousewheel behaviour in wxOwnerDrawnComboBox.
Václav Slavík [Mon, 5 Apr 2010 17:18:46 +0000 (17:18 +0000)] 
Implement native mousewheel behaviour in wxOwnerDrawnComboBox.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoIn wxPopupFocusHandler, watch for EVT_CHAR, not EVT_KEY_DOWN.
Václav Slavík [Mon, 5 Apr 2010 17:18:41 +0000 (17:18 +0000)] 
In wxPopupFocusHandler, watch for EVT_CHAR, not EVT_KEY_DOWN.

We should close the popup only if neither of these events was processed;
previously, EVT_CHAR would never reach the popup in open state, as it
would be closed automatically.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomoving OnInit back
Stefan Csomor [Mon, 5 Apr 2010 12:44:31 +0000 (12:44 +0000)] 
moving OnInit back

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd support for gradient stops to wxGraphicsContext.
Vadim Zeitlin [Mon, 5 Apr 2010 12:15:11 +0000 (12:15 +0000)] 
Add support for gradient stops to wxGraphicsContext.

Allow specifying a set of gradient stops instead of just the beginning and
ending colours. Add the new wxGraphicsGradientStop(s) classes and new
wxGraphicsContext::Create{Linear,Radial}GradientBrush() overloads. Also change
the same methods of wxGraphicsRenderer to take wxGraphicsGradientStops instead
of a pair of colours.

Implement the new API for MSW and Cairo. OS X still uses just the two colours
for now.

Closes #11897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxTransparentColour global pseudo-variable.
Vadim Zeitlin [Mon, 5 Apr 2010 11:44:33 +0000 (11:44 +0000)] 
Add wxTransparentColour global pseudo-variable.

Introduce a symbolic name for a fully transparent colour.

See #11897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse helper wxColourToColor function in wxMSW wxGraphicsContext code.
Vadim Zeitlin [Mon, 5 Apr 2010 11:44:28 +0000 (11:44 +0000)] 
Use helper wxColourToColor function in wxMSW wxGraphicsContext code.

Don't repeat Color ctor from wxColour all the time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoavoid setting negative window size
Paul Cornett [Mon, 5 Apr 2010 01:07:24 +0000 (01:07 +0000)] 
avoid setting negative window size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofreeze whole window for TLW
Paul Cornett [Mon, 5 Apr 2010 01:06:39 +0000 (01:06 +0000)] 
freeze whole window for TLW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoavoid permanently frozen TLW when frozen child is destroyed with GTK+ 2.18
Paul Cornett [Mon, 5 Apr 2010 00:45:21 +0000 (00:45 +0000)] 
avoid permanently frozen TLW when frozen child is destroyed with GTK+ 2.18

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoResolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by break...
Jaakko Salli [Sun, 4 Apr 2010 15:22:43 +0000 (15:22 +0000)] 
Resolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by breaking up code in wxAny GetValue() and SetValue() functions into several lines (fixes #11865)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxTaskBarIcon to work under all Windows versions.
Vadim Zeitlin [Sun, 4 Apr 2010 13:19:58 +0000 (13:19 +0000)] 
Fix wxTaskBarIcon to work under all Windows versions.

When the code was compiled using a new SDK, creating wxTaskBarIcon failed
under older Windows systems because of a too big NOTIFYICONDATA size specified
by the program.

Fix this by using the fixed NOTIFYICONDATA_V2_SIZE to get old version of the
struct which nevertheless contains everything we need and even fall back to
NOTIFYICONDATA_V1_SIZE for Win9x if needed.

Closes #11886.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect compilation breakage of r63832.
Vadim Zeitlin [Sat, 3 Apr 2010 12:25:52 +0000 (12:25 +0000)] 
Correct compilation breakage of r63832.

wx/setup.h can't use wxCHECK_VISUALC_VERSION() which is defined in
wx/platform.h _after_ wx/setup.h inclusion.

Replace wxCHECK_VISUALC_VERSION() with manual tests for _MSC_VER.

Also add more comments to explain what's going on.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoshuffling code back from eventloop to common app utils
Stefan Csomor [Sat, 3 Apr 2010 09:58:19 +0000 (09:58 +0000)] 
shuffling code back from eventloop to common app utils

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agono special casing for iphone necessary
Stefan Csomor [Sat, 3 Apr 2010 09:49:10 +0000 (09:49 +0000)] 
no special casing for iphone necessary

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofixing wrong version commit
Stefan Csomor [Sat, 3 Apr 2010 09:43:30 +0000 (09:43 +0000)] 
fixing wrong version commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agosupport for toggle bitmap button
Stefan Csomor [Sat, 3 Apr 2010 09:10:38 +0000 (09:10 +0000)] 
support for toggle bitmap button

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofixing multilib build
Stefan Csomor [Sat, 3 Apr 2010 06:59:33 +0000 (06:59 +0000)] 
fixing multilib build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect typo in configure introduced in r63832.
Vadim Zeitlin [Fri, 2 Apr 2010 21:30:46 +0000 (21:30 +0000)] 
Correct typo in configure introduced in r63832.

See #11892.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAllow using wxGraphicsContext with MinGW if gdiplus.h is available.
Vadim Zeitlin [Fri, 2 Apr 2010 19:30:41 +0000 (19:30 +0000)] 
Allow using wxGraphicsContext with MinGW if gdiplus.h is available.

MinGW doesn't include gdiplus.h but it can be installed independently by the
user. Allow to use it if it's available:

- Include windows.h when checking for it in configure as this is apparently
  needed for its compilation.
- Don't reset wxUSE_GRAPHICS_CONTEXT to 0 for non-Microsoft compilers, instead
  just define it as 0 by default for them, allowing the user to simply change
  the definition in wx/msw/setup.h.

Closes #11892.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix crash in wxMediaCtrl::GetDownloadProgress() with ActiveMovie backend.
Vadim Zeitlin [Fri, 2 Apr 2010 19:30:34 +0000 (19:30 +0000)] 
Fix crash in wxMediaCtrl::GetDownloadProgress() with ActiveMovie backend.

IActiveMovie::get_FilterGraph() may return S_FALSE, i.e. succeed, while
leaving the output pointer NULL. Check for this and don't dereference the
pointer before checking for its validity.

Also do it for the other call in this function just in case. And rearrange the
code to be slightly more readable.

Closes #11894.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoShow labels for controls in wxOSX/Carbon toolbars.
Vadim Zeitlin [Fri, 2 Apr 2010 19:30:29 +0000 (19:30 +0000)] 
Show labels for controls in wxOSX/Carbon toolbars.

Add a call to HIToolbarItemSetLabel().

Closes #11885.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agokeeping m_labelOrig untouched, solves test failures (FM)
Stefan Csomor [Fri, 2 Apr 2010 18:19:03 +0000 (18:19 +0000)] 
keeping m_labelOrig untouched, solves test failures (FM)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agosimplifying modal event loop handling
Stefan Csomor [Fri, 2 Apr 2010 14:52:08 +0000 (14:52 +0000)] 
simplifying modal event loop handling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomoving OnInit to a later stage to avoid Carbon Emulation artifacts by the OS, fixes...
Stefan Csomor [Fri, 2 Apr 2010 12:27:39 +0000 (12:27 +0000)] 
moving OnInit to a later stage to avoid Carbon Emulation artifacts by the OS, fixes #11839

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomove everything inside wxUSE_RIBBON wrapper
Paul Cornett [Thu, 1 Apr 2010 17:16:57 +0000 (17:16 +0000)] 
move everything inside wxUSE_RIBBON wrapper

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoavoid setting negative window sizes
Paul Cornett [Thu, 1 Apr 2010 17:00:44 +0000 (17:00 +0000)] 
avoid setting negative window sizes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agodon't try to create a color named "Default"
Paul Cornett [Thu, 1 Apr 2010 16:59:34 +0000 (16:59 +0000)] 
don't try to create a color named "Default"

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix OpenVMS compile support for new version in src/stc
Jouk Jansen [Thu, 1 Apr 2010 09:59:19 +0000 (09:59 +0000)] 
Fix OpenVMS compile support for new version in src/stc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCommitting modified version of jwiesemann's patch (see #11223):
Francesco Montorsi [Tue, 30 Mar 2010 21:38:31 +0000 (21:38 +0000)] 
Committing modified version of jwiesemann's patch (see #11223):
Fix wxURL copy ctor and assignment: the default ones provided by the compiler are wrong because wxURL uses pointers internally.
Also add a test for copy & assignment in URLTestCase.

Closes #11223

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove unnecessary declarations.
Paul Cornett [Tue, 30 Mar 2010 16:14:11 +0000 (16:14 +0000)] 
Remove unnecessary declarations.
Contrary to the comment, they are not used often, in fact only once each
and in the same file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agocorrecting typo in commit 63803
Jouk Jansen [Tue, 30 Mar 2010 12:02:16 +0000 (12:02 +0000)] 
correcting typo in commit 63803

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDefining wxCOMPILE_TIME_ASSERT for OpenVMS
Jouk Jansen [Tue, 30 Mar 2010 11:54:37 +0000 (11:54 +0000)] 
Defining wxCOMPILE_TIME_ASSERT for OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoApply patch (plus some additional changes) upgrading Scintilla to version 2.03. ...
Robin Dunn [Tue, 30 Mar 2010 03:50:06 +0000 (03:50 +0000)] 
Apply patch (plus some additional changes) upgrading Scintilla to version 2.03.  Closes #11765, #11748, #11346

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agobetter docs for Get/SetLabel methods
Francesco Montorsi [Mon, 29 Mar 2010 21:31:27 +0000 (21:31 +0000)] 
better docs for Get/SetLabel methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix compilation breakage in r63783.
Vadim Zeitlin [Mon, 29 Mar 2010 21:24:44 +0000 (21:24 +0000)] 
Fix compilation breakage in r63783.

Added missing #endif.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoOnly allow opening existing files in docview framework.
Vadim Zeitlin [Mon, 29 Mar 2010 21:24:39 +0000 (21:24 +0000)] 
Only allow opening existing files in docview framework.

Use wxFD_FILE_MUST_EXIST when asking the user for the name of the file to
open.

Closes #11866.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxUSE_FSWATCHER dependency on wxUSE_THREADS for wxMSW.
Vadim Zeitlin [Mon, 29 Mar 2010 20:57:41 +0000 (20:57 +0000)] 
Add wxUSE_FSWATCHER dependency on wxUSE_THREADS for wxMSW.

wxFileSystemWatcher implementation uses threads under MSW and can't be
compiled when wxUSE_THREADS==0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFor better support of wxValidators, invoke wxValidator::Validate() directly. Also...
Jaakko Salli [Mon, 29 Mar 2010 18:17:55 +0000 (18:17 +0000)] 
For better support of wxValidators, invoke wxValidator::Validate() directly. Also remove obsolete flag wxPG_FL_VALIDATION_FAILED and make wxPropertyGrid::DoEditorValidate() virtual.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse fixed screen DPI of 96 when printing HTML.
Václav Slavík [Mon, 29 Mar 2010 14:19:06 +0000 (14:19 +0000)] 
Use fixed screen DPI of 96 when printing HTML.

Unlike font sizes, which depend on screen resolution because of weird
wxFont API, pixel sizes used elsewhere (and in particular, for images)
shouldn't depend on screen DPI.

This finally makes the output independent of screen size.

Fixes #10942.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemoved useless wxDisplaySize() calls from wxHtmlPrintout.
Václav Slavík [Mon, 29 Mar 2010 14:18:58 +0000 (14:18 +0000)] 
Removed useless wxDisplaySize() calls from wxHtmlPrintout.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxBitmap unit test.
Vadim Zeitlin [Mon, 29 Mar 2010 09:59:05 +0000 (09:59 +0000)] 
Add wxBitmap unit test.

This should have been part of r63774.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agobuild fix for IRIX
Paul Cornett [Mon, 29 Mar 2010 06:45:00 +0000 (06:45 +0000)] 
build fix for IRIX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agonon-pch build fix
Paul Cornett [Mon, 29 Mar 2010 06:44:16 +0000 (06:44 +0000)] 
non-pch build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoReverse hierarchy of wxPizza GdkWindows
Paul Cornett [Mon, 29 Mar 2010 01:16:06 +0000 (01:16 +0000)] 
Reverse hierarchy of wxPizza GdkWindows
widget->window must be topmost in order for GTK+ to calculate DND drop coordinates correctly
fixes #11834

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoImplement wxMask copy ctor for wxGTK.
Vadim Zeitlin [Sun, 28 Mar 2010 23:20:49 +0000 (23:20 +0000)] 
Implement wxMask copy ctor for wxGTK.

Without copy ctor copying masks simply crashed because the same pointer was
deleted twice.

Also added a (completely trivial but better than nothing...) unit test for
wxBitmap to check that copying masks does work now.

Closes #11854.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSuppress gcc warnings about double to int conversion.
Vadim Zeitlin [Sun, 28 Mar 2010 23:20:41 +0000 (23:20 +0000)] 
Suppress gcc warnings about double to int conversion.

This change might actually make the code more correct as well although in
practice it probably doesn't change anything.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix bug in wxMBConv_cf::FromWChar() in OS X.
Vadim Zeitlin [Sun, 28 Mar 2010 22:39:39 +0000 (22:39 +0000)] 
Fix bug in wxMBConv_cf::FromWChar() in OS X.

Apparently CFStringGetBytes() doesn't always behave as expected, work around
this by checking that the returned buffer size is not greater than the size we
passed in.

Closes #11859.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoClarify wxMenu objects allocation rules.
Vadim Zeitlin [Sun, 28 Mar 2010 22:39:32 +0000 (22:39 +0000)] 
Clarify wxMenu objects allocation rules.

Make it clear that only the menu directly passed to wxWindow::PopupMenu()
doesn't need to be allocated on the heap and that its submenus still do.

Closes #11851.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agono real changes: just a small optimization on wxStaticText::DoSetLabel() to avoid...
Francesco Montorsi [Sun, 28 Mar 2010 22:23:38 +0000 (22:23 +0000)] 
no real changes: just a small optimization on wxStaticText::DoSetLabel() to avoid altering m_labelOrig there (it's already modified by SetLabel(), no need to change it twice)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agowxHTML: Support percentage width in IMG tag.
Václav Slavík [Sun, 28 Mar 2010 17:55:51 +0000 (17:55 +0000)] 
wxHTML: Support percentage width in IMG tag.

(Patch #11800 by lpoujoulat) Fixes #11800.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix UTF-8 string storage in constant: use unsigned char.
Václav Slavík [Sun, 28 Mar 2010 17:52:19 +0000 (17:52 +0000)] 
Fix UTF-8 string storage in constant: use unsigned char.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoReverted wxFileSystem support in wxLocale.
Václav Slavík [Sun, 28 Mar 2010 15:41:41 +0000 (15:41 +0000)] 
Reverted wxFileSystem support in wxLocale.

The implementation was broken in numerous ways. URLs were corrupted in
search paths thanks to use of wxFileName for normalization. Lookup of
catalogs was broken, because ":" in URLs were interpreted as path
separators. Asserts occured because filenames were (incorrectly!)
interpreted as URLs.

Will replace with proper implementation.

See #8793, #11491.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxFileSystem::FileNameToURL() for Unicode file names.
Václav Slavík [Sun, 28 Mar 2010 15:41:35 +0000 (15:41 +0000)] 
Fix wxFileSystem::FileNameToURL() for Unicode file names.

If filename with non-ASCII characters was encoded, resulting URL
contained non-ASCII characters. But URLToFileName() expected the
input to be in UTF-8. This change fixes it by using UTF-8 for
file: URLs in FileNameToURL() too.

Fixes #11491.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd test wxFileSystem::FileNameToURL,URLToFileName roundtrip with
Václav Slavík [Sun, 28 Mar 2010 15:41:29 +0000 (15:41 +0000)] 
Add test wxFileSystem::FileNameToURL,URLToFileName roundtrip with
Unicode filenames.

See #11491.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoPreserve m_skipped in wx[Var]ScrollHelperEvtHandler::ProcessEvent.
Václav Slavík [Sun, 28 Mar 2010 14:37:30 +0000 (14:37 +0000)] 
Preserve m_skipped in wx[Var]ScrollHelperEvtHandler::ProcessEvent.

If the event was skipped and not processed, its "skipped" status would
be lost.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix compilation of wx/debug.h when it's the first wx header to be included.
Vadim Zeitlin [Thu, 25 Mar 2010 20:08:05 +0000 (20:08 +0000)] 
Fix compilation of wx/debug.h when it's the first wx header to be included.

We must include wx/dlimpexp.h from wx/debug.h to be able to forward declare
wxString and wxCStrData using WXDLLIMPEXP_FWD_BASE, otherwise compilation
errors occur in the code which includes wx/debug.h as the first wx header.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAllow overriding print preview frame creation in docview.
Vadim Zeitlin [Thu, 25 Mar 2010 20:07:58 +0000 (20:07 +0000)] 
Allow overriding print preview frame creation in docview.

Add a virtual wxDocManager::CreatePreviewFrame() which can be overridden to
customize the print preview used by docview framework.

Closes #11390.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix focus at the end of a property label edit (needed at least for wxGTK)
Jaakko Salli [Thu, 25 Mar 2010 15:55:01 +0000 (15:55 +0000)] 
Fix focus at the end of a property label edit (needed at least for wxGTK)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoIn wxPropertyGrid::HandleCustomEditorEvent(), ignore events coming from a label editor
Jaakko Salli [Thu, 25 Mar 2010 15:40:27 +0000 (15:40 +0000)] 
In wxPropertyGrid::HandleCustomEditorEvent(), ignore events coming from a label editor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUpdates to make wxWidgets compaile on OpenVMS again
Jouk Jansen [Thu, 25 Mar 2010 11:16:32 +0000 (11:16 +0000)] 
Updates to make wxWidgets compaile on OpenVMS again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agobetter fix for #11803, don't set iconized state for hidden window
Paul Cornett [Tue, 23 Mar 2010 17:58:03 +0000 (17:58 +0000)] 
better fix for #11803, don't set iconized state for hidden window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoignore iconized state when computing client size for GetBestSize(), fixes #11803
Paul Cornett [Tue, 23 Mar 2010 17:19:02 +0000 (17:19 +0000)] 
ignore iconized state when computing client size for GetBestSize(), fixes #11803

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdding keyboard sample to OpenVMS makefiles
Jouk Jansen [Tue, 23 Mar 2010 15:14:25 +0000 (15:14 +0000)] 
Adding keyboard sample to OpenVMS makefiles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoImplement wxDocument::Revert() and show its use in the sample.
Vadim Zeitlin [Tue, 23 Mar 2010 10:49:51 +0000 (10:49 +0000)] 
Implement wxDocument::Revert() and show its use in the sample.

wxDocument::Revert() method existed but didn't do anything, provide a
default implementation for it. Also document it and show it in the sample.

Closes #11849.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAlways call wxView::Close() when closing it.
Vadim Zeitlin [Tue, 23 Mar 2010 10:36:36 +0000 (10:36 +0000)] 
Always call wxView::Close() when closing it.

After wxDocView refactoring the behaviour has changed and wxView::Close() and
hence user-overriddable OnClose() called from it) was only called if the close
event could be vetoed. This broke code which relied on OnClose() being
executed in any case to perform some cleanup and was incompatible with 2.8 so
restore the old behaviour now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed ordering bug that caused an assertion because symbol list control wasn't set...
Julian Smart [Tue, 23 Mar 2010 08:59:52 +0000 (08:59 +0000)] 
Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd uiaction sample to the list of samples to build if enabled.
Vadim Zeitlin [Mon, 22 Mar 2010 22:56:26 +0000 (22:56 +0000)] 
Add uiaction sample to the list of samples to build if enabled.

The uiaction sample was never built under Unix, do add it to SAMPLES_SUBDIRS
to enable building it if wxUSE_UIACTIONSIMULATOR==1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoLet uiaction sample compile even if wxUSE_UIACTIONSIMULATOR==0.
Vadim Zeitlin [Mon, 22 Mar 2010 22:56:22 +0000 (22:56 +0000)] 
Let uiaction sample compile even if wxUSE_UIACTIONSIMULATOR==0.

There is no way to exclude the sample from the build under Windows so make it
compile and link even if wxUSE_UIACTIONSIMULATOR==0 but just give an error
message on startup in this case instead of working as expected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoClarify wxDateTime::ParseDateTime() semantics: it needs both date and time.
Vadim Zeitlin [Mon, 22 Mar 2010 22:56:17 +0000 (22:56 +0000)] 
Clarify wxDateTime::ParseDateTime() semantics: it needs both date and time.

Correct documentation and also remove unnecessary initialization of variables
and comments in the function itself.

See #11846.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoTemporarily disable wxFileSystemWatcher unit test under OS X.
Vadim Zeitlin [Mon, 22 Mar 2010 16:08:44 +0000 (16:08 +0000)] 
Temporarily disable wxFileSystemWatcher unit test under OS X.

This tests hangs and never finishes, disable it for now to allow buildbot to
at least run the other tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed RefreshRect() call in wxPropertyGrid::DrawItems() to use physical window coordi...
Jaakko Salli [Mon, 22 Mar 2010 16:07:45 +0000 (16:07 +0000)] 
Fixed RefreshRect() call in wxPropertyGrid::DrawItems() to use physical window coordinates instead of logical grid ones

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxOSX compilation without PCH.
Vadim Zeitlin [Mon, 22 Mar 2010 11:40:40 +0000 (11:40 +0000)] 
Fix wxOSX compilation without PCH.

Explicitly include wx/nonownedwnd.h as we use wxNonOwnedWindow in this file.

Closes #11833.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxUSE_UIACTIONSIMULATOR and turn it off by default.
Vadim Zeitlin [Mon, 22 Mar 2010 11:40:35 +0000 (11:40 +0000)] 
Add wxUSE_UIACTIONSIMULATOR and turn it off by default.

Disable the recently added wxUIActionSimulator class until the issues with it
mentioned at http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/119792/
are fixed.

Also use "" around wx headers instead of <> in wx code itself.

See #11801.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't enter an infinite loop if a spacer with min size of -1 is used.
Vadim Zeitlin [Mon, 22 Mar 2010 11:40:26 +0000 (11:40 +0000)] 
Don't enter an infinite loop if a spacer with min size of -1 is used.

Sizer layout algorithm broke down if min size of an item happened to be -1,
i.e. the same value as we use as a sentinel for indicating that the min size
hasn't been fixed yet. It doesn't make much sense for min size to be negative
in the first place but currently this can happen at least for spacers so deal
with it here by ensuring that the min size we use is positive.

Closes #11842.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix the selection validity check in wxSingleChoiceDialog.
Vadim Zeitlin [Mon, 22 Mar 2010 11:40:19 +0000 (11:40 +0000)] 
Fix the selection validity check in wxSingleChoiceDialog.

Fix the typo ("> 0" was used instead of ">= 0") introduced in r63731.

Closes #11844.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoreorder GetLabel(), GetLabelText(), SetLabel() and SetLabelText() function declaratio...
Francesco Montorsi [Sun, 21 Mar 2010 21:39:15 +0000 (21:39 +0000)] 
reorder GetLabel(), GetLabelText(), SetLabel() and SetLabelText() function declarations, implementations and relative documentations.

Add wxStaticTextBase::GetLabelWithoutMarkup() and use it in the wxMSW implementation of wxStaticText::SetLabel() to close bug #11446; the function RemoveMarkup() which was previously used in fact could not check for presence/absence of wxST_MARKUP style since it's a static function.

Add wxStaticTextBase::SetLabelText() functions for symmetry with wxControlBase::SetLabelText()

Add test unit for both wxControl::*Label* and wxStaticText::*Label* functions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect wxFILTER_DIGITS handling broken by r63582.
Vadim Zeitlin [Sun, 21 Mar 2010 11:06:36 +0000 (11:06 +0000)] 
Correct wxFILTER_DIGITS handling broken by r63582.

The fix in r63582 accidentally omitted the "!" in wxFILTER_DIGITS check.

Restore it.

Closes #11838.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd initial selection parameter to wxGetSingleChoice() functions.
Vadim Zeitlin [Sun, 21 Mar 2010 11:06:31 +0000 (11:06 +0000)] 
Add initial selection parameter to wxGetSingleChoice() functions.

Allow to easily specify the initially selected item.

Closes #11749.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't leak m_protocol in wxURL.
Vadim Zeitlin [Sun, 21 Mar 2010 11:06:26 +0000 (11:06 +0000)] 
Don't leak m_protocol in wxURL.

Destroy the old protocol before creating it anew in ParseURL().

Closes #11796.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMake wxPGVFBFlags an unsigned char define instead of wxByte typedef (easier time...
Jaakko Salli [Sat, 20 Mar 2010 14:08:34 +0000 (14:08 +0000)] 
Make wxPGVFBFlags an unsigned char define instead of wxByte typedef (easier time for wxPython bindings)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove obsolete parts of wxPageSetupDialog documentation.
Vadim Zeitlin [Sat, 20 Mar 2010 13:18:28 +0000 (13:18 +0000)] 
Remove obsolete parts of wxPageSetupDialog documentation.

Don't speak about features "new" in Windows 95 nor 4.0 any more (what next,
discussion of wxWidgets limitations when running on an abacus?) but do mention
that this dialog is native under all major platforms now.

Closes #11820.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxMessageDialog::GetEffectiveIcon() and use it in all ports.
Vadim Zeitlin [Sat, 20 Mar 2010 13:18:23 +0000 (13:18 +0000)] 
Add wxMessageDialog::GetEffectiveIcon() and use it in all ports.

Remove code duplication and inconsistencies among different ports by using a
single function in the base class for the determination of the effective icon
style to use, correctly handling both wxICON_NONE and the absence of any
wxICON_XXX styles.

Closes #11822.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove unused and empty src/x11/joystick.cpp file.
Vadim Zeitlin [Sat, 20 Mar 2010 13:03:09 +0000 (13:03 +0000)] 
Remove unused and empty src/x11/joystick.cpp file.

This was never implemented and is unlikely to ever be. In any case the file
didn't contain anything useful.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRename wxWindow::GetMainWindow() to X11GetMainWindow() in wxX11.
Vadim Zeitlin [Sat, 20 Mar 2010 13:03:05 +0000 (13:03 +0000)] 
Rename wxWindow::GetMainWindow() to X11GetMainWindow() in wxX11.

This avoids conflicts with GetMainWindow() defined in other wxWindow-derived
classes (such as wxDataViewCtrl and potentially user-defined classes as well).

Closes #11818.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix a couple of harmless unused parameter warnings in wxX11.
Vadim Zeitlin [Sat, 20 Mar 2010 13:03:00 +0000 (13:03 +0000)] 
Fix a couple of harmless unused parameter warnings in wxX11.

See #11818.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDe-TAB-bed src/x11/pango_x.cpp.
Vadim Zeitlin [Sat, 20 Mar 2010 13:02:56 +0000 (13:02 +0000)] 
De-TAB-bed src/x11/pango_x.cpp.

This is necessary in order to be able to check in its modified version in the
next commit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix some harmless unused parameter warnings.
Vadim Zeitlin [Sat, 20 Mar 2010 12:45:47 +0000 (12:45 +0000)] 
Fix some harmless unused parameter warnings.

These warnings only happen in specific builds (when HAVE_LANGINFO_H and
wxUSE_DISPLAY are undefined/off).

See #11817.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCheck whether SA_RESTART is defined and don't use it if it isn't.
Vadim Zeitlin [Sat, 20 Mar 2010 12:45:43 +0000 (12:45 +0000)] 
Check whether SA_RESTART is defined and don't use it if it isn't.

SA_RESTART is not defined for QNX and not only VMS so test for it directly
instead of testing for the platform.

See #11817.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoInclude sys/time.h from threadpsx.cpp for all systems.
Vadim Zeitlin [Sat, 20 Mar 2010 12:45:39 +0000 (12:45 +0000)] 
Include sys/time.h from threadpsx.cpp for all systems.

It's needed by Linux and QNX and shouldn't do any harm under the others.

See #11817.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd support for QNX to dialup detection code.
Vadim Zeitlin [Sat, 20 Mar 2010 12:45:33 +0000 (12:45 +0000)] 
Add support for QNX to dialup detection code.

See #11817.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775