]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
11 years agoHandle wxALWAYS_SHOW_SB in wxOSX.
Vadim Zeitlin [Wed, 17 Jul 2013 17:27:00 +0000 (17:27 +0000)] 
Handle wxALWAYS_SHOW_SB in wxOSX.

Initialize m_[hv]ScrollBarAlwaysShown to true if this flag is given when
creating the window.

Closes #15344.

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

11 years agoMention more announcement channels in the release making instructions.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:44 +0000 (12:57 +0000)] 
Mention more announcement channels in the release making instructions.

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

11 years agoRemove more exclusions from Inno Setup file.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:41 +0000 (12:57 +0000)] 
Remove more exclusions from Inno Setup file.

Some excluded entries were not-existent anyhow (.cvsignore, wxPython, *.pch)
while others could be useful to have (misc).

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

11 years agoDon't exclude tests from wxMSW-Setup.exe.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:38 +0000 (12:57 +0000)] 
Don't exclude tests from wxMSW-Setup.exe.

The tests are useful to have to be able to check some functionality.

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

11 years agoExclude "osx" files, not "mac" ones, from Inno Setup file.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:35 +0000 (12:57 +0000)] 
Exclude "osx" files, not "mac" ones, from Inno Setup file.

"mac" subdirectories don't exist any more.

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

11 years agoRemove redundant lines from Inno Setup file.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:32 +0000 (12:57 +0000)] 
Remove redundant lines from Inno Setup file.

We don't need to handle the documentation files separately when they are
already taken care of together with everything else anyhow.

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

11 years agoDocument the release scripts really used for making releases.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:29 +0000 (12:57 +0000)] 
Document the release scripts really used for making releases.

End the polite fiction that build/tools/create-archive.py is used to build the
release because it isn't and all the last releases were built using different
scripts. Document their use in more details.

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

11 years agoRemove Inno Setup file dependency on c:\daily path.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:26 +0000 (12:57 +0000)] 
Remove Inno Setup file dependency on c:\daily path.

Generate the output file in the parent of the sources directory and take care
of copying it to c:\daily in bld_chm_exe.bat itself.

This allows to use wxwidgets.iss without that batch file and also on systems
without c:\ drive at all.

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

11 years agoUse "INNO" env var in Inno Setup script only if it's defined.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:23 +0000 (12:57 +0000)] 
Use "INNO" env var in Inno Setup script only if it's defined.

Just use the sources directory itself if %INNO% is not defined. In fact, I
think we could always use the source directory, actually, but just in case
there was some reason to do it like this, keep using %INNO% if it is defined.

Also check that WXW_VER environment variable that we use is, in fact, defined.

FIX: Use relative path, not %WXWIN% in ISS script.

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

11 years agoUpdate binaries release notes for 2.9.5.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:21 +0000 (12:57 +0000)] 
Update binaries release notes for 2.9.5.

Correct the compiler versions used and update the checksums.

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

11 years agoUpdate SHA1 sums for 2.9.5 release files.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:18 +0000 (12:57 +0000)] 
Update SHA1 sums for 2.9.5 release files.

Add CHM and wxMSW setup, remove Headers.7z which is in binaries subdirectory.

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

11 years agoAdd a test for eol-native file existence in the release script.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:15 +0000 (12:57 +0000)] 
Add a test for eol-native file existence in the release script.

Otherwise it could silently create a distribution with the files with wrong
EOLs.

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

11 years agoMention that wxWidgets-x.y.z_Headers.7z must be uploaded to binaries subdir.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:13 +0000 (12:57 +0000)] 
Mention that wxWidgets-x.y.z_Headers.7z must be uploaded to binaries subdir.

This file goes with the binaries, not the sources. Also fix its extension.

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

11 years agoMake it possible to use svn-find-native-eols script without svn checkout.
Vadim Zeitlin [Wed, 17 Jul 2013 12:57:07 +0000 (12:57 +0000)] 
Make it possible to use svn-find-native-eols script without svn checkout.

This should make it simpler to use it for other people.

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

11 years agofixing parameter name
Stefan Csomor [Wed, 17 Jul 2013 10:46:09 +0000 (10:46 +0000)] 
fixing parameter name

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

11 years agoUpdated release notes for 2.9.5.
Vadim Zeitlin [Tue, 16 Jul 2013 19:16:45 +0000 (19:16 +0000)] 
Updated release notes for 2.9.5.

Change the version and update sha1sums.

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

