]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoTake disabled windows into account in wxFindWindowAtPoint() in wxMSW.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:17 +0000 (00:29 +0000)] 
Take disabled windows into account in wxFindWindowAtPoint() in wxMSW.

Use ChildWindowFromPointEx(CWP_SKIPINVISIBLE) to ensure that we find the
disabled children (by not using CWP_SKIPDISABLED).

Add a unit test to check for the correct behaviour in all cases and document
it.

Closes #2942.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo changes, just cleanup TopLevelWindowTestCase unit test a little.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:14 +0000 (00:29 +0000)] 
No changes, just cleanup TopLevelWindowTestCase unit test a little.

Remove the unnecessary overrides of setUp() and tearDown().

Also get rid of trailing whitespace.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd documentation of wxFileSelectorEx() and wx{Load,Save}FileSelector().
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:11 +0000 (00:29 +0000)] 
Add documentation of wxFileSelectorEx() and wx{Load,Save}FileSelector().

Document all wxFileDialog-related functions and not just wxFileSelector().

See #14051.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoBetter documentation for the default parameters values.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:07 +0000 (00:29 +0000)] 
Better documentation for the default parameters values.

Use symbolic names for them and document them separately.

Closes #14051.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix showing MDI child from wxDocManager::ActivateDocument().
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:03 +0000 (00:29 +0000)] 
Fix showing MDI child from wxDocManager::ActivateDocument().

This fix has 2 components: first, call Raise() instead of simple SetFocus()
from ActivateDocument() as this corresponds better to what we want to do here.
And second, override Raise() to call Activate() in wxMDIChildFrame to ensure
that it works as expected as raising an MDI child doesn't work otherwise in
most ports (with the exceptions for wxOSX which, on the contrary, needs a
small fix to preserve the existing working Raise() behaviour).

Closes #13946.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.
Vadim Zeitlin [Sun, 4 Mar 2012 00:28:58 +0000 (00:28 +0000)] 
Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.

Add a special symbol which is defined only if the icons and other images (e.g.
cursor) are in the separate resource files and don't need to be embedded as
XPMs in the main program.

This makes the checks more clear and more customizable as it's enough to
change wxHAS_IMAGES_IN_RESOURCES definition instead of changing many platform
checks.

