Commit Graph

58735 Commits

Author SHA1 Message Date
Stefan Csomor
dc80770bd3 reverting name changes, doesn't seem to get reflected w/o restart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-06 08:10:21 +00:00
Stefan Csomor
ae559580b0 building trunk with libc++ adjusting cppunit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-06 08:02:46 +00:00
Stefan Csomor
25d3db36b0 add zero termination for utf16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-06 07:00:09 +00:00
Stefan Csomor
b047233fe3 adding carbon option and sdk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:30:36 +00:00
Stefan Csomor
6fedbe036d typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:14:03 +00:00
Stefan Csomor
3c39de1e8a add sdk again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:08:08 +00:00
Stefan Csomor
fa424608e1 change quoting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:04:57 +00:00
Stefan Csomor
c9d5751812 change quoting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:03:27 +00:00
Stefan Csomor
a83ae40967 adding flags, LDFLAGS need architecture as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:00:08 +00:00
Stefan Csomor
bb976fe04e next try
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:22:01 +00:00
Stefan Csomor
823606f42e next try
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:21:02 +00:00
Stefan Csomor
21de919394 next try
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:20:21 +00:00
Stefan Csomor
ceeba66331 xml error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:19:35 +00:00
Stefan Csomor
8452d8b56b switching attributes, spaces got eliminated to aggressively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:17:34 +00:00
Stefan Csomor
5545427f42 adding builds for stable branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 16:44:56 +00:00
Stefan Csomor
8e72de187e attempt at using variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 16:13:07 +00:00
Stefan Csomor
22ee0cf589 clang and ccache warnings suppression also for .mm files, turn off other builds temporarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 15:15:24 +00:00
Stefan Csomor
3b9a328662 clang warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 14:37:11 +00:00
Stefan Csomor
fa6beb56ab trying to tune ccache and clang cooperation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 14:13:12 +00:00
Stefan Csomor
fa33a6b912 raising trunk SDK, removing Carbon build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 13:29:31 +00:00
Stefan Csomor
fe4253bab3 revert in case the buildbot problem was caused by this change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 10:16:45 +00:00
Stefan Csomor
2e65e9199b remove carbon build temporarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 10:14:32 +00:00
Stefan Csomor
c78bca596e adding base virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 20:10:09 +00:00
Stefan Csomor
ec73c71d6a supporting NSString also in Carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 16:58:03 +00:00
Stefan Csomor
9680ce04e2 resolving ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 16:52:02 +00:00
Tim Kosse
b3be8e77be Fix compilation if configured with --disable-printarch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 12:43:33 +00:00
Vadim Zeitlin
cbc10bbd16 Skip mouse button release events in wxGenericListCtrl.
This is similar to r76094 for wxGenericTreeCtrl and fixes a similar problem:
clicking in a wxListCtrl inside wxNotebook confused GtkNotebook mouse tracking
logic because it didn't get some events.

Closes #16365.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 12:23:22 +00:00
Vadim Zeitlin
cd88f54e37 Fix typo in wxTreeCtrl::AppendItem() documentation.
The greater sign got lost in Doxygen translation, restore it.

Closes #16366.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 12:22:57 +00:00
Stefan Csomor
96ac247a9e adding 10.9 constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 10:35:10 +00:00
Stefan Csomor
932d4e8ff7 fixing non-precomp build on carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-04 07:58:31 +00:00
Vadim Zeitlin
fb99672f62 Hopefully finish removing the old wxCocoa port.
Get rid of the rest of __WXCOCOA__ tests in the sources.

Drop configure option for using it.

Also remove the documentation for this port.

This should have also been part of r76735.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-03 22:03:21 +00:00
Vadim Zeitlin
161809ef8c Still continue to use QuickTime framework in wxOSX/Carbon builds.
Amend the changes of r76800 to only avoid QuickTime framework when using
Cocoa, under Carbon it's needed by wxSound too, and not only wxMediaCtrl, and
there is no real reason to avoid it in the first place anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-03 22:03:09 +00:00
Tim Kosse
def3b2c90f Items appended via the menu have no item data. Don't crash if right-clicking these items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-03 16:47:25 +00:00
Tim Kosse
056631ed8a Add some files created by building with Visual Studio 2013 to svn:ignore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-03 14:33:18 +00:00
Tim Kosse
a2414fa1b7 wxListTextCtrlWrapper::Finish and wxTreeTextCtrl::Finish cannot be called multiple times without crashing. wxListTextCtrlWrapper already used to protect against this in the past, but revision 51150 removed the safety check.
This patch reimplements the functionality in a slighly different way for both controls, so that Finish is not called multiple times.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-03 14:25:30 +00:00
Vadim Zeitlin
e154a0a308 Revert "Don't link with OpenGL framework unconditionally under Mac OS X."
OpenGL framework is, in fact, always needed because of the code in
src/osx/core/glgrab.cpp which is currently used to implement
wxScreenDC::GetAsBitmap().