11 years agoAdd manually created VC10 project and solution files for the library.
Vadim Zeitlin [Tue, 16 Jul 2013 15:47:14 +0000 (15:47 +0000)] 
Add manually created VC10 project and solution files for the library.

These files were obtained by importing the VC9 files and then setting up the
dependencies correctly in the solution. This is just a temporary solution and
we'll hopefully generate them with bakefile-1 for the 3.0 release but for now
this is better than nothing.

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

11 years agoFix insertion of radio menu items in wxOSX wxMenu.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:39 +0000 (14:10 +0000)] 
Fix insertion of radio menu items in wxOSX wxMenu.

Deal correctly with updating the indices when a radio item is inserted into an
existing radio group (which wasn't done previously and resulted in a unit test
failure in MenuTestCase::RadioItems()) and also with inserting the normal
items before an existing radio group as the stored indices were not updated
correctly.

The code is still ugly and it probably wouldn't be a bad idea to reuse
wxMenuRadioItemsData used in wxMSW for similar purposes, but at least the unit
tests pass now.

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

11 years agoAllow unsetting wxMenuItem as start of radio group too.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:35 +0000 (14:10 +0000)] 
Allow unsetting wxMenuItem as start of radio group too.

This must be called if another radio item is inserted before the current
starting one.

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

11 years agoNo changes, just fix some comments in wxOSX wxMenu header.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:32 +0000 (14:10 +0000)] 
No changes, just fix some comments in wxOSX wxMenu header.

Mostly clarify DoInsertOrAppend() comment, the "is"/"if" typo made it rather
unclear.

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

11 years agoNo changes, just renamed "pItem" to "item" in wxOSX menu code.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:29 +0000 (14:10 +0000)] 
No changes, just renamed "pItem" to "item" in wxOSX menu code.

Get rid of this pseudo-Hungarian notation and make the naming of the variables
consistent across the whole file.

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

11 years agoGet rid of wxMenu::m_startRadioGroup in wxOSX.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:26 +0000 (14:10 +0000)] 
Get rid of wxMenu::m_startRadioGroup in wxOSX.

This code was probably copied from wxUniv but was wrong as we can't rely on
the items being always inserted in order. This commit on its own fixes
removing the first radio group menu item but it also makes possible to
properly implement the insertion of new items in the middle of an existing
radio group which couldn't be done with m_startRadioGroup approach at all.

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

11 years agoFix harmless unused parameter warning in wxOSX.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:22 +0000 (14:10 +0000)] 
Fix harmless unused parameter warning in wxOSX.

We don't use the timestamp in wxNonOwnedWindow::HandleResized().

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

11 years agoAdd wxMenuItem::IsCheck() and IsRadio() accessors.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:20 +0000 (14:10 +0000)] 
Add wxMenuItem::IsCheck() and IsRadio() accessors.

The latter will be convenient to use in the upcoming changes to wxOSX radio
items management code and add the former for the symmetry.

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

11 years agoUse [DOMRange markupString] to get selection source.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:17 +0000 (14:10 +0000)] 
Use [DOMRange markupString] to get selection source.

This DOMRange method, previously used in GetSelectedText(), seems to provide
exactly what we need so there doesn't seem to be any reason to use JS to get
the selection text, especially as it didn't even work under OS X 10.8 and
returned an empty string in the unit test.

The unit test still needs adjustment to pass because we don't get back exactly
the same HTML as we used originally, but with more relaxed matching it does
pass now.

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

11 years agoReturn raw text, not markup, from wxWebViewWebKit::GetSelectedText().
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:14 +0000 (14:10 +0000)] 
Return raw text, not markup, from wxWebViewWebKit::GetSelectedText().

Under OS X the markup string was returned, unlike in all the other ports,
resulting in a unit test failure, fix this.

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

11 years agoNo changes, just get rid of some wxT()s in wxString unit test.
Vadim Zeitlin [Tue, 16 Jul 2013 14:10:11 +0000 (14:10 +0000)] 
No changes, just get rid of some wxT()s in wxString unit test.

They were unnecessary and cluttered the code too much.

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

11 years agonever return negative client sizes, fixes #15338
Stefan Csomor [Tue, 16 Jul 2013 05:13:35 +0000 (05:13 +0000)] 
never return negative client sizes, fixes #15338

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

11 years agoReally fix wxUSE_PREFERENCES_EDITOR requirements check.
Vadim Zeitlin [Mon, 15 Jul 2013 22:37:52 +0000 (22:37 +0000)] 
Really fix wxUSE_PREFERENCES_EDITOR requirements check.