Closes #14050.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCzech translations update from Zbynek Schwarz.
Vadim Zeitlin [Sat, 3 Mar 2012 20:23:46 +0000 (20:23 +0000)] 
Czech translations update from Zbynek Schwarz.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agowe have to export every virtual method in this template class for clang
Stefan Csomor [Sat, 3 Mar 2012 17:30:32 +0000 (17:30 +0000)] 
we have to export every virtual method in this template class for clang

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agojust in case we have an erroneous character on the server as well at the end of this...
Stefan Csomor [Sat, 3 Mar 2012 13:09:54 +0000 (13:09 +0000)] 
just in case we have an erroneous character on the server as well at the end of this file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agotesting another implementation for avoiding WakeUp Problems within tracking loops
Stefan Csomor [Sat, 3 Mar 2012 10:36:03 +0000 (10:36 +0000)] 
testing another implementation for avoiding WakeUp Problems within tracking loops

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd Tamil translations by DINAKAR T.D.
Vadim Zeitlin [Fri, 2 Mar 2012 22:26:24 +0000 (22:26 +0000)] 
Add Tamil translations by DINAKAR T.D.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agofix missing and broken items in the datetime interface
Robin Dunn [Fri, 2 Mar 2012 21:51:21 +0000 (21:51 +0000)] 
fix missing and broken items in the datetime interface

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDarker border for wxComboCtrl on Mac
Julian Smart [Fri, 2 Mar 2012 12:43:39 +0000 (12:43 +0000)] 
Darker border for wxComboCtrl on Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse a non-native toolbar on Mac so small buttons aren't stretched horribly.
Julian Smart [Fri, 2 Mar 2012 08:55:25 +0000 (08:55 +0000)] 
Use a non-native toolbar on Mac so small buttons aren't stretched horribly.
The style combo control also appears now that the toolbar is non-native.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadding translation of NSDragOperationGeneric to wxDragCopy fixes #14059
Stefan Csomor [Fri, 2 Mar 2012 07:17:45 +0000 (07:17 +0000)] 
adding translation of NSDragOperationGeneric to wxDragCopy fixes #14059

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImproved the appearance of the property grid checkbox on Mac and GTK+
Julian Smart [Thu, 1 Mar 2012 18:52:38 +0000 (18:52 +0000)] 
Improved the appearance of the property grid checkbox on Mac and GTK+

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove signal-blocking variable, instead just connect to signal when ready
Paul Cornett [Thu, 1 Mar 2012 16:44:31 +0000 (16:44 +0000)] 
remove signal-blocking variable, instead just connect to signal when ready

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agouse m_ prefix for web_view member, and make it a WebKitWebView* to eliminate many...
Paul Cornett [Thu, 1 Mar 2012 16:36:58 +0000 (16:36 +0000)] 
use m_ prefix for web_view member, and make it a WebKitWebView* to eliminate many casts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove extra g_object_ref() on web view widget
Paul Cornett [Thu, 1 Mar 2012 16:14:27 +0000 (16:14 +0000)] 
remove extra g_object_ref() on web view widget

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded MacInternalOnSize() to allow windows to resize themselves independently of...
Julian Smart [Thu, 1 Mar 2012 15:04:42 +0000 (15:04 +0000)] 
Added MacInternalOnSize() to allow windows to resize themselves independently of size events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixes to allow running with 64-bit wxGTK
Paul Cornett [Thu, 1 Mar 2012 07:09:43 +0000 (07:09 +0000)] 
Fixes to allow running with 64-bit wxGTK
- use correct printf format specifiers
- don't perform operations requiring a window until the window has been created

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoapplying Andrew's patch, closes #13440, fine now that we have raised the minimum...
Stefan Csomor [Thu, 1 Mar 2012 07:09:29 +0000 (07:09 +0000)] 
applying Andrew's patch, closes #13440, fine now that we have raised the minimum deployment to 10.5

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd wxGCDC benchmarks to graphics benchmark for comparison with wxDC.
Vadim Zeitlin [Thu, 1 Mar 2012 01:05:28 +0000 (01:05 +0000)] 
Add wxGCDC benchmarks to graphics benchmark for comparison with wxDC.

Also benchmark rectangles and bitmaps in addition to lines drawing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCorrect wxCOMPILER_PREFIX definition when wxMSVC_VERSION is predefined.
Vadim Zeitlin [Thu, 1 Mar 2012 01:05:25 +0000 (01:05 +0000)] 
Correct wxCOMPILER_PREFIX definition when wxMSVC_VERSION is predefined.

Fix the wrong concatenation macro name that was used as using wxMSVC_VERSION
could not work as expected before (which also shows that nobody ever used it).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRecognize MSVC 11 instead of warning about unknown MSVC version.
Vadim Zeitlin [Wed, 29 Feb 2012 22:40:24 +0000 (22:40 +0000)] 
Recognize MSVC 11 instead of warning about unknown MSVC version.

Define __VISUALC11__ for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove unnecessary gtk_widget_show(m_widget) calls, PostCreation() takes care of...
Paul Cornett [Wed, 29 Feb 2012 18:29:31 +0000 (18:29 +0000)] 
remove unnecessary gtk_widget_show(m_widget) calls, PostCreation() takes care of that

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agosmall includes cleanup
Paul Cornett [Wed, 29 Feb 2012 18:13:06 +0000 (18:13 +0000)] 
small includes cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove unnecessary gtk_widget_show() calls, PostCreation() takes care of that
Paul Cornett [Wed, 29 Feb 2012 18:05:03 +0000 (18:05 +0000)] 
remove unnecessary gtk_widget_show() calls, PostCreation() takes care of that

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAlways send wxEVT_COMMAND_RICHTEXT_DELETE event if delete or back key pressed
Julian Smart [Wed, 29 Feb 2012 15:06:49 +0000 (15:06 +0000)] 
Always send wxEVT_COMMAND_RICHTEXT_DELETE event if delete or back key pressed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoIgnore setting empty path in wxGTK wxFileDialog.
Vadim Zeitlin [Wed, 29 Feb 2012 14:45:29 +0000 (14:45 +0000)] 
Ignore setting empty path in wxGTK wxFileDialog.

