Commit Graph

57109 Commits

Author SHA1 Message Date
Stefan Csomor
fde8374482 cocoa needs a special implementation for read-only combo box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 05:45:35 +00:00
Stefan Csomor
1d90958ba3 Clear is also expected to clear the text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 05:25:22 +00:00
Stefan Csomor
12bb29f543 missing commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 23:14:20 +00:00
Stefan Csomor
79c29706e3 disable tests depending on a focusable slider control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:33:00 +00:00
Stefan Csomor
e72e0814b6 draghino explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:27:48 +00:00
Stefan Csomor
e4673c0ee2 adding default impl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:26:11 +00:00
Stefan Csomor
5ed9f8b231 add more high-level event concepts, fixing native button number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:25:21 +00:00
Stefan Csomor
689c6ca6ef moving click point sightly more inside, #ifndef tests failing with the generic implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:21:30 +00:00
Stefan Csomor
9150fa99d4 fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:19:21 +00:00
Stefan Csomor
c9fbfcd9f1 fixing include styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 22:18:33 +00:00
Stefan Csomor
cd0f218cdd notify the event loop that synthesized events are on the queue, wait for them to be available, also on OSX a double click has to be synthesized slightly differently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 17:56:27 +00:00
Stefan Csomor
d60957aac5 better support for ui action simulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 17:54:07 +00:00
Václav Slavík
31f125ed00 Use correct extensions in wxDynamicLibrary::CanonicalizeName() on OS X.
Contrary to the documentation, this function incorrectly appended the
.bundle extension on OS X for libraries as well as modules.

Fixed to use .dylib for libraries (wxDL_LIBRARY) and continue to use
.bundle for loadable modules (wxDL_MODULE). Change GetDllExt() to take optional wxDynamicLibearyCategory argument.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 16:46:49 +00:00
Julian Smart
1c47b9489d Untranslated strings now won't be overwritten by regenerating the dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 14:01:47 +00:00
Vadim Zeitlin
285f511671 Fix wrong use of EVT_COMMAND in the example in wxThread documentation.
As the event being defined is a wxThreadEvent, EVT_THREAD must be used.

Also rename wxEVT_COMMAND_MYTHREAD_UPDATE to myEVT_THREAD_UPDATE to avoid
using "wxEVT_" prefix reserved by wx itself.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 12:25:00 +00:00
Julian Smart
93a16a7d51 Fixed a refresh bug due to the optimized refresh rect being calculated incorrectly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 10:20:11 +00:00
Vadim Zeitlin
5833988cb7 Add wxMouseEvent::GetColumnsPerAction().
This is similar to the existing GetLinesPerAction() but is for, surprise,
columns.

Also change the documentation to say that the value returned by both of these
methods is 3 under "most platforms" as some wxOSX currently uses 1 and not 3.

Closes #15239.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 15:53:29 +00:00
Vadim Zeitlin
4775836d37 Avoid problems when reparenting a TLW under a child in wxGTK.
Don't use a TLW with gtk_fixed_put().

Closes #15237.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 15:53:04 +00:00
Vadim Zeitlin
bf5e92db1c Fix crash when undoing the deletion of a nested table column in wxRTC.
Fix the object parent when applying the actions.

Closes #15186.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 15:52:41 +00:00
Vadim Zeitlin
3cb4951208 Link with libjbig when using built-in libtiff under Unix.
If libjbig is available, the built-in libtiff build process picks it up and
uses it, requiring all the code linking with libtiff to link with it too, so
add it to the list of the libraries in this case.

This is the same change as was already done for liblzma dependency in r74033,
see #14963.