The changes of r74532 were incomplete/wrong and the fix of r74536 didn't
entirely fix the logic here, so try to do it again, hopefully correctly this
time.

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

11 years agoOnly disable wxUSE_PREFERENCES_EDITOR if wxUSE_NOTEBOOK is False, not if it's True.
Robin Dunn [Mon, 15 Jul 2013 18:04:43 +0000 (18:04 +0000)] 
Only disable wxUSE_PREFERENCES_EDITOR if wxUSE_NOTEBOOK is False, not if it's True.

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

11 years agokeeping selected page, fixes #15334
Stefan Csomor [Mon, 15 Jul 2013 17:31:25 +0000 (17:31 +0000)] 
keeping selected page, fixes #15334

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

11 years agoMove HAVE_WCSXXX from wx/osx/config_xcode.h to wx/osx/chkconf.h.
Vadim Zeitlin [Mon, 15 Jul 2013 16:42:10 +0000 (16:42 +0000)] 
Move HAVE_WCSXXX from wx/osx/config_xcode.h to wx/osx/chkconf.h.

The latter file is also used when building from the command line while the
former is only used in Xcode build, as its name indicates (which didn't help
me to notice it, however).

Also restore the test for wcsftime() in configure as it is available even on
older systems but do not test for strnlen() -- as it is not.

These changes amend those of r74523.

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

11 years agomaking sure images are in synch with the pages
Stefan Csomor [Mon, 15 Jul 2013 16:36:20 +0000 (16:36 +0000)] 
making sure images are in synch with the pages

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

11 years agoAdd wxUSE_PREFERENCES_EDITOR and the corresponding configure option.
Vadim Zeitlin [Mon, 15 Jul 2013 15:14:59 +0000 (15:14 +0000)] 
Add wxUSE_PREFERENCES_EDITOR and the corresponding configure option.

This was somehow forgotten when wxPreferencesEditor was added.

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

11 years agoFix new wxExecute() code compilation with wxUSE_CONSOLE_EVENTLOOP==0.
Vadim Zeitlin [Mon, 15 Jul 2013 15:14:53 +0000 (15:14 +0000)] 
Fix new wxExecute() code compilation with wxUSE_CONSOLE_EVENTLOOP==0.

Nothing is going to work without the console apps/base traits support for the
event loop but at least make it compile.

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

11 years agoFix wxGTK compilation in wxUSE_MENUS==0 case.
Vadim Zeitlin [Mon, 15 Jul 2013 15:14:49 +0000 (15:14 +0000)] 
Fix wxGTK compilation in wxUSE_MENUS==0 case.

Add missing check for it to wxWindow::DoFindFocus().

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

11 years agoAvoid including pipe stream headers when streams are disabled.
Vadim Zeitlin [Mon, 15 Jul 2013 15:14:46 +0000 (15:14 +0000)] 
Avoid including pipe stream headers when streams are disabled.

Fixes compilation with wxUSE_STREAMS==0.

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

11 years agoRomanian translations update from Cătălin Răceanu.
Vadim Zeitlin [Mon, 15 Jul 2013 01:49:02 +0000 (01:49 +0000)] 
Romanian translations update from Cătălin Răceanu.

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

11 years agoDon't hard code "2.9.3" in the release preparation instructions.
Vadim Zeitlin [Mon, 15 Jul 2013 01:48:57 +0000 (01:48 +0000)] 
Don't hard code "2.9.3" in the release preparation instructions.

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

11 years agoDon't use images in wxToolBar with wxTB_NOICONS in wxOSX.
Vadim Zeitlin [Mon, 15 Jul 2013 01:32:03 +0000 (01:32 +0000)] 
Don't use images in wxToolBar with wxTB_NOICONS in wxOSX.

This results in asserts when adding items without bitmaps, but this should be
allowed when using wxTB_NOICONS.

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

11 years agoDisable wxFont::SetStrikethrough() test under wxOSX.
Vadim Zeitlin [Mon, 15 Jul 2013 01:32:00 +0000 (01:32 +0000)] 
Disable wxFont::SetStrikethrough() test under wxOSX.

Strike through support is not available in wxFont under this platform, as
documented.

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

11 years agoSupport using GetTextExtent() with empty string to get descent in wxOSX.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:56 +0000 (01:31 +0000)] 
Support using GetTextExtent() with empty string to get descent in wxOSX.

Allow measuring the descent and external leading of an empty string by
measuring just a space instead in wxOSX. This makes the behaviour more
consistent with wxMSW and makes the unit test added in r74464 pass under OS X
too.

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

