Commit Graph

56983 Commits

Author SHA1 Message Date
Vadim Zeitlin
1c25a4c2ae Use two step creation of wxListHeaderWindow to avoid reentrancy under OSX.
This improves the solution of the problem already solved in r74197 by
separating setting of m_headerWin variable from the window creation instead of
using an explicit recursion check.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 13:57:28 +00:00
Robin Dunn
cc33ae725d Add some missing wxGraphicsContext methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:26:41 +00:00
Robin Dunn
fb8d7eb7a8 Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target, and which can be used for measuring text, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:26:12 +00:00
Stefan Csomor
4164a04a98 make methods available to all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 00:42:24 +00:00
Stefan Csomor
246f5005fb fixing reentrancy which happened in tests, bringing client coordinates origins in synch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 00:38:54 +00:00
Stefan Csomor
57fe8307ab slight adaption, shorter max wait
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 00:19:10 +00:00
Stefan Csomor
234e255639 wait for the frame window to be really done on OSX before starting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 00:15:59 +00:00
Stefan Csomor
3ac6cf59fa using Destroy, as otherwise the remnants get into the way for some other tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 00:11:18 +00:00
Stefan Csomor
e1004654ab adding exceptions for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 00:08:27 +00:00
Stefan Csomor
28991a8803 adding missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 23:48:01 +00:00
Stefan Csomor
053f5a55da supporting max len event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 22:04:38 +00:00
Stefan Csomor
64fd19dbac osx needs a refocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 21:30:38 +00:00
Stefan Csomor
2ec5dba394 quite ugly workaround, but even the engineers at WWDC couldn't give me a better alternative, fixes #14968
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 21:23:45 +00:00
Stefan Csomor
0afeb753e0 guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes 15115
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 21:18:52 +00:00
Stefan Csomor
5928f66002 guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 20:45:38 +00:00
Stefan Csomor
06e56e62b9 guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 20:44:40 +00:00
Stefan Csomor
13167e72d6 exposing useful typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 20:41:04 +00:00
Stefan Csomor
5a1b961650 adding check for invalid date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 18:52:55 +00:00
Stefan Csomor
6f23613669 as the native control doesn't check the min max values, we do it ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 17:55:43 +00:00
Vadim Zeitlin
728a874411 French translations update from Xaviou.
Closes #15247.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 13:55:07 +00:00
Vadim Zeitlin
08267a6e1f Don't translate closing single quote in the font face name.
This is completely unnecessary and just creates extra work for the
translators.

See #15247.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 13:54:43 +00:00
Julian Smart
8836dcaadd The style listbox now takes into account the style background colour if specified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 09:51:32 +00:00
Stefan Csomor
d4e5c5b98a adding hook, but unfortunately no solution yet for wxComboBox::SetEditable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 06:51:24 +00:00
Stefan Csomor
809f6ef394 now working on cocoa as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-12 05:46:54 +00:00
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