wxGenericFileButton calls wxFileDialog::SetPath() with empty path if no
initial path is explicitly specified and this clearly shouldn't do anything --
but it did, as it set the file dialog path to the initial directory (cwd by
default), and so opened it in the parent of that directory which was
completely unexpected and not useful at all.

Simply don't do anything when SetPath("") is called.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove redundant assignment in wxDialUpManagerMSW code.
Vadim Zeitlin [Wed, 29 Feb 2012 13:59:01 +0000 (13:59 +0000)] 
Remove redundant assignment in wxDialUpManagerMSW code.

No real changes, just remove a redundant assignment flagged by a static code
analysis tool.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoReplace incorrect uses of wxString::empty() with the intended clear().
Vadim Zeitlin [Wed, 29 Feb 2012 13:58:58 +0000 (13:58 +0000)] 
Replace incorrect uses of wxString::empty() with the intended clear().

empty() doesn't empty the string but just checks for its emptiness, clear()
was supposed to be used here instead.

Thanks to PVS-Studio for finding these problems.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInitialize m_isShown correctly in wxGenericDragImage::BeginDrag().
Vadim Zeitlin [Wed, 29 Feb 2012 13:58:55 +0000 (13:58 +0000)] 
Initialize m_isShown correctly in wxGenericDragImage::BeginDrag().

The code initialized m_isDirty twice which was clearly wrong. The original
intention was probably to set both m_isDirty and m_isShown to false.

Thanks to PVS-Studio for finding this bug.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMove checks for m_art != NULL before code using m_art in wxAuiToolBar.
Vadim Zeitlin [Wed, 29 Feb 2012 13:58:52 +0000 (13:58 +0000)] 
Move checks for m_art != NULL before code using m_art in wxAuiToolBar.

It doesn't make sense to check whether a pointer is NULL after using it, so do
the checks first.

In fact the m_art pointer probably can never be NULL at all as other code uses
it without checking and so these checks could probably be removed completely,
but keep them for now as I'm not totally sure if having NULL art provider is
really impossible.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse /bin/echo for creation of Mac OS X PkgInfo files.
Vadim Zeitlin [Tue, 28 Feb 2012 22:48:39 +0000 (22:48 +0000)] 
Use /bin/echo for creation of Mac OS X PkgInfo files.

The built-in of /bin/sh doesn't handle "-n" option that we use (at least not
under OS X 10.6), so we were getting "-n APPL????" in the generated files.
Fix this by using /bin/echo which does support this option.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoavoid deprecated gdk_net_wm_supports()
Paul Cornett [Tue, 28 Feb 2012 18:23:39 +0000 (18:23 +0000)] 
avoid deprecated gdk_net_wm_supports()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove run-time check for now-required GTK 2.4
Paul Cornett [Tue, 28 Feb 2012 18:06:22 +0000 (18:06 +0000)] 
remove run-time check for now-required GTK 2.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove unnecessary override of AddChildGTK
Paul Cornett [Tue, 28 Feb 2012 17:25:59 +0000 (17:25 +0000)] 
remove unnecessary override of AddChildGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agofix virtual override broken in r58875
Paul Cornett [Tue, 28 Feb 2012 17:06:56 +0000 (17:06 +0000)] 
fix virtual override broken in r58875

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremoving Quickdraw call
Stefan Csomor [Tue, 28 Feb 2012 16:30:58 +0000 (16:30 +0000)] 
removing Quickdraw call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix unused parameter warning in wxOSX build.
Vadim Zeitlin [Tue, 28 Feb 2012 14:41:30 +0000 (14:41 +0000)] 
Fix unused parameter warning in wxOSX build.