11 years agoDon't test for wide character functions in configure under OS X.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:51 +0000 (01:31 +0000)] 
Don't test for wide character functions in configure under OS X.

The tests for these functions may succeed on the system we're running under
but the functions may not be actually available on the system the application
is going to run under (if it's < 10.7).

So use our own replacements for these functions unless 10.7 was explicitly
chosen as the minimal possible version.

An alternative solution could have been to use weak linking but this is more
difficult and there is no real gain (performance would need to be measured
first).

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

11 years agoFix totally broken LocaleSetter class in the test suite.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:47 +0000 (01:31 +0000)] 
Fix totally broken LocaleSetter class in the test suite.

It was based on a completely erroneous assumption that setlocale() returns the
locale that had been previously active when it actually returns the newly set
locale.

This fixes unit test failures in StringTestCase under OS X, as the locale
wasn't correctly restored by DateTimeTestCase that used this class.

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

11 years agoFix harmless Clang warning about unused class member in a test.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:43 +0000 (01:31 +0000)] 
Fix harmless Clang warning about unused class member in a test.

The m_i field is only used in the currently commented out debugging messages,
suppress a warning about it being unused.

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

11 years agoFix harmless Clang warning about an unused function.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:40 +0000 (01:31 +0000)] 
Fix harmless Clang warning about an unused function.

GlobalOnAnotherEvent() is not used in normal testing.

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

11 years agoSuppress harmless clang 3.3 warning about unused wxMessageOutputBest field.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:36 +0000 (01:31 +0000)] 
Suppress harmless clang 3.3 warning about unused wxMessageOutputBest field.

Clang detects that a class member is unused (under non-Windows systems) which
is quite impressive but not really useful in this particular case, so suppress
this warning by "using" it.

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

11 years agoFix error checking in wxFileSystemWatcher::Remove() under OS X.
Vadim Zeitlin [Mon, 15 Jul 2013 01:31:32 +0000 (01:31 +0000)] 
Fix error checking in wxFileSystemWatcher::Remove() under OS X.

The boolean return value was compared with -1 which was always false.

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

11 years agoDisable wxUSE_ENH_METAFILE for wxGTK builds.
Vadim Zeitlin [Sun, 14 Jul 2013 17:12:48 +0000 (17:12 +0000)] 
Disable wxUSE_ENH_METAFILE for wxGTK builds.

This can happen to be defined in wxGTK builds under Windows.

Closes #15332.

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

11 years agoMake wxMSW wxSpinCtrl "not enough space" messages more helpful.
Vadim Zeitlin [Sun, 14 Jul 2013 15:45:00 +0000 (15:45 +0000)] 
Make wxMSW wxSpinCtrl "not enough space" messages more helpful.

And also less annoying: remove the messages from DoMoveWindow() which could be
given during resizing but not necessarily corresponded to the final control
size.

And give more details about which control is not being given enough space when
a too small size is given in the ctor.

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

11 years agoFix crash in docview code if view initialization failed.
Vadim Zeitlin [Sun, 14 Jul 2013 15:26:36 +0000 (15:26 +0000)] 
Fix crash in docview code if view initialization failed.

The change of r71371 resulted in using the already destroyed (implicitly, done
as part of destroying the wxView that failed to initialize) wxDocument in
wxScopeGuard destructor.

Avoid this and make the old (i.e. pre-r71371) code exception safe while
keeping its semantics exactly, i.e. only delete all views if the document
still exists.

Also add a comment explaining what's going on here because the ownership rules
in docview code are frankly crazy.

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

11 years agoSwedish translations update from Jonas Rydberg.
Vadim Zeitlin [Sun, 14 Jul 2013 14:22:35 +0000 (14:22 +0000)] 
Swedish translations update from Jonas Rydberg.

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

11 years agoDon't use wxCriticalSection in wxWakeUpPipeMT if wxUSE_THREADS==0.
Vadim Zeitlin [Sun, 14 Jul 2013 11:34:27 +0000 (11:34 +0000)] 
Don't use wxCriticalSection in wxWakeUpPipeMT if wxUSE_THREADS==0.

In fact, don't define wxWakeUpPipeMT class at all when not using threads.

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

11 years agoDon't build tex2rtf and HelpGen utils in non-GUI buildbot builds.
Vadim Zeitlin [Sun, 14 Jul 2013 11:32:46 +0000 (11:32 +0000)] 
Don't build tex2rtf and HelpGen utils in non-GUI buildbot builds.

Both of those are obsolete and don't exist in 2.9 any longer.

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

