]>
git.saurik.com Git - wxWidgets.git/log
Julian Smart [Tue, 25 Jun 2013 07:23:48 +0000 (07:23 +0000)]
Removed 3D style for splitter on Mac since it looks bad
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74281
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 16:39:39 +0000 (16:39 +0000)]
Add wxBookCtrlBase::DoSetSelectionAfterRemoval() and use it in wxSimplebook.
This fixes the wrong handling of the selection in wxSimplebook when the
currently selected page was deleted.
Also extend the unit tests to check for this bug.
Closes #15188.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74279
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 16:39:15 +0000 (16:39 +0000)]
No real changes, just simplify wxBookCtrlBase unit test a little.
Add Realize() virtual function that can be overridden in ToolbookTestCase
instead of using explicit wxDynamicCasts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74278
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 16:38:51 +0000 (16:38 +0000)]
Add a minimal unit test for wxSimplebook.
This is just a test running the common wxBookCtrlBase tests for wxSimplebook.
See #15188.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74277
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 13:08:41 +0000 (13:08 +0000)]
Also propagate wxEVT_UPDATE_UI to the child MDI frame.
It seems to make sense to handle wxEVT_UPDATE_UI in the same way as wxEVT_MENU
as they are often used together. This allows to handle e.g. toolbar buttons
entirely in the child MDI frame, without any involvement from the parent.
See #14314.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74276
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 13:08:18 +0000 (13:08 +0000)]
Use child MDI frame menu items in preference to the parent frame ones.
Look for the item with the given ID in the child frame menu bar first, before
looking in the parent frame menu bar. This ensures that if an item is disabled
by the parent frame but then reenabled by the child one, it still generates
commands as expected instead of being completely ignored.
See #14314.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74275
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 13:07:55 +0000 (13:07 +0000)]
Undo "Forward events to active child at MSW, not wx, level in wxMDIParentFrame."
Unfortunately, forwarding MSW messages only takes care of the menu events but
not the toolbar ones -- which should be handled in the same way but were not.
So restore the old behaviour, the problem with menu items disabled in the
parent frame but enabled in the child one will be fixed differently.
This reverts r73927.
See #14314.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74274
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 11:10:03 +0000 (11:10 +0000)]
Add --without-libjbig and --without-liblzma configure switches.
They can be used to disable the use of the corresponding libraries by the
built-in libtiff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74273
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 23 Jun 2013 00:53:15 +0000 (00:53 +0000)]
Add WX_ATTRIBUTE_UNUSED and use it for typedefs to avoid g++ 4.8 warnings.
g++ 4.8 warns about unused typedef's in local scope resulting in hundreds of
warnings when building wx, suppress them by using WX_ATTRIBUTE_UNUSED for
these typedefs.
Closes #15137.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74272
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 21 Jun 2013 09:21:58 +0000 (09:21 +0000)]
Fix Unix build with libSDL 2 in debug mode.
SDL_AudioDriverName() was replaced with SDL_GetCurrentAudioDriver() in SDL v2.
Closes #15271.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74271
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 20 Jun 2013 14:40:57 +0000 (14:40 +0000)]
Not not pass debug messages on from wxLogWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74270
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 20 Jun 2013 07:22:00 +0000 (07:22 +0000)]
partial revert, as we still need Xcode 3.1 for 10.5, Xcode 3.2 is 10.6+ only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74269
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 20 Jun 2013 07:13:44 +0000 (07:13 +0000)]
update Xcode format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74268
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 20 Jun 2013 07:09:27 +0000 (07:09 +0000)]
common schemes, Xcode 4/5 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74267
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 20 Jun 2013 07:08:21 +0000 (07:08 +0000)]
common schemes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74266
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 20 Jun 2013 06:54:55 +0000 (06:54 +0000)]
updated project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74265
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 20 Jun 2013 01:02:49 +0000 (01:02 +0000)]
GetMagnificationFactor --> GetContentScaleFactor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74260
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 20 Jun 2013 01:02:20 +0000 (01:02 +0000)]
Add flags for SendSizeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74259
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 20 Jun 2013 01:01:51 +0000 (01:01 +0000)]
Document wxWindow::GetMagnificationFactor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74258
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 19 Jun 2013 20:30:54 +0000 (20:30 +0000)]
fixing iPhone build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74257
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 19 Jun 2013 20:29:56 +0000 (20:29 +0000)]
using common GetContentScaleFactor throughout part 2/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74256
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 19 Jun 2013 20:28:01 +0000 (20:28 +0000)]
using common GetContentScaleFactor throughout part 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74255
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 19 Jun 2013 16:35:18 +0000 (16:35 +0000)]
update project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74254
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 19 Jun 2013 16:02:54 +0000 (16:02 +0000)]
Fix GetMsgCatalogSubdirs() to do as documentation says.
Due to a typo, the prefix/lang path wasn't considered when opening a
domain catalog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74253
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 19 Jun 2013 16:02:30 +0000 (16:02 +0000)]
Be case insensitive when looking for language catalogs on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74252
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 18 Jun 2013 19:54:25 +0000 (19:54 +0000)]
Ensure that the default wxWebView backends are registered.
Fixes #15261
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74251
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 17 Jun 2013 20:21:54 +0000 (20:21 +0000)]
Fixed loading of whole file:... specification of a page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74250
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 17 Jun 2013 19:43:46 +0000 (19:43 +0000)]
fixing sdk compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74248
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 17 Jun 2013 17:41:34 +0000 (17:41 +0000)]
adding magnification API into the wxWindow classes for best retina support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74247
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 16 Jun 2013 11:51:38 +0000 (11:51 +0000)]
Remove superfluous call in wxTranslations::LoadCatalog().
This call to GetAvailableTranslations() did nothing, it's value was
ignored, and it was done before m_loader was checked for != NULL.
Probably some leftover debugging code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74246
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 16 Jun 2013 10:50:54 +0000 (10:50 +0000)]
Improve wxGrid cell wrapping in wxGridCellAutoWrapStringRenderer.
Wrap the words too long to be shown on one line on several lines.
Also take the line breaks and TABs into account.
Closes #15249.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74245
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 15 Jun 2013 21:49:52 +0000 (21:49 +0000)]
Document that wxDC::FloodFill() is not implemented under wxOSX.
wxOSX uses wxGCDC for its wxDC functionality and wxGCDC doesn't implement this
operation, even not using the horribly inefficient wxGTK fallback.
See #15151.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74244
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 15 Jun 2013 21:49:29 +0000 (21:49 +0000)]
Restore case-insensitivity for file name matching under Windows.
This was broken by the changes of r73790, see #3432. Fix this by converting
both the file name and the wildcard mask to the upper case before checking
whether the former matches the latter.
Closes #15243.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74243
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 15 Jun 2013 21:49:05 +0000 (21:49 +0000)]
Fix formatting of the local time zone when DST is in effect.
We must add DST offset manually as wxGetTimeZone() doesn't take DST into
account.
This fixes the handling of "%z" in format strings.
Closes #15250.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74242
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 15 Jun 2013 16:29:04 +0000 (16:29 +0000)]
adding new constructor for best dc-compatibility of bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74241
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 15 Jun 2013 14:45:17 +0000 (14:45 +0000)]
use common bottleneck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74240
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 14 Jun 2013 13:10:04 +0000 (13:10 +0000)]
Don't crash in wxWebView under OS X if custom URI is invalid.
Don't assume that wxWebViewHandler::GetFile() always returns a valid pointer,
it may fail and return NULL, e.g. for a non-existent VFS location.
Closes #15254.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74239
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 14 Jun 2013 13:06:46 +0000 (13:06 +0000)]
Handle NULL flags argument in wxOSX wxNotebook::HitTest().
Don't crash if flags are not specified, this parameter is optional.
Closes #15256.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74238
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 13 Jun 2013 14:12:11 +0000 (14:12 +0000)]
fixing correct delete key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74237
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 13 Jun 2013 14:09:39 +0000 (14:09 +0000)]
fixes to pass tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74236
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 13 Jun 2013 14:06:02 +0000 (14:06 +0000)]
reusing existing API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74235
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 13 Jun 2013 14:04:41 +0000 (14:04 +0000)]
reusing existing API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74234
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 13 Jun 2013 13:58:15 +0000 (13:58 +0000)]
Remove the unused code instead of commenting it out.
Just clean up the fixes of r74197.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74233
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 13 Jun 2013 13:57:51 +0000 (13:57 +0000)]
Check wxListCtrl::GetItemRect() origin in the unit tests.
Verify that the top item is _not_ at (0, 0) when the header is present in the
control, as the control client coordinates should not take the header into
account.
This test passes when using wxGenericListCtrl since r74197, add it to ensure
that it doesn't get broken again later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74232
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 13 Jun 2013 13:57:28 +0000 (13:57 +0000)]
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
Robin Dunn [Thu, 13 Jun 2013 07:26:41 +0000 (07:26 +0000)]
Add some missing wxGraphicsContext methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74228
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 13 Jun 2013 07:26:12 +0000 (07:26 +0000)]
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
Stefan Csomor [Thu, 13 Jun 2013 00:42:24 +0000 (00:42 +0000)]
make methods available to all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74198
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 13 Jun 2013 00:38:54 +0000 (00:38 +0000)]
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
Stefan Csomor [Thu, 13 Jun 2013 00:19:10 +0000 (00:19 +0000)]
slight adaption, shorter max wait
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74196
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 13 Jun 2013 00:15:59 +0000 (00:15 +0000)]
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
Stefan Csomor [Thu, 13 Jun 2013 00:11:18 +0000 (00:11 +0000)]
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
Stefan Csomor [Thu, 13 Jun 2013 00:08:27 +0000 (00:08 +0000)]
adding exceptions for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74193
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 23:48:01 +0000 (23:48 +0000)]
adding missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74192
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 22:04:38 +0000 (22:04 +0000)]
supporting max len event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74191
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 21:30:38 +0000 (21:30 +0000)]
osx needs a refocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74190
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 21:23:45 +0000 (21:23 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 21:18:52 +0000 (21:18 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 20:45:38 +0000 (20:45 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 20:44:40 +0000 (20:44 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 20:41:04 +0000 (20:41 +0000)]
exposing useful typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74185
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 18:52:55 +0000 (18:52 +0000)]
adding check for invalid date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74184
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 17:55:43 +0000 (17:55 +0000)]
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
Vadim Zeitlin [Wed, 12 Jun 2013 13:55:07 +0000 (13:55 +0000)]
French translations update from Xaviou.
Closes #15247.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74182
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 12 Jun 2013 13:54:43 +0000 (13:54 +0000)]
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
Julian Smart [Wed, 12 Jun 2013 09:51:32 +0000 (09:51 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 06:51:24 +0000 (06:51 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 05:46:54 +0000 (05:46 +0000)]
now working on cocoa as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74176
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 12 Jun 2013 05:45:35 +0000 (05:45 +0000)]
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
Stefan Csomor [Wed, 12 Jun 2013 05:25:22 +0000 (05:25 +0000)]
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
Stefan Csomor [Tue, 11 Jun 2013 23:14:20 +0000 (23:14 +0000)]
missing commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74173
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 11 Jun 2013 22:33:00 +0000 (22:33 +0000)]
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
Stefan Csomor [Tue, 11 Jun 2013 22:27:48 +0000 (22:27 +0000)]
draghino explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74171
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 11 Jun 2013 22:26:11 +0000 (22:26 +0000)]
adding default impl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74170
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 11 Jun 2013 22:25:21 +0000 (22:25 +0000)]
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
Stefan Csomor [Tue, 11 Jun 2013 22:21:30 +0000 (22:21 +0000)]
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
Stefan Csomor [Tue, 11 Jun 2013 22:19:21 +0000 (22:19 +0000)]
fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74167
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 11 Jun 2013 22:18:33 +0000 (22:18 +0000)]
fixing include styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74166
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 11 Jun 2013 17:56:27 +0000 (17:56 +0000)]
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
Stefan Csomor [Tue, 11 Jun 2013 17:54:07 +0000 (17:54 +0000)]
better support for ui action simulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74162
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 11 Jun 2013 16:46:49 +0000 (16:46 +0000)]
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
Julian Smart [Tue, 11 Jun 2013 14:01:47 +0000 (14:01 +0000)]
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
Vadim Zeitlin [Tue, 11 Jun 2013 12:25:00 +0000 (12:25 +0000)]
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
Julian Smart [Tue, 11 Jun 2013 10:20:11 +0000 (10:20 +0000)]
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
Vadim Zeitlin [Mon, 10 Jun 2013 15:53:29 +0000 (15:53 +0000)]
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
Vadim Zeitlin [Mon, 10 Jun 2013 15:53:04 +0000 (15:53 +0000)]
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
Vadim Zeitlin [Mon, 10 Jun 2013 15:52:41 +0000 (15:52 +0000)]
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
Vadim Zeitlin [Mon, 10 Jun 2013 15:52:17 +0000 (15:52 +0000)]
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
Vadim Zeitlin [Mon, 10 Jun 2013 15:51:49 +0000 (15:51 +0000)]
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
Vadim Zeitlin [Mon, 10 Jun 2013 15:51:10 +0000 (15:51 +0000)]
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
Robin Dunn [Sat, 8 Jun 2013 23:24:04 +0000 (23:24 +0000)]
More docs cleanup and fixes for richtextbuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74130
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 8 Jun 2013 23:23:32 +0000 (23:23 +0000)]
Remove some wxT()'s in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74129
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 8 Jun 2013 23:23:02 +0000 (23:23 +0000)]
More richtext fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74128
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Jun 2013 02:29:06 +0000 (02:29 +0000)]
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
Vadim Zeitlin [Sat, 8 Jun 2013 02:27:50 +0000 (02:27 +0000)]
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
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:58 +0000 (02:23 +0000)]
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
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:55 +0000 (02:23 +0000)]
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
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:52 +0000 (02:23 +0000)]
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
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:48 +0000 (02:23 +0000)]
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
Vadim Zeitlin [Sat, 8 Jun 2013 02:22:52 +0000 (02:22 +0000)]
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