]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Wed, 11 Jul 2012 12:16:41 +0000 (12:16 +0000)]
Revert "Temporarily disable the failing wxRichTextCtrl case."
Revert r71945 which disabled failing wxRichTextCtrl unit test. It fails again
now and hopefully will be fixed before 2.9.5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72031
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 11 Jul 2012 11:42:47 +0000 (11:42 +0000)]
Allow saving images under a different name in the image sample.
Also allow saving in XPM format.
See #13905.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72030
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 11 Jul 2012 11:42:43 +0000 (11:42 +0000)]
Ensure that names of saved XPMs are valid C identifiers.
The name of the XPM should be based on the file name but can't always be
exactly equal to it as it's possible (and relatively common, e.g.
"foo-24.xpm") to have characters forbidden in identifiers to appear in the
file names. Ensure that we use a valid C identifier here.
Closes #13905.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72029
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 11 Jul 2012 11:42:39 +0000 (11:42 +0000)]
Fix bug with using invalid date in wxMSW wxCalendarCtrl.
Fall back to the start date of the native control if our own date was not set
yet.
Closes #14476.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72028
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 11 Jul 2012 11:42:34 +0000 (11:42 +0000)]
Activate OLE ActiveX controls before requesting their window.
Change the order of IOkeInPlaceActiveObject::GetWindow() and
DoVerb(OLEIVERB_INPLACEACTIVATE) calls and do the latter first now as
otherwise GetWindow() returned NULL for standard ActiveX controls created by
MFC.
Closes #14209.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72027
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 11 Jul 2012 11:42:32 +0000 (11:42 +0000)]
Change the format of the documentation archives for the release.
Call them wxWidgets-x.y.z-docs-nnn instead of wxWidgets-docs-nnn.x.y.z.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72026
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 11 Jul 2012 11:42:28 +0000 (11:42 +0000)]
Fix compilation of newly added msw/evtloopconsole.cpp without PCH.
Include <windows.h> and "wx/log.h" explicitly when not using PCH.
Closes #14475.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72025
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 11 Jul 2012 07:32:10 +0000 (07:32 +0000)]
fake paint events don't work with wxGTK3 either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72021
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 11 Jul 2012 07:05:55 +0000 (07:05 +0000)]
remove code in SetFont which modifies font for no apparent purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72020
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 11 Jul 2012 06:36:38 +0000 (06:36 +0000)]
Avoid creating and immediately destroying a wxGraphicsContext for most uses of wxGCDC.
This also causes the dummy "measuring context" to be properly initialized with a default font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72019
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 11 Jul 2012 04:23:58 +0000 (04:23 +0000)]
Interface fixes for Phoenix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72013
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 11 Jul 2012 04:23:52 +0000 (04:23 +0000)]
Add missing wxFRAME_SHAPED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72012
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 23:52:14 +0000 (23:52 +0000)]
Fix wxNativeContainerWindowId definition for wxGTK/Windows port.
It's a gpointer and not unsigned long as under Unix in this case.
Closes #14447.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72011
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 23:52:10 +0000 (23:52 +0000)]
Forbid setting hints for multi-line text controls.
This doesn't work anyhow, so make it explicit by asserting if an attempt to do
it is made. And document this.
Also add a test of SetHint() to the text sample to verify it still works.
Closes #14456.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72010
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 23:52:05 +0000 (23:52 +0000)]
Fix German translation for "Shift+" keyboard accelerator prefix.
Closes #14457.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72009
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 23:52:00 +0000 (23:52 +0000)]
Use the same console event loop in wxBase and wxCore in wxMSW.
Refactor the console event loop code into separate files to untangle it from
the GUI version and ensure that it doesn't depend on the GUI at all. It can
now be defined in the base library and simply reused by the core one.
This also makes the console event loop usable for other ports under Windows,
e.g. wxGTK.
Closes #14426.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72008
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 23:51:44 +0000 (23:51 +0000)]
Increase version to 2.9.5.
Rebake all the project/make files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72007
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 23:50:52 +0000 (23:50 +0000)]
Fix unit tests compilation in STL build.
Add missing c_str() calls forgotten by r70687.
Closes #14472.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72006
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 10 Jul 2012 17:27:41 +0000 (17:27 +0000)]
remove DoSetSize override, unneeded after r72001
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72004
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 10 Jul 2012 17:26:40 +0000 (17:26 +0000)]
remove STOCKITEM_26 macro, unneeded after r72001
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72003
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 10 Jul 2012 17:17:53 +0000 (17:17 +0000)]
no real changes, just remove unnecessary indentation and scoping after r72001
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72002
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 10 Jul 2012 16:39:44 +0000 (16:39 +0000)]
update minimum GTK2 version requirement to 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72001
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 10:54:48 +0000 (10:54 +0000)]
Give the newly added wxGTK trunk STL builder a unique name.
It conflicted with the (unused) builder on StellarWerx slave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72000
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 10 Jul 2012 10:50:36 +0000 (10:50 +0000)]
Add a wxGTK STL buildbot build on brandt32 slave.
Also use --disable-compat28 as we don't have any builds testing this option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71999
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 10 Jul 2012 06:42:15 +0000 (06:42 +0000)]
Make a couple virtuals protected so they can be overridden.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71998
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 10 Jul 2012 05:12:05 +0000 (05:12 +0000)]
Interface fixes for Phoenix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71989
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 9 Jul 2012 20:35:10 +0000 (20:35 +0000)]
Added a release notes file for binaries.
Also create wxWidgets-x.y.z_Headers.7z file when making the release, it is
used with the binaries.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71988
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 9 Jul 2012 14:15:37 +0000 (14:15 +0000)]
Updated READMEs &c for 2.9.4 release.
Updated the text of the announcement posted to wx-announce too and mention it
in the release check list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71985
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sun, 8 Jul 2012 10:28:27 +0000 (10:28 +0000)]
Fix for scroll position being changed when partial layout is done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71982
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 8 Jul 2012 03:48:55 +0000 (03:48 +0000)]
Revert r71595 for now, as the bug it fixed is the lesser of two evils with the potential bugs it causes. See #14453.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71981
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 7 Jul 2012 16:34:14 +0000 (16:34 +0000)]
fixing double focus ring under 10.7, emulating only for 'NO_' and 'SIMPLE_' border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71980
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 15:36:58 +0000 (15:36 +0000)]
Replace "_amd64" with "_x64" in a few more places.
Fix bakefile presets and MSVC-specific setup.h.
Also document TARGET_CPU=X64 instead of AMD64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71979
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:59 +0000 (13:27 +0000)]
Use "_x64" instead of "amd64" for x64 MSW makefile builds.
Still accept "amd64" as a valid TARGET_CPU value but also accept, and
encourage people to use, "x64".
Add a new section about the build system changes to the change log and added a
mini-TOC to it to make navigating it a bit easier and show what changes are
there at a glance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71978
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:55 +0000 (13:27 +0000)]
Don't call HitTest() unnecessarily in MSW wxTreeCtrl code.
We already called TreeView_HitTest() above, there is no need to call
wxTreeCtrl::HitTest() again to retrieve exactly the same information.
This also incidentally fixes a warning about unused variable, see #14459.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71977
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:51 +0000 (13:27 +0000)]
Fix uninitialized variable warning in wxMSW wxFileSystemWatcher code.
This warning was harmless as the variable was in fact always initialized if
the code where it was used was reached but g++ 4.6.1 is not smart enough to
see it, just as MSVC for which we already had a workaround. So initialize it
explicitly just to suppress the warning.
See #14459.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71976
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:47 +0000 (13:27 +0000)]
Avoid warnings about uninitialized variables in TGA loading code.
Initialize the variables containing the colour components: even though they
should normally be always filled by Palette_GetRGB() call below, this
presumably might not happen for a corrupted image with invalid palette table
entries and g++ correctly complains about it.
See #14459.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71975
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:44 +0000 (13:27 +0000)]
Avoid warning about unused variable in wxGetUTCTimeMillis() in wxMSW.
Put the declaration of the variable only used under Unix inside the
corresponding "#if" branch.
See #14459.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71974
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:40 +0000 (13:27 +0000)]
Avoid unused variable warning in wxPropertyGrid code in non-wxGTK.
Put the variable only used in wxGTK inside "#ifdef __WXGTK__".
This fixes the warning but the real fix would be to get rid of this variable
completely and just fix whatever problem in wxWindow::Navigate() this was
supposed to work around.
See #14459.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71973
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:36 +0000 (13:27 +0000)]
Explicitly call base class ctor in wxRichTextFieldType copy ctor.
Failure to do this provokes g++ warnings with -Wextra and is, generally
speaking, wrong, even if it probably doesn't matter in this particular case.
See #14459.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71972
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jul 2012 13:27:31 +0000 (13:27 +0000)]
Return correct index from wxGenericListCtrl::InsertColumn().
It used to always return 0 in the generic version, return the correct index of
the newly inserted column now.
Closes #13677.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71971
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 7 Jul 2012 13:24:05 +0000 (13:24 +0000)]
adding support for enabled property, avoiding missing return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71970
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 7 Jul 2012 13:07:23 +0000 (13:07 +0000)]
added missing return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71969
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 7 Jul 2012 13:06:50 +0000 (13:06 +0000)]
new file added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71968
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 6 Jul 2012 16:39:08 +0000 (16:39 +0000)]
guard against empty name field in inotify_event, see #14466
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71967
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jul 2012 17:09:53 +0000 (17:09 +0000)]
Use list mode in wxListbook list control instead of report.
Use wxLC_LIST instead of wxLC_REPORT when we don't have any icons. This makes
the code simpler as wxLC_LIST is more similar to wxLC_ICON which we used, and
continue to use, when we do have icons, because we don't need to add and
remove any columns on the fly.
And it fixes the appearance of wxListbook without images with wxBK_TOP or
wxBK_BOTTOM styles as it now lays out its items horizontally and not
vertically as before.
It also fixes the best size calculation of wxListbook control since the
changes to wxListCtrl best size calculations in r71733 as a nice side effect.
Closes #14451.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71965
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 4 Jul 2012 16:42:03 +0000 (16:42 +0000)]
supporting alignment in single line controls, see #14452
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71964
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 4 Jul 2012 16:30:24 +0000 (16:30 +0000)]
using correct constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71962
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 4 Jul 2012 16:17:55 +0000 (16:17 +0000)]
fixing another reference to wrong center flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71961
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 4 Jul 2012 16:15:02 +0000 (16:15 +0000)]
correcting text alignment flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71960
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jul 2012 11:45:38 +0000 (11:45 +0000)]
Fix problem with most of wxGTK headers not being installed.
GTK2_HDR should also include all the version-independent wxGTK headers.
Closes #14455.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71959
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jul 2012 11:45:35 +0000 (11:45 +0000)]
Rename all setup0.h files to setup.h in git-based release script.
We also need to rename wx/univ/setup0.h and wx/gtk/setup0.h and it probably
doesn't hurt to rename all the other ones even if though they're unused
anyhow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71958
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jul 2012 11:45:33 +0000 (11:45 +0000)]
Put the README file used for SourceForge files page under version control.
And this is another thing to do for the release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71957
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jul 2012 11:45:30 +0000 (11:45 +0000)]
Remove duplicate item about Trac changes from release tech note.
Part of the additions of r71951 was already present in this file, just in
another place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71956
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jul 2012 11:45:27 +0000 (11:45 +0000)]
Run unix2dos in quiet mode in git-oriented release script.
Don't flood the screen with the messages about converting the files, we know
that we convert them, this is what we run the bloody thing for.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71955
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 3 Jul 2012 20:01:27 +0000 (20:01 +0000)]
Also update the minimal GTK+ version in the introduction manual page.
And mention GTK+ 3 there too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71953
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 3 Jul 2012 19:59:56 +0000 (19:59 +0000)]
Update the date in the manual before 2.9.4 release.
And mention the need to do it in the tech note for the next time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71952
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 3 Jul 2012 19:58:51 +0000 (19:58 +0000)]
Updated readme and changelog for 2.9.4 release.
Also add more things to do before the release to the tech note.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71951
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 3 Jul 2012 19:41:58 +0000 (19:41 +0000)]
Remove unnecessary checks for OS X 10.4 and gcc 4.0 in configure.
As 10.4 is not supported any more, don't check for it. Also don't impose the
use of gcc 4.0 for compiling wxOSX/Carbon as this compiler doesn't exist any
more under OS X 10.7 but wxOSX/Carbon can be compiled using gcc 4.2 if 10.6
SDK is selected, so this change allows to build wxOSX/Carbon under 10.7.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71950
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 3 Jul 2012 05:37:02 +0000 (05:37 +0000)]
synchronize GTK2 minimum version in docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71948
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 22:59:14 +0000 (22:59 +0000)]
Fix wxGTK compilation with MSVC after GTK+ 3 changes.
Don't use preprocessor conditions inside a macro invocation, MSVC doesn't
support this.
Closes #14448.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71947
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Mon, 2 Jul 2012 15:56:47 +0000 (15:56 +0000)]
add some mention of GTK3 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71946
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 15:08:09 +0000 (15:08 +0000)]
Temporarily disable the failing wxRichTextCtrl case.
Disable CaretPosition() unit test as it is broken now. This is only temporary
to allow tests to pass in 2.9.4, will be reenabled (and hopefully fixed) later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71945
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 15:05:39 +0000 (15:05 +0000)]
Clear larger area in wxGCDC::Clear().
Clearing a rectangle of size 32000 was not always enough to clear the entire
DC, so use INT_MAX instead -- this is the best we can do with the current
approach.
Closes #13445.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71944
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 15:03:08 +0000 (15:03 +0000)]
Keep client data in sync when deleting items from wxOSX wxComboBox.
Correspondence between item indices and their client data was broken if any
items were deleted or the combobox was cleared entirely. Fix this by updating
the client data array whenever this happens.
Closes #14147.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71943
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 15:03:04 +0000 (15:03 +0000)]
Preserve client data in wxComboBox::SetString() in wxOSX/Cocoa.
Don't reset the client data to NULL when we're just changing the item text.
Closes #14146.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71942
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 15:03:00 +0000 (15:03 +0000)]
Set string in wxEVT_COMMAND_COMBOBOX_SELECTED event in wxOSX/Cocoa.
Pass the selected string and not only its index in the event generated when
combobox selection changes in wxOSX/Cocoa.
Closes #14383.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71941
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 15:02:56 +0000 (15:02 +0000)]
Add extra border below the buttons in the generic log dialog.
This fixes the problem with the dialog appearance in wxOSX/Cocoa where the
bottom of the buttons was truncated otherwise and arguably makes the dialog
look slightly better in the other ports too.
Closes #14398.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71940
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 14:36:56 +0000 (14:36 +0000)]
Fix wxDataViewChoiceRenderer behaviour in wxOSX/Cocoa.
Changing the value of a "choice" cell in wxDataViewCtrl didn't work correctly
in wxOSX/Cocoa because wxDataViewChoiceRenderer used the base class version of
OSXOnCellChanged() which passed the integer index we received from NSOutlineView
to the model instead of the expected string.
Fix this by overriding OSXOnCellChanged() in wxDataViewChoiceRenderer itself
and using its argument as an integer index of the selection because this is
what it is, at least under OS X 10.7.
Closes #14373.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71939
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 12:46:11 +0000 (12:46 +0000)]
No changes, just suppress an unused parameter warning in wxOSX build.
This one was especially annoying as it occurred in a header included by a
couple of dozens of files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71938
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 2 Jul 2012 12:36:18 +0000 (12:36 +0000)]
adapting new osx modifier handling, fixes #14377
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71937
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 2 Jul 2012 11:54:42 +0000 (11:54 +0000)]
handling illegal fsrefs by returning an empty string, fixes #14384
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71936
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 2 Jul 2012 11:50:54 +0000 (11:50 +0000)]
guarding against invalid files passed to 'pdoc' apple event, see #14384
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71935
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 2 Jul 2012 11:47:29 +0000 (11:47 +0000)]
guarding against invalid files passed to 'odoc' apple event, see #14384
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71934
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 10:28:03 +0000 (10:28 +0000)]
Allow using wxGridCellEnumEditor with the mouse.
Previously the combobox was immediately dismissed when the mouse was used.
Fix this by copying the code from wxGridCellChoiceEditor to this class. This
is obviously not ideal and both classes should be refactored to avoid this in
the future but for now this at least fixes the user-visible problem.
Closes #13943.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71933
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 2 Jul 2012 02:58:58 +0000 (02:58 +0000)]
Add COMPILER_VERSION to nmake command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71929
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 00:16:18 +0000 (00:16 +0000)]
Show gstreamer errors in wxGStreamerMediaBackend to the user.
If the media file fails to play, we really need to show to the user the
corresponding gstreamer error, otherwise there is no way to understand what
the problem is.
Collect the errors in gst_error_callback() and show them from the main thread
if we get a gstreamer error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71928
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 00:16:14 +0000 (00:16 +0000)]
Use wxFileSystem::FileNameToURL() in wxGStreamerMediaBackend.
Converting files to URIs is not as simple as just prepending "file://" to
them, notably we need to escape characters that are special in URIs such as
"#" and "%", so use FileNameToURL() which already does do it correctly.
Closes #13663.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71927
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jul 2012 00:16:12 +0000 (00:16 +0000)]
Fix command line parsing in media player sample.
It was broken since the addition of the call to wxApp::OnInit() to
wxMediaPlayerApp::OnInit() -- as the base class parses the command line
itself, we need to use OnInitCmdLine() and OnCmdLineParsed() instead of doing
it manually if we call it.
Also don't load the play list saved in wxConfig if any command line parameters
were given as otherwise the saved files would be used first (this seems to
have been always broken...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71926
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jul 2012 22:39:41 +0000 (22:39 +0000)]
Fix wxMSW compilation without PCH.
Include wx/bitmap.h as we need its GetHBITMAP() method in wx/msw/dib.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71925
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jul 2012 21:35:23 +0000 (21:35 +0000)]
Use COMPILER_VERSION and ARCH_SUFFIX in libraries names in Windows makefiles.
For the official builds (only), include the compiler version and the
architecture suffix, unless it's the default x86, into the DLL names, to allow
their concurrent installations for multiple compiler versions and architectures.
Closes #13857.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71924
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jul 2012 21:35:18 +0000 (21:35 +0000)]
No real changes, just rename DIR_SUFFIX_CPU to ARCH_SUFFIX in bakefiles.
This will be soon used in the libraries names and not only in the directory
paths so rename the variable to make things more clear (or at least less
confusing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71923
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jul 2012 21:10:08 +0000 (21:10 +0000)]
Forward WM_{CUT,COPY,PASTE} from edit control to wxComboBox in wxMSW too.
This allows us to receive wxClipboardTextEvents from wxComboBox as well.
Update the documentation to mention this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71922
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 1 Jul 2012 19:10:38 +0000 (19:10 +0000)]
remove some unused files from GTK3 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71921
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 1 Jul 2012 17:44:44 +0000 (17:44 +0000)]
eliminate possibility of configure enabling gnomeprint with GTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71920
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 1 Jul 2012 17:13:46 +0000 (17:13 +0000)]
using common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71919
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 1 Jul 2012 17:03:39 +0000 (17:03 +0000)]
common code for normalization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71918
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 1 Jul 2012 16:43:16 +0000 (16:43 +0000)]
override DoSetValue() to avoid unnecessary clipboard operations, fixes #14369
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71917
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 1 Jul 2012 15:46:56 +0000 (15:46 +0000)]
native drop target method for cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71916
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 1 Jul 2012 15:46:26 +0000 (15:46 +0000)]
native hook for supported datatypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71915
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 1 Jul 2012 15:45:15 +0000 (15:45 +0000)]
adding native hook for drop target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71914
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 1 Jul 2012 13:20:33 +0000 (13:20 +0000)]
make sure the pasteboard paste location is only set once
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71913
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jul 2012 11:35:52 +0000 (11:35 +0000)]
Implement wxDisplay::GetFromWindow() for wxGTK/Windows.
As wxWindow doesn't have an associated HWND when using wxGTK, use
MonitorFromPoint() instead of MonitorFromWindow() for this port.
Closes #14408.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71912
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jul 2012 11:35:49 +0000 (11:35 +0000)]
Fix the use of AutoHBITMAP in recently added LoadImageFromResource().
Assignment operator of AutoHBITMAP doesn't work as expected (and probably
should be removed/fixed), avoid its use by explicitly calling Init().
Closes #14425.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71911
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:33 +0000 (23:41 +0000)]
No changes, just suppress an unused variable warning.
Omit the name of the exception object that we never use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71910
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:30 +0000 (23:41 +0000)]
VC6 compilation fix for the grid sample.
Use Connect() instead of Bind() which is not available for VC6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71909
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:27 +0000 (23:41 +0000)]
Make wxBookCtrlBase::GetPage() virtual to fix it for wxAuiNotebook.
wxAuiNotebook doesn't store its page in the base class m_pages array, so
calling GetPage() on it via a wxBookCtrl pointer resulted in a crash.
Make GetPage() virtual to allow overriding it at wxAuiNotebook level.
Closes #13768.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71908
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:23 +0000 (23:41 +0000)]
Add skeleton documentation for wxAuiNotebook-related classes.
Closes #14386.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71907
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:18 +0000 (23:41 +0000)]
Implement hatched/stippled pens/brushes in wxGraphicsContext for Cairo.
Refactor the pen/brushes classes to introduce a common base class for them
containing their colour and hatch pattern and stipple bitmap, if any.
And actually create the hatched pattern and use it.
Closes #11981.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71906
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:15 +0000 (23:41 +0000)]
Added internal wxHatchStyle enum.
It's annoying that the same code for hatched pens and brushes can't be reused
without relying on deprecated wxXXX_HATCH constants, so add new,
non-deprecated, wxHatchStyle enum that can be used in such code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71905
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 30 Jun 2012 20:59:51 +0000 (20:59 +0000)]
Only disable generation of dependencies if more than one architecture is being built.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71897
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775