11 years agosupport for @2x notation for wxBITMAP_TYPE_PNG (non-resource) on retina displays
Stefan Csomor [Sun, 14 Jul 2013 11:16:32 +0000 (11:16 +0000)] 
support for @2x notation for wxBITMAP_TYPE_PNG (non-resource) on retina displays

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

11 years agoBetter fix for wxX11 linking problems than r74499.
Vadim Zeitlin [Sat, 13 Jul 2013 23:35:55 +0000 (23:35 +0000)] 
Better fix for wxX11 linking problems than r74499.

Fix wxX11 without breaking wxGTK/Windows makefiles generation.

Closes #15327.

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

11 years agoRestore embedding manifest when using MinGW.
Vadim Zeitlin [Sat, 13 Jul 2013 23:23:27 +0000 (23:23 +0000)] 
Restore embedding manifest when using MinGW.

The changes of r73483 broke inclusion of the manifest in the programs built
using MinGW because wxUSE_RC_MANIFEST was never defined. Somehow nobody
complained about it but this resulted in using comctl32.dll 5.80 instead of
6.0 and e.g. problems with toolbar appearance (see #13512).

Do use the manifest by default with MinGW and, in fact, all the other
compilers if any other ones still work, as only MSVC is known to embed the
manifest automatically and we take care of it separately.

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

11 years agoRemove some completely unused variables from configure.
Vadim Zeitlin [Sat, 13 Jul 2013 23:23:23 +0000 (23:23 +0000)] 
Remove some completely unused variables from configure.

RESFLAGS, RESPROGRAMOBJ, WIN32INSTALL and AFMINSTALL were not used anywhere so
don't bother defining them.

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

11 years agoRemove the long obsolete and unused since 2.7.0 __WIN95__ define.
Vadim Zeitlin [Sat, 13 Jul 2013 23:23:19 +0000 (23:23 +0000)] 
Remove the long obsolete and unused since 2.7.0 __WIN95__ define.

Don't confuse things by defining it unnecessarily.

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

11 years agoMove wx/msw/gccpriv.h inclusion back to wx/platform.h from wx/compiler.h.
Vadim Zeitlin [Sat, 13 Jul 2013 23:23:14 +0000 (23:23 +0000)] 
Move wx/msw/gccpriv.h inclusion back to wx/platform.h from wx/compiler.h.

Do keep compiler-specific wxCHECK_MINGW32_VERSION() in wx/compiler.h as it's
needed by wx/cpp.h which includes wx/compiler.h only. But put the rest of the
stuff in gccpriv.h in its old place as including it before wx/setup.h didn't
work correctly and was unnecessary anyhow.

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

11 years agoUse wxNotebook background colour for the tab row background in wxMSW.
Vadim Zeitlin [Sat, 13 Jul 2013 23:23:08 +0000 (23:23 +0000)] 
Use wxNotebook background colour for the tab row background in wxMSW.

The free space near the tabs was always filled with the default light grey
colour, use wxNotebook background colour itself to fill it now.

Do it by changing the code in wxNotebook::OnPaint() to use the background
colour brush and ExtFloodFill() to paint over the default grey, instead of the
patterned background brush which is supposed to be used for the pages area
only and not for the tabs and which was not even taken into account anyhow as
the default window proc erases the entire contents of the DC we pass to it
anyhow (at least in the default top-aligned tabs case).

Also inherit the background colour from parent by default now, this ensures
that wxNotebook blends with its parent when its background colour has been
explicitly set by default, without the need to call its SetBackgroundColour()
explicitly.

See #13745.

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

11 years agoAdd a possibility to change the layout direction in the widgets sample.
Vadim Zeitlin [Sat, 13 Jul 2013 23:23:01 +0000 (23:23 +0000)] 
Add a possibility to change the layout direction in the widgets sample.

This allows to test whether a widget is drawn correctly in RTL variant as well
as the default LTR one easily.

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

11 years agoRegenerated Xcode projects.
Dimitri Schoolwerth [Sat, 13 Jul 2013 21:59:26 +0000 (21:59 +0000)] 
Regenerated Xcode projects.

Updated the Xcode projects to include wakeuppipe.cpp.
Also fixes the wxiphone project which appeared to have 2 source file references concatenated (stattext.mm and slider.mm) since the last commit. This unfortunately happens sometimes when running makeprojects.applescript.

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

11 years agoUse "MSW" and "Windows" more accurately to avoid confusion.
Vadim Zeitlin [Sat, 13 Jul 2013 20:07:51 +0000 (20:07 +0000)] 
Use "MSW" and "Windows" more accurately to avoid confusion.

"MSW" is used as the name of toolkit using the standard Windows UI while
"Windows" is the name of the OS under which wxGTK can be now used too (in
addition to wxMSW).

This terminology is not perfect but at least let's keep it unambiguous.

Closes #15328.

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

11 years agodeleted svn:executable property from src/expat/ files that don't need it
Dimitri Schoolwerth [Sat, 13 Jul 2013 16:28:45 +0000 (16:28 +0000)] 
deleted svn:executable property from src/expat/ files that don't need it

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

11 years agoUse Cocoa by default under OS X in configure.
Vadim Zeitlin [Sat, 13 Jul 2013 14:58:45 +0000 (14:58 +0000)] 
Use Cocoa by default under OS X in configure.

Carbon is deprecated.

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

11 years agoDo include src/generic/animateg.cpp in wxUniv/X11 sources.
Vadim Zeitlin [Sat, 13 Jul 2013 13:03:09 +0000 (13:03 +0000)] 
Do include src/generic/animateg.cpp in wxUniv/X11 sources.

This fixes linking of the widgets sample when using wxUniv/X11.

It partially reverts the changes of r73290 which only included this file in
some selected ports instead of all of them for some reason.

Closes #15327.

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

11 years agoSet svn properties on new files.
Dimitri Schoolwerth [Sat, 13 Jul 2013 11:41:46 +0000 (11:41 +0000)] 
Set svn properties on new files.

In the majority of cases set the svn:eol-style property (mostly to native for sources and LF for m4 files) and svn:keywords to Id. Applied for files that were added since r72503.

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

11 years agoRebake all the samples and others makefiles too.
Vadim Zeitlin [Sat, 13 Jul 2013 02:33:00 +0000 (02:33 +0000)] 
Rebake all the samples and others makefiles too.

The samples makefiles were not regenerated after the recent Scintilla changes
(see r74425), do it now. There are no real changes for most of them (except
stc sample), but it ensures that rerunning bakefile doesn't change anything.

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

11 years agoExtract compiler-specific macro definitions in a new wx/compiler.h.
Vadim Zeitlin [Sat, 13 Jul 2013 02:30:21 +0000 (02:30 +0000)] 
Extract compiler-specific macro definitions in a new wx/compiler.h.

This solves the problem with wx/defs.h -> wx/platform.h -> wx/setup.h which
resolves to msvc/wx/setup.h -> wx/version.h -> wx/cpp.h include path which
resulted in __VISUALC__ not being defined in wx/cpp.h.

This problem was not new but went unnoticed for a long time and was only
discovered when wxCHECK_VISUALC_VERSION() started being used in wx/cpp.h too
as now the compiler started warning about wrong #if syntax due to it being
undefined.

Putting the compiler-specific definitions in a separate file allows this file
to be included from wx/cpp.h to ensure that these symbols are always defined
in it and also makes things a little better organized.

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

11 years agoFix harmless MinGW warning in wxMSW wxListCtrl code.
Vadim Zeitlin [Fri, 12 Jul 2013 14:12:44 +0000 (14:12 +0000)] 
Fix harmless MinGW warning in wxMSW wxListCtrl code.

Add an explicit cast to WPARAM because MinGW headers don't do it for us (even
though they should).

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