Closes #15244.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 15:52:17 +00:00
Vadim Zeitlin
6d876f2aaa Updated all the message catalogs with the latest translations.
No real changes, just the result of running "make -C locale allpo".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 15:51:49 +00:00
Vadim Zeitlin
eef348ff20 Don't mark the strings "1", "2", ... "10" as translatable.
They are the same in all the languages, don't create extra work for the
translators.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-10 15:51:10 +00:00
Robin Dunn
3174a8a92a More docs cleanup and fixes for richtextbuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:24:04 +00:00
Robin Dunn
cb8b5a3b63 Remove some wxT()'s in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:23:32 +00:00
Robin Dunn
e4d44c92f5 More richtext fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:23:02 +00:00
Vadim Zeitlin
57b15758aa Exclude src/msw/version.rc from svn pre-commit hook checks.
This file must be remain in CP1252 encoding and not UTF-8 because this is what
Windows uses for showing the strings in it, so exclude it from this check.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:29:06 +00:00
Vadim Zeitlin
944961e400 Undo MIME type change of r74120.
Undo the temporary hack which was required to commit the non-UTF-8 file. In
the future the commit hook will be updated to relax the check for this file so
it won't be necessary any longer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:27:50 +00:00
Vadim Zeitlin
5124841297 Use library-specific description in their version resources for MSW DLLs.
Reusing the same description for all files wasn't especially useful, make it
more informative.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:23:58 +00:00
Vadim Zeitlin
c1818df912 Remove duplicate WXMAKINGDLL_RIBBON-related code.
For some reason both the definition of and test for WXMAKINGDLL_RIBBON was
duplicated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:23:55 +00:00
Vadim Zeitlin
13dec1dbeb Simplify the version information resource definition a little.
Put the correct data into FileVersion and InternalName fields and remove
LegalTrademarks, PrivateBuild and SpecialBuild completely as they are optional
and shouldn't be present if the corresponding flags are not set, see
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:23:52 +00:00
Vadim Zeitlin
c315aa3db6 Add back the copyright symbol to the version information resource.
It has somehow disappeared in r62054 (see #10659).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:23:48 +00:00
Vadim Zeitlin
59270f7456 Set MIME type of Windows resource file to non-text.
This is just a hack to allow this file to be in non-UTF-8 as the commit hook
currently checks that UTF-8 is used for all text files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:22:52 +00:00
Vadim Zeitlin
5c3a156cf4 Update copyright year in the version information resource.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:08:30 +00:00
Stefan Csomor
083c9c2088 associate the outline view with the impl, fixes #13748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 16:18:53 +00:00
Stefan Csomor
e17d84e1b2 refactoring focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 07:22:54 +00:00
Stefan Csomor
ba0cf6af6d exposing wxOSXGetViewFromResponder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 07:06:19 +00:00
Stefan Csomor
09ffaca3a6 adding a more extensive version to arrive at the impl when given a native control, taking into account eg the composited controls of a scrollview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 06:54:50 +00:00
Stefan Csomor
3678169caa adding comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 06:27:02 +00:00
Stefan Csomor
5856534c86 avoiding reentrancy problems and congestion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 17:54:31 +00:00
Stefan Csomor
ea9ae179ed avoiding focus lost events when a different subview gets focused, see #14042
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 17:49:03 +00:00
Stefan Csomor
19736e6452 make sure we don't execute pending deletes either when in runModel, otherwise reentrancy problems occur
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 14:57:56 +00:00
Stefan Csomor
04a123c642 using ordinary Show for popup windows as on MSW which activates it as well, I'll rewire ShowWithoutActivating for the other use case, fixes #15008
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 13:21:10 +00:00
Stefan Csomor
c609b780c7 refactoring SizeEvent sending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 13:01:50 +00:00
Stefan Csomor
cf83b0cfb6 refactoring SizeEvent sending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 12:58:29 +00:00
Stefan Csomor
a002ae4e50 forgot to commit ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 11:47:53 +00:00
Stefan Csomor
60d66be369 attempt to get the 'new focus' window parameter of a focus kill event set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 10:37:01 +00:00
Stefan Csomor
c34cd96a33 deal with Cocoa as we do with Carbon, see #15008
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 09:40:50 +00:00
Stefan Csomor
b7005dfd8a deal with Cocoa as we do with Carbon, see #15008
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 08:34:11 +00:00
Stefan Csomor
77d2aaf0b4 make sure mouse moved events are always delivered, see #15008
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 08:32:15 +00:00
Stefan Csomor
e80711dd54 make sure button clicks etc. on a popup window don't lead to a dismissal because their GetWindow()/parent = popup check didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-03 08:30:33 +00:00