This reverts r76799.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-03 09:57:40 +00:00
Vadim Zeitlin
1ca1d77e01 Remove the inclusions of wx/cocoa headers which don't exist any more.
This should have been part of r76735: in addition to removing the old Cocoa
port headers, also remove the references to them from the common include
files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-02 13:28:42 +00:00
Vadim Zeitlin
8ebe2c4066 Fix wxMSW compilation with old MinGW versions without ASSOCXXX constants.
Define ASSOCF_NOTRUNCATE and ASSOCSTR_DEFAULTICON ourselves to let the code
compile with older MinGW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-02 13:28:33 +00:00
Vadim Zeitlin
e1655f5394 Stop duplicating wxFrame dtor in all ports.
wxGTK1, wxGTK, wxMSW and wxOSX all did the same thing in their wxFrame dtor,
so just do it in wxFrameBase instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-02 13:28:29 +00:00
Tim Kosse
9456ae3b91 Disabled bitmaps of toolbar tools are now rendered at the correct position if using GTK3. Extend toolbar sample to include a button with a custom disabled bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 18:43:03 +00:00
Vadim Zeitlin
2cceb4dbc3 Don't link with QuickTime framework unnecessarily under OS X.
Only use QuickTime when wxUSE_MEDIACTRL is true.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 12:02:33 +00:00
Vadim Zeitlin
c3405487bb Don't link with OpenGL framework unconditionally under Mac OS X.
"-framework OpenGL" is already added when wxUSE_OPENGL is true, there is no
need to always include it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 12:02:29 +00:00
Vadim Zeitlin
496bcff52b Check for conversion failure correctly in wx[F]File::Write().
Check for the length of the buffer to determine whether the conversion failed
instead of checking whether it's NULL because this is currently never the case
because of the code in wxString::AsCharBuf() which returns "" and not NULL in
case of conversion failure.

This at least eliminates silent data loss when saving data that can't be
converted to the current locale encoding.

Closes #16348.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 01:00:45 +00:00
Vadim Zeitlin
866515c39e Don't call strlen() unnecessarily in wxFFile::Write().
We already have the length of the string, either in the buffer if we actually
converted the string from Unicode to multi-byte, or in the string itself in
non-Unicode build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 01:00:42 +00:00
Vadim Zeitlin
19c74143e2 Don't use C++ streams in wxString::FromCDouble() implementation.
This doesn't work if the global C++ locale had been changed and we can't call
imbue(locale::classic()) to ensure that the stream we use here uses the C
locale because imbue() is hopelessly broken in some implementations.

So just get rid of this code and keep only the hack replacing the decimal
separator with the dot explicitly. This is ugly but should always work in
practice and is also consistent with ToCDouble().

Closes #16343.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 01:00:36 +00:00
Vadim Zeitlin
a72d2bc81a No real changes, just use symbolic constants with BM_SETCHECK.
Use BST_CHECKED and BST_UNCHECKED instead of implicitly relying on their
values being 1 and 0.

See #11665.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 01:00:31 +00:00
Vadim Zeitlin
900099d644 Fix appearance of custom drawn wxToggleButton in wxMSW.
Ensure that the owner-drawn toggle buttons are drawn in the pressed state when
they are pressed, even if they are also selected or under mouse.

Closes #11665.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-30 01:00:27 +00:00
Vadim Zeitlin
ffea8a9a6a No real changes, just fix a harmless warning under OS X.
Don't use "size" variable unnecessarily under non-Mac platforms, this also
fixes a warning about reassigning it immediately after assigning a previous
values to it under Mac.

Closes #16353.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-29 23:43:08 +00:00
Vadim Zeitlin
6446625f96 Fix harmless unused parameters warnings in builds without wxLogTrace().
Fix warnings appearing when building with --disable-debug under Unix by
either referencing the parameters or variables which become unused then,
because wxLogTrace() calls are compiled out, or by not compiling the code
whose only purpose is to call wxLogTrace() at all.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-29 23:39:09 +00:00
Tim Kosse
91da43cf22 Fix wxStaticBox' clipping region in RTL mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-28 10:37:42 +00:00