11 years agoFix harmless unused parameter warning in !wxUSE_GRAPHICS_CONTEXT build.
Vadim Zeitlin [Fri, 12 Jul 2013 14:12:41 +0000 (14:12 +0000)] 
Fix harmless unused parameter warning in !wxUSE_GRAPHICS_CONTEXT build.

Rich tooltip tip kind is unused as no tip is drawn in this case.

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

11 years agoFix wrong return value from wxWebViewIE::Find() in 64 bit build.
Vadim Zeitlin [Fri, 12 Jul 2013 14:12:38 +0000 (14:12 +0000)] 
Fix wrong return value from wxWebViewIE::Find() in 64 bit build.

Using wxNOT_FOUND and an unsigned size() return value in the same operator ?:
resulted in wxNOT_FOUND being converted to an unsigned size_t type and while
converting it back to (signed) long worked in 32 bit builds where long and
size_t have the same size, it was broken in 64 bit builds where their sizes
are different.

Thanks g++ for catching this one.

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

11 years agoMake destructors of COM interface classes virtual.
Vadim Zeitlin [Fri, 12 Jul 2013 14:12:35 +0000 (14:12 +0000)] 
Make destructors of COM interface classes virtual.

This is needed to at least silence g++ warnings but may actually even fix a
real problem as these classes can be inherited from and are deleted via a
pointer (to "this" itself, in Release() implementation).

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