No real changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agomaking sure TextMatrix is always identity, there were strange artifacts sometimes...
Stefan Csomor [Tue, 28 Feb 2012 14:39:32 +0000 (14:39 +0000)] 
making sure TextMatrix is always identity, there were strange artifacts sometimes, maybe due to interference with cocoa text system, adding debug method CheckInvariants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove code to query GDK window origin from DoGetPosition(), it should not be necessa...
Paul Cornett [Tue, 28 Feb 2012 05:29:35 +0000 (05:29 +0000)] 
Remove code to query GDK window origin from DoGetPosition(), it should not be necessary, and was probably wrong anyway.
This allows removing unnecessary assertions on m_widget (see #14052).
Also, avoid setting initial position to (-1,-1)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoavoid crash if IsMaximized() is called before native widget is created, fixes #14052
Paul Cornett [Tue, 28 Feb 2012 04:40:15 +0000 (04:40 +0000)] 
avoid crash if IsMaximized() is called before native widget is created, fixes #14052

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix setting default file name in wxGenericFileDirButton in wxGTK.
Vadim Zeitlin [Tue, 28 Feb 2012 02:05:01 +0000 (02:05 +0000)] 
Fix setting default file name in wxGenericFileDirButton in wxGTK.

Set the default directory first, if it's specified, and the file name later to
ensure that it's interpreted relatively to this directory. Otherwise we could
have a mismatch between the directory shown in the dialog and its initial
path.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterpret default file name relatively to initial dir in wxGTK wxFileDialog.
Vadim Zeitlin [Tue, 28 Feb 2012 02:04:57 +0000 (02:04 +0000)] 
Interpret default file name relatively to initial dir in wxGTK wxFileDialog.

Use the initial dialog directory to build the absolute path required by GTK+
in wxFileDialog instead of the current working directory. This makes more
sense and makes specifying the default directory and (just) the default file
name work correctly and avoids GTK+ warnings like

Gtk-CRITICAL **: gtk_file_folder_unix_get_info: assertion `strcmp (dirname, folder_unix->filename) == 0' failed

(and in some older versions of GTK+ -- 2.10? -- this even results in a crash).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd a bit of docs for the FS Handlers
Robin Dunn [Mon, 27 Feb 2012 23:51:05 +0000 (23:51 +0000)] 
Add a bit of docs for the FS Handlers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoPhoenix needs to see the implementation of pure virtuals so it knows that this class...
Robin Dunn [Mon, 27 Feb 2012 23:50:59 +0000 (23:50 +0000)] 
Phoenix needs to see the implementation of pure virtuals so it knows that this class is not abstract.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd missing RemoveHandler
Robin Dunn [Mon, 27 Feb 2012 23:50:54 +0000 (23:50 +0000)] 
Add missing RemoveHandler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd interface declarations for stock file system handlers.
Robin Dunn [Mon, 27 Feb 2012 23:50:49 +0000 (23:50 +0000)] 
Add interface declarations for stock file system handlers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoChange the background style in the template file too.
Robin Dunn [Mon, 27 Feb 2012 23:50:39 +0000 (23:50 +0000)] 
Change the background style in the template file too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoReturn an invalid item from wxDataViewCtrl::GetItemByRow() for invalid rows.
Vadim Zeitlin [Mon, 27 Feb 2012 18:54:02 +0000 (18:54 +0000)] 
Return an invalid item from wxDataViewCtrl::GetItemByRow() for invalid rows.

This function is called in many places in the code with possibly invalid (i.e.
out of range) row, so handle it gracefully inside it in virtual list control
case. This is consistent with the behaviour in non-virtual case and with that
of GetRowByItem().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo changes, just make wxDataViewMainWindow::GetRowCount() const.
Vadim Zeitlin [Mon, 27 Feb 2012 18:53:58 +0000 (18:53 +0000)] 
No changes, just make wxDataViewMainWindow::GetRowCount() const.

This is clearly an accessor function, so make it const, even if it requires a
const_cast<> inside it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove redundant GTK check
Paul Cornett [Mon, 27 Feb 2012 18:07:21 +0000 (18:07 +0000)] 
remove redundant GTK check

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agouse 0 (== GTK_STATE_NORMAL) for state parameter default
Paul Cornett [Mon, 27 Feb 2012 17:49:33 +0000 (17:49 +0000)] 
use 0 (== GTK_STATE_NORMAL) for state parameter default

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoavoid making copy of font description
Paul Cornett [Mon, 27 Feb 2012 16:40:34 +0000 (16:40 +0000)] 
avoid making copy of font description

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agono 10.4 support anymore
Stefan Csomor [Mon, 27 Feb 2012 15:41:35 +0000 (15:41 +0000)] 
no 10.4 support anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agono 10.4 support anymore
Stefan Csomor [Mon, 27 Feb 2012 15:38:39 +0000 (15:38 +0000)] 
no 10.4 support anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agono 10.4 support anymore
Stefan Csomor [Mon, 27 Feb 2012 15:37:24 +0000 (15:37 +0000)] 
no 10.4 support anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agono 10.4 support anymore
Stefan Csomor [Mon, 27 Feb 2012 15:35:31 +0000 (15:35 +0000)] 
no 10.4 support anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument more events in wxAuiNotebookEvent documentation.
Vadim Zeitlin [Mon, 27 Feb 2012 15:26:54 +0000 (15:26 +0000)] 
Document more events in wxAuiNotebookEvent documentation.

This is the second part of r70691.

Closes #14040.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agono 10.4 support anymore
Stefan Csomor [Mon, 27 Feb 2012 15:20:19 +0000 (15:20 +0000)] 
no 10.4 support anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImprove default wxDVC line height on Windows >= Vista.
Václav Slavík [Mon, 27 Feb 2012 14:27:47 +0000 (14:27 +0000)] 
Improve default wxDVC line height on Windows >= Vista.

Explorer in Vista/Win7 uses slightly larger rows, so mimic it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAllow passing the list of architectures to --enable-universal_binary.
Vadim Zeitlin [Mon, 27 Feb 2012 01:47:32 +0000 (01:47 +0000)] 
Allow passing the list of architectures to --enable-universal_binary.

Interpret --enable-universal_binary argument as a comma-separated list of
architectures to use. By default still use all the supported ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoOnly include <unistd.h> under Unix in wxGTK code.
Vadim Zeitlin [Mon, 27 Feb 2012 00:40:16 +0000 (00:40 +0000)] 
Only include <unistd.h> under Unix in wxGTK code.

Also remove the inclusions of some Unix-specific headers that were not needed
at all.

Closes #14048.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd minimal support for building non-GUI parts of wxWidgets for Android.
Vadim Zeitlin [Sun, 26 Feb 2012 20:24:25 +0000 (20:24 +0000)] 
Add minimal support for building non-GUI parts of wxWidgets for Android.

Recognize __ANDROID__ in wx/platform.h and include the appropriate headers
from wx/android.

Also fix a couple of compilation errors (in filename.cpp) and warnings (in
event.h) which only appear when building for Android.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate configure.in to use pkg_config to find the webkit hearers and libraries. Regen...
Steve Lamerton [Sun, 26 Feb 2012 18:36:07 +0000 (18:36 +0000)] 
Update configure.in to use pkg_config to find the webkit hearers and libraries. Regenerate configure.in

Fixes #14015

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxGTK compilation when using non X11-based GDK.
Vadim Zeitlin [Sun, 26 Feb 2012 17:18:41 +0000 (17:18 +0000)] 
Fix wxGTK compilation when using non X11-based GDK.

Only use X11-specific GDK functions inside "#ifdef GDK_WINDOWING_X11" checks.

Closes #14044.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRetrieve paper size from page setup dialog in wxOSX/Cocoa.
Vadim Zeitlin [Sun, 26 Feb 2012 17:18:34 +0000 (17:18 +0000)] 
Retrieve paper size from page setup dialog in wxOSX/Cocoa.

Call PMGetPageFormatPaper() when retrieving data from the native dialog.

Closes #14047.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed enabling/disabling for wxSpinCtrl
Julian Smart [Sun, 26 Feb 2012 15:44:04 +0000 (15:44 +0000)] 
Fixed enabling/disabling for wxSpinCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoalso a dialog needs the current events set up correctly
Stefan Csomor [Sun, 26 Feb 2012 13:30:55 +0000 (13:30 +0000)] 
also a dialog needs the current events set up correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agosetting up current event also when mouse is captured ...
Stefan Csomor [Sun, 26 Feb 2012 10:21:03 +0000 (10:21 +0000)] 
setting up current event also when mouse is captured ...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoEnsure that combobox editor used by wxGrid is tall enough.
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:55 +0000 (23:49 +0000)] 
Ensure that combobox editor used by wxGrid is tall enough.

Set the rectangle of wxGridCellChoiceEditor to be at least as tall as the best
(i.e. minimal) wxComboBox size because otherwise the control can be unusable.

Closes #13818.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoSuppress harmless MSVC warnings about int to bool conversions.
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:53 +0000 (23:49 +0000)] 
Suppress harmless MSVC warnings about int to bool conversions.

Convert int to bool explicitly to avoid MSVC warning C4800.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument more wxAuiNotebook events.
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:49 +0000 (23:49 +0000)] 
Document more wxAuiNotebook events.

Add descriptions of several previously undocumented
wxEVT_COMMAND_AUINOTEBOOK_XXX events and the corresponding event table entries.

Closes #14040.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDispatch unknown messages immediately in wxMSW YieldFor().
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:45 +0000 (23:49 +0000)] 
Dispatch unknown messages immediately in wxMSW YieldFor().

Failure to do this can have catastrophic consequences, e.g. embedded ActiveX
IE controls may stop working -- even after resuming the normal message
dispatching.

Closes #14027.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMinor fixes to wxMessageBox() documentation.
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:42 +0000 (23:49 +0000)] 
Minor fixes to wxMessageBox() documentation.

Correct the default parameters values.

Closes #14043.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't assert in wxLocale::IsAvailable() if language is not supported.
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:39 +0000 (23:49 +0000)] 
Don't assert in wxLocale::IsAvailable() if language is not supported.

We can fail to find language information if we're called with
wxLANGUAGE_DEFAULT and we don't support the current system language.

Closes #14039.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompare file inodes if possible in wxFileName::SameAs().
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:35 +0000 (23:49 +0000)] 
Compare file inodes if possible in wxFileName::SameAs().

This allows to correctly return when the two files with different names
actually refer to the same file system object.

Closes #910.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove temporary files created by wxFileName unit test case.
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:32 +0000 (23:49 +0000)] 
Remove temporary files created by wxFileName unit test case.

Don't leave temporary files created by wxFileName::CreateTempFileName() lying
around.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd borders if none specified
Julian Smart [Sat, 25 Feb 2012 22:29:25 +0000 (22:29 +0000)] 
Add borders if none specified

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadding a app-defined event seems to quit inner eventloops like eg the popup of the...
Stefan Csomor [Sat, 25 Feb 2012 18:30:04 +0000 (18:30 +0000)] 
adding a app-defined event seems to quit inner eventloops like eg the popup of the combobox, therefore use the cf api in this case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse Doxygen comments for wxVisualAttributes members.
Vadim Zeitlin [Sat, 25 Feb 2012 15:03:23 +0000 (15:03 +0000)] 
Use Doxygen comments for wxVisualAttributes members.

Fix documentation of wxVisualAttributes by simply turning the normal comments
into Doxygen ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo changes, just remove functions bodies from interface docs.
Vadim Zeitlin [Sat, 25 Feb 2012 15:03:20 +0000 (15:03 +0000)] 
No changes, just remove functions bodies from interface docs.

Omit the implementations, even trivial ones, from the documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't use _T() in the documentation.
Vadim Zeitlin [Sat, 25 Feb 2012 15:03:17 +0000 (15:03 +0000)] 
Don't use _T() in the documentation.

This is mainly necessary in order to be able to commit the subsequent changes
to this file as otherwise the commit is refused by the svn post-commit hook
that checks for _T() presence.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix r70318 to skip unhandled events.
Václav Slavík [Sat, 25 Feb 2012 12:55:46 +0000 (12:55 +0000)] 
Fix r70318 to skip unhandled events.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMore reasonable font size for rich text dialogs.
Julian Smart [Sat, 25 Feb 2012 11:08:11 +0000 (11:08 +0000)] 
More reasonable font size for rich text dialogs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDutch translations update from Gideon van Melle.
Vadim Zeitlin [Thu, 23 Feb 2012 19:43:05 +0000 (19:43 +0000)] 
Dutch translations update from Gideon van Melle.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded functionality for disabling the vertical scrollbar.
Julian Smart [Thu, 23 Feb 2012 17:01:30 +0000 (17:01 +0000)] 
Added functionality for disabling the vertical scrollbar.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove duplicate wxFileKind definition from documentation.
Vadim Zeitlin [Thu, 23 Feb 2012 16:33:13 +0000 (16:33 +0000)] 
Remove duplicate wxFileKind definition from documentation.

Also move wxSeekMode from interface/wx/ffile.h to filefn.h to be consistent
with the header in which this enum is really defined. And document it better.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse wxStrnicmp() instead of strncasecmp() in wxGTK code.
Vadim Zeitlin [Thu, 23 Feb 2012 13:56:14 +0000 (13:56 +0000)] 
Use wxStrnicmp() instead of strncasecmp() in wxGTK code.

This fixes compilation under Windows where strncasecmp() is not available --
but portable wxStrnicmp() always is.

Closes #14036.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo real changes, just fix spelling errors in the documentation.
Vadim Zeitlin [Thu, 23 Feb 2012 13:56:10 +0000 (13:56 +0000)] 
No real changes, just fix spelling errors in the documentation.

Closes #14038.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemoved unused variable warning
Julian Smart [Thu, 23 Feb 2012 07:07:15 +0000 (07:07 +0000)] 
Removed unused variable warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompile fixes for wxUSE_COLLPANE=0
Julian Smart [Wed, 22 Feb 2012 17:35:21 +0000 (17:35 +0000)] 
Compile fixes for wxUSE_COLLPANE=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMention event type corresponding to EVT_CLOSE in wxFrame documentation.
Vadim Zeitlin [Wed, 22 Feb 2012 13:41:15 +0000 (13:41 +0000)] 
Mention event type corresponding to EVT_CLOSE in wxFrame documentation.

Closes #14030.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't crash when using wxPrintDialog with NULL parent under GTK.
Vadim Zeitlin [Wed, 22 Feb 2012 13:41:11 +0000 (13:41 +0000)] 
Don't crash when using wxPrintDialog with NULL parent under GTK.

Check that we have a valid parent before using it.

Also simplify the code a little.

Closes #14033.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix spelling in the documentation.
Vadim Zeitlin [Wed, 22 Feb 2012 13:41:07 +0000 (13:41 +0000)] 
Fix spelling in the documentation.

Closes #14034.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agocatching default button handling also in password fields
Stefan Csomor [Wed, 22 Feb 2012 08:24:09 +0000 (08:24 +0000)] 
catching default button handling also in password fields

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCorrect wxWinCE port name in @onlyfor in the documentation.
Vadim Zeitlin [Tue, 21 Feb 2012 22:02:21 +0000 (22:02 +0000)] 
Correct wxWinCE port name in @onlyfor in the documentation.

The name used here should be the same as the label used for the corresponding
port in docs/doxygen/mainpages/platdetails.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agomaking sure eventual borders get updated when windows are shown
Stefan Csomor [Tue, 21 Feb 2012 20:22:16 +0000 (20:22 +0000)] 
making sure eventual borders get updated when windows are shown

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775