11 years agoFix warnings about implicit float or double to int conversions in wxMSW.
Vadim Zeitlin [Fri, 12 Jul 2013 14:12:31 +0000 (14:12 +0000)] 
Fix warnings about implicit float or double to int conversions in wxMSW.

Make the conversions explicit as these warnings are harmless.

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

11 years agoMention that wxGTK can be built with Wayland backend too.
Vadim Zeitlin [Fri, 12 Jul 2013 11:20:02 +0000 (11:20 +0000)] 
Mention that wxGTK can be built with Wayland backend too.

It is supported just as well as the already Broadway is.

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

11 years agoReconcile HAVE_VARIADIC_MACROS and wxHAS_VARIADIC_MACROS definitions.
Vadim Zeitlin [Thu, 11 Jul 2013 22:40:47 +0000 (22:40 +0000)] 
Reconcile HAVE_VARIADIC_MACROS and wxHAS_VARIADIC_MACROS definitions.

The main user-visible effect of this change is that giving configure
--disable-vararg-macros argument now really disables the use of variadic
macros whereas it didn't disable them in wx/cpp.h before.

It is, of course, also less confusing to not have two very similar but
different symbols.

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

11 years agoadapting to new x wheel behavior, see #15269
Stefan Csomor [Thu, 11 Jul 2013 19:46:59 +0000 (19:46 +0000)] 
adapting to new x wheel behavior, see #15269

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

11 years agoadapt to wx conventions for scroll wheel differences between horizontal and vertical...
Stefan Csomor [Thu, 11 Jul 2013 19:31:21 +0000 (19:31 +0000)] 
adapt to wx conventions for scroll wheel differences between horizontal and vertical directions, fixes #15269

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

11 years agoUse int instead of wxWindowID in wxNewId() and friends.
Václav Slavík [Thu, 11 Jul 2013 07:53:35 +0000 (07:53 +0000)] 
Use int instead of wxWindowID in wxNewId() and friends.

The functions are available in wxBase builds too, but wx/windowid.h
isn't. Rather than always including that header, just use int, for which
wxWindowID is a typedef. This keeps the functions available in wxBase
for compatibility and is consistent with how IDs are handled in other
parts of wxBase, particularly wxEvent.

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

11 years agoUse wxWindowID in wxNewId() and related functions.
Václav Slavík [Thu, 11 Jul 2013 06:58:35 +0000 (06:58 +0000)] 
Use wxWindowID in wxNewId() and related functions.

wxNewId(), wxRegisterId() and wxGetCurrentId() functions all work with
window IDs, so they should use the dedicated type. Previously, they
worked with long, which is not even the same type (wxWindowID is int),
causing implicit type conversion warnings.

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

11 years agoComment out the CIAbot script, the site has been dead a long time.
Robin Dunn [Thu, 11 Jul 2013 01:28:56 +0000 (01:28 +0000)] 
Comment out the CIAbot script, the site has been dead a long time.

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

11 years agoImplement monitoring of file descriptors in wxMotif event loop.
Vadim Zeitlin [Wed, 10 Jul 2013 23:43:57 +0000 (23:43 +0000)] 
Implement monitoring of file descriptors in wxMotif event loop.

This allows applications using wxMotif to link again after the changes of
r74350 -- and wxExecute() unit tests actually pass, too.

Closes #15305.

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

11 years agoRecognize VC12 (a.k.a. MSVS 2013) and define __VISUALC12__ for it.
Vadim Zeitlin [Wed, 10 Jul 2013 21:29:48 +0000 (21:29 +0000)] 
Recognize VC12 (a.k.a. MSVS 2013) and define __VISUALC12__ for it.

Closes #15320.

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

11 years agoFix typo in wxGUIEventLoop::ScheduleExit() in wxMotif.
Vadim Zeitlin [Wed, 10 Jul 2013 21:18:29 +0000 (21:18 +0000)] 
Fix typo in wxGUIEventLoop::ScheduleExit() in wxMotif.

This was broken in r74335.

See #15305.

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

11 years agoAdd wxX11EventLoopSourcesManager stub implementation to fix wxX11 linking.
Vadim Zeitlin [Wed, 10 Jul 2013 21:15:18 +0000 (21:15 +0000)] 
Add wxX11EventLoopSourcesManager stub implementation to fix wxX11 linking.

Asynchronous wxExecute() still doesn't work in wxX11 but at least the programs
using the library can be linked now.

See #15305.

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

11 years agoAdd default ctors and Create() to wxDirDialog and wxFileDialog in wxOSX.
Vadim Zeitlin [Wed, 10 Jul 2013 21:12:07 +0000 (21:12 +0000)] 
Add default ctors and Create() to wxDirDialog and wxFileDialog in wxOSX.

Allow two-step creation of these classes.

Closes #15316.

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

11 years agoFix checking for GTK+ 3.0 in configure.
Vadim Zeitlin [Wed, 10 Jul 2013 20:48:48 +0000 (20:48 +0000)] 
Fix checking for GTK+ 3.0 in configure.

Update gtk-3.0.m4 to work correctly with gthread module and regenerate
configure using the new version of this file.

Closes #15319.

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

11 years agoUkrainian translations update from Yuri Chornoivan.
Vadim Zeitlin [Wed, 10 Jul 2013 20:35:25 +0000 (20:35 +0000)] 
Ukrainian translations update from Yuri Chornoivan.

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

11 years agoFix lots of warnings reported by Clang.
Václav Slavík [Wed, 10 Jul 2013 16:41:34 +0000 (16:41 +0000)] 
Fix lots of warnings reported by Clang.

Mostly potentially lossy implicit conversions in headers (long->int). Also dangling else warnings. Struct/class mismatches.

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

11 years agoOnly return -1,0,1 from wxXmlResource::CompareVersion().
Václav Slavík [Wed, 10 Jul 2013 16:38:19 +0000 (16:38 +0000)] 
Only return -1,0,1 from wxXmlResource::CompareVersion().

In other words, do as the comment says.  Also fixes an implicit
conversion warning.

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

11 years agoDefine WXBUILDING in Xcode projects.
Václav Slavík [Wed, 10 Jul 2013 16:35:07 +0000 (16:35 +0000)] 
Define WXBUILDING in Xcode projects.

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

11 years agonon-pch build fix
Paul Cornett [Wed, 10 Jul 2013 13:17:02 +0000 (13:17 +0000)] 
non-pch build fix

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

11 years agoAdd documentation for building wxGTK under Windows.
Vadim Zeitlin [Wed, 10 Jul 2013 13:08:56 +0000 (13:08 +0000)] 
Add documentation for building wxGTK under Windows.

Closes #15318.

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

11 years agoFix restoring the status bar help message after closing MSW menu from keyboard.
Vadim Zeitlin [Wed, 10 Jul 2013 12:28:06 +0000 (12:28 +0000)] 
Fix restoring the status bar help message after closing MSW menu from keyboard.

Add a hack to ignore WM_MENUSELECT messages we get for the top level menu
items: we must not clear the status bar help message when we get those because
it had just been restored to the original message that was there before the
menu was opened from the base class wxEVT_MENU_CLOSE handler, but this message
comes after it when keyboard is used to close the menu.

Closes #15315.

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

11 years agoIgnore WM_MENUSELECT messages indicating that the menu was closed.
Vadim Zeitlin [Wed, 10 Jul 2013 12:24:54 +0000 (12:24 +0000)] 
Ignore WM_MENUSELECT messages indicating that the menu was closed.

Don't update the help string in this case, this is not necessary and can clear
the help string set elsewhere.

See #15315.

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

11 years agoVietnamese translations update from Trần Ngọc Quân.
Vadim Zeitlin [Wed, 10 Jul 2013 12:00:31 +0000 (12:00 +0000)] 
Vietnamese translations update from Trần Ngọc Quân.

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

11 years agoUpdate translations template for 2.9.5 release.
Vadim Zeitlin [Wed, 10 Jul 2013 11:57:20 +0000 (11:57 +0000)] 
Update translations template for 2.9.5 release.

No real changes, just removed a one character string that is not marked as
translated any longer.

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

11 years agoAllow retrieving the descent and external leading of empty strings.
Vadim Zeitlin [Wed, 10 Jul 2013 01:28:18 +0000 (01:28 +0000)] 
Allow retrieving the descent and external leading of empty strings.

This used to work before wxTextMeasure changes so make it work again instead
of optimizing the case of empty string away and not returning anything in the
descent and externalLeading output parameters in this case.

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

11 years agoFix VC++ warnings about __has_include().
Václav Slavík [Tue, 9 Jul 2013 17:29:02 +0000 (17:29 +0000)] 
Fix VC++ warnings about __has_include().

The compiler warns about content after defined(__has_included), so avoid
the issue by putting these Clang tests inside one big #ifdef
__has_included block.

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