]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoMake Dismiss() virtual.
Robin Dunn [Sat, 17 Mar 2012 02:55:30 +0000 (02:55 +0000)] 
Make Dismiss() virtual.

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

12 years agoImprove wxListCtrl::SetItemState() documentation.
Vadim Zeitlin [Thu, 15 Mar 2012 23:24:41 +0000 (23:24 +0000)] 
Improve wxListCtrl::SetItemState() documentation.

Better explain the meaning of its parameters.

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

12 years agoEnable/disable "Window" menu items in AUI MDI correctly.
Vadim Zeitlin [Thu, 15 Mar 2012 13:49:54 +0000 (13:49 +0000)] 
Enable/disable "Window" menu items in AUI MDI correctly.

Add EVT_UPDATE_UI handlers for "Close", "Close All" as well as "Next" and
"Previous" menu commands.

Closes #14102.

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

12 years agoPass the original format to wxDataObjectSimple in wxDataObjectComposite.
Vadim Zeitlin [Thu, 15 Mar 2012 13:49:49 +0000 (13:49 +0000)] 
Pass the original format to wxDataObjectSimple in wxDataObjectComposite.

Some "simple" data objects, such as wxTextDataObject, are actually not simple
and support multiple formats so pass the real format to them so that they
could do the right thing.

Closes #14101.

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

12 years agoItalian translations update from Roberto Boriotti.
Vadim Zeitlin [Thu, 15 Mar 2012 13:14:07 +0000 (13:14 +0000)] 
Italian translations update from Roberto Boriotti.

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

12 years agoBasque translations update from Xabier Aramendi.
Vadim Zeitlin [Thu, 15 Mar 2012 13:14:04 +0000 (13:14 +0000)] 
Basque translations update from Xabier Aramendi.

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

12 years agoImplement wxDirDialog:: and wxFileDialog::Create() in wxGTK.
Vadim Zeitlin [Wed, 14 Mar 2012 12:32:27 +0000 (12:32 +0000)] 
Implement wxDirDialog:: and wxFileDialog::Create() in wxGTK.

Simply move the code from non-default constructor to Create(). This allows to
create the dialogs using 2-step creation if necessary.

Closes #14069.

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

12 years agoBetter border style for HTML window
Julian Smart [Tue, 13 Mar 2012 17:43:55 +0000 (17:43 +0000)] 
Better border style for HTML window

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

12 years agoDon't scale 16x15 to 16x16 - fixes corruption of bookmark icons in help window
Julian Smart [Tue, 13 Mar 2012 17:23:58 +0000 (17:23 +0000)] 
Don't scale 16x15 to 16x16 - fixes corruption of bookmark icons in help window

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

12 years agoEnsure IDs don't clash with wxRichTextCtrl.
Julian Smart [Tue, 13 Mar 2012 17:22:58 +0000 (17:22 +0000)] 
Ensure IDs don't clash with wxRichTextCtrl.

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

12 years agoFixed size calculation
Julian Smart [Tue, 13 Mar 2012 08:42:03 +0000 (08:42 +0000)] 
Fixed size calculation

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

12 years agoAdded wxRIBBON_PANEL_FLEXIBLE flag to allow toolbars to wrap, taking up the optimum...
Julian Smart [Mon, 12 Mar 2012 19:30:10 +0000 (19:30 +0000)] 
Added wxRIBBON_PANEL_FLEXIBLE flag to allow toolbars to wrap, taking up the optimum amount of space when used in a vertical palette.

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

12 years agoremove 10.4 compatibility code
Stefan Csomor [Mon, 12 Mar 2012 17:47:18 +0000 (17:47 +0000)] 
remove 10.4 compatibility code

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

12 years agoAdd new WX_ASSERT_EVENT_OCCURS macro to improve behaviour of testing asynchronous...
Steve Lamerton [Mon, 12 Mar 2012 14:57:44 +0000 (14:57 +0000)] 
Add new WX_ASSERT_EVENT_OCCURS macro to improve behaviour of testing asynchronous events. Use it in the wxWebView tests and re-enable previously failing tests.

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

12 years agoRemoved redundant DoEnable
Julian Smart [Mon, 12 Mar 2012 11:42:49 +0000 (11:42 +0000)] 
Removed redundant DoEnable

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

12 years agoUpdate the text part of combobox when changing text of selected item in wxGTK.
Vadim Zeitlin [Sun, 11 Mar 2012 23:55:19 +0000 (23:55 +0000)] 
Update the text part of combobox when changing text of selected item in wxGTK.

Add a call to SetValue() to wxComboBox::SetString() in wxGTK if the item being
changed is the currently selected one. The new behaviour is consistent with
wxMSW and also makes more sense.

Document it too to remove any doubts about what is supposed to happen in this
case.

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

12 years agoAdd a test for wxComboBox::SetString() to the widgets sample.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:27 +0000 (23:41 +0000)] 
Add a test for wxComboBox::SetString() to the widgets sample.

This allows to easily test this function interactively, notably check what
happens when the currently selected string is changed under different ports.

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

12 years agoRemove duplicate wxSYS_DCLICK_MSEC in wxSystemMetric documentation.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:23 +0000 (23:41 +0000)] 
Remove duplicate wxSYS_DCLICK_MSEC in wxSystemMetric documentation.

Closes #14093.

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

12 years agoDocument wxGridCellCoords class.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:20 +0000 (23:41 +0000)] 
Document wxGridCellCoords class.

Closes #14092.

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

12 years agoDocument wxBK_HITTEST_XXX values.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:16 +0000 (23:41 +0000)] 
Document wxBK_HITTEST_XXX values.

They were previously implicitly documented in HitTest() itself but this was
insufficient for wrappers generation as the constants themselves were never
declared. Do define them now and also correct and update their descriptions.

Closes #14091.

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

12 years agoDocument wxHelpSearchMode enum and its values.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:13 +0000 (23:41 +0000)] 
Document wxHelpSearchMode enum and its values.

Closes #14090.

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

12 years agoFixes to function signatures in wxDataViewCtrl documentation.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:09 +0000 (23:41 +0000)] 
Fixes to function signatures in wxDataViewCtrl documentation.

Change the return type of {Append,Insert,Prepend}Column() to bool and add
missing "const" to Compare().

Closes #14089.

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

12 years agoDelete buttons when we are finished so they do not overlap later controls and cause...
Steve Lamerton [Sun, 11 Mar 2012 15:27:40 +0000 (15:27 +0000)] 
Delete buttons when we are finished so they do not overlap later controls and cause test failures.

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

12 years agoMove getting the unit test event count from wxTestableFrame to the EventCounter class...
Steve Lamerton [Sun, 11 Mar 2012 14:32:24 +0000 (14:32 +0000)] 
Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events.

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

12 years agoA fix for flicker when the top-level window is disabled or enabled (e.g. by modal...
Julian Smart [Sun, 11 Mar 2012 05:31:06 +0000 (05:31 +0000)] 
A fix for flicker when the top-level window is disabled or enabled (e.g. by modal dialogs).
Achieved by using IsThisEnabled to determine the visual disabled state and thus requiring no refresh on top-level window enabling/disabling.

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

12 years agoremove unused parameter
Paul Cornett [Sat, 10 Mar 2012 16:58:05 +0000 (16:58 +0000)] 
remove unused parameter

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

12 years agoFix wxComboCtrl::SetHint() return type in the documentation.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:26 +0000 (14:26 +0000)] 
Fix wxComboCtrl::SetHint() return type in the documentation.

It is now bool, not void, as for wxTextEntry::SetHint().

Closes #14083.

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

12 years agoExplicitly document wxMessageOutputFlags.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:22 +0000 (14:26 +0000)] 
Explicitly document wxMessageOutputFlags.

They were already mentioned in wxMessageOutputBest ctor documentation but now
add the standalone enum too to make the documentation header semantically valid.

Closes #14082.

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

12 years agoDocument wxPrintQuality and wxPRINT_QUALITY_XXX constants.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:18 +0000 (14:26 +0000)] 
Document wxPrintQuality and wxPRINT_QUALITY_XXX constants.

Closes #14081.

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

12 years agoFix wxDataObject::GetFormatCount() signature in the documentation.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:15 +0000 (14:26 +0000)] 
Fix wxDataObject::GetFormatCount() signature in the documentation.

It should be const but wasn't.

Closes #14080.

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

12 years agousing 10.5 API for cursor updates as well
Stefan Csomor [Sat, 10 Mar 2012 13:13:51 +0000 (13:13 +0000)] 
using 10.5 API for cursor updates as well

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

12 years agoremoving NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation
Stefan Csomor [Sat, 10 Mar 2012 12:37:58 +0000 (12:37 +0000)] 
removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation

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

12 years agoDocument the non-deprecated version of InsertTool, and some other tweaks.
Robin Dunn [Sat, 10 Mar 2012 00:01:15 +0000 (00:01 +0000)] 
Document the non-deprecated version of InsertTool, and some other tweaks.

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

12 years agoMake the CreateTool factories be public so they can be used from application code
Robin Dunn [Sat, 10 Mar 2012 00:01:09 +0000 (00:01 +0000)] 
Make the CreateTool factories be public so they can be used from application code

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

12 years agoAdd wxToolBarToolBase, missing flags, etc.
Robin Dunn [Sat, 10 Mar 2012 00:01:00 +0000 (00:01 +0000)] 
Add wxToolBarToolBase, missing flags, etc.

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

12 years agoAdded wxRIBBON_PANEL_STRETCH to allow a single panel to stretch to fill the parent...
Julian Smart [Fri, 9 Mar 2012 15:26:37 +0000 (15:26 +0000)] 
Added wxRIBBON_PANEL_STRETCH to allow a single panel to stretch to fill the parent page.

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

12 years agoreflect correct position for native toolbar, fixes #14049
Stefan Csomor [Fri, 9 Mar 2012 12:49:59 +0000 (12:49 +0000)] 
reflect correct position for native toolbar, fixes #14049

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

12 years agoCorrect the test for wxHAS_IMAGES_IN_RESOURCES in listctrl sample.
Vadim Zeitlin [Fri, 9 Mar 2012 10:12:43 +0000 (10:12 +0000)] 
Correct the test for wxHAS_IMAGES_IN_RESOURCES in listctrl sample.

wxHAS_XXX symbols need to be checked with #ifdef, not #if.

See #1614 (as this change was part of the patch submitted there, even if the
ticket itself is unrelated).

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

12 years agoExclude wxMSW-only code from wxUniversal build under Windows.
Vadim Zeitlin [Fri, 9 Mar 2012 10:12:40 +0000 (10:12 +0000)] 
Exclude wxMSW-only code from wxUniversal build under Windows.

wxListCtrl::EndEditLabel() isn't available in wxUniv, it's wxMSW-only.

This fixes the sample compilation in wxUniv/MSW build.

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

12 years agoadd the usual default parameter for Show()
Paul Cornett [Fri, 9 Mar 2012 05:50:58 +0000 (05:50 +0000)] 
add the usual default parameter for Show()

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

12 years agoCheck for iterator validity when parsing "%%" in wxDateTime::Format() too.
Vadim Zeitlin [Fri, 9 Mar 2012 01:09:25 +0000 (01:09 +0000)] 
Check for iterator validity when parsing "%%" in wxDateTime::Format() too.

This is similar to the previous commit and adds another missed check for the
iterator not being at the end of string.

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

12 years agoCheck for end of string when parsing "%z" in wxDateTime::Format().
Vadim Zeitlin [Fri, 9 Mar 2012 01:09:20 +0000 (01:09 +0000)] 
Check for end of string when parsing "%z" in wxDateTime::Format().

We could dereference an invalid iterator when parsing "%z", check for this in
the code and add a unit test for this case.

Closes #14075.

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

12 years agoadjust Blit destination rect if source rect is clipped
Paul Cornett [Thu, 8 Mar 2012 17:06:06 +0000 (17:06 +0000)] 
adjust Blit destination rect if source rect is clipped

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

12 years agofix incorrect tests of wxUSE_ macros
Paul Cornett [Thu, 8 Mar 2012 16:45:17 +0000 (16:45 +0000)] 
fix incorrect tests of wxUSE_ macros

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

12 years agoremoving unnecessary hook
Stefan Csomor [Thu, 8 Mar 2012 15:48:51 +0000 (15:48 +0000)] 
removing unnecessary hook

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

12 years agoremoving 10.4 code, adding webkit trick for showing dynamic tooltips
Stefan Csomor [Thu, 8 Mar 2012 15:37:40 +0000 (15:37 +0000)] 
removing 10.4 code, adding webkit trick for showing dynamic tooltips

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

12 years agoAdded wxSplitterWindow::SetSashInvisible() and IsSashInvisible().
Vadim Zeitlin [Thu, 8 Mar 2012 13:23:39 +0000 (13:23 +0000)] 
Added wxSplitterWindow::SetSashInvisible() and IsSashInvisible().

Also fix handling of wxSP_NOSASH.

Closes #14074.

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

12 years agoRevert the zoom direction on Ctrl-mouse wheel in wxStyledTextCtrl.
Vadim Zeitlin [Thu, 8 Mar 2012 13:23:34 +0000 (13:23 +0000)] 
Revert the zoom direction on Ctrl-mouse wheel in wxStyledTextCtrl.

The direction of the zoom in wxSTC didn't correspond to the usual conventions
which is to zoom in on Ctrl-Wheel-Up and zoom out on Ctrl-Wheel-Down, while
wxSTC did exactly the converse. Change it to behave as everybody else.

Closes #14031.

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

12 years agoDeprecate wxWindow::MakeModal().
Vadim Zeitlin [Wed, 7 Mar 2012 23:50:21 +0000 (23:50 +0000)] 
Deprecate wxWindow::MakeModal().

Using this function was never the right way to show a modal window and it
didn't really work correctly. Instead of futilely trying to fix it, just
deprecate it.

Closes #1561.

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

12 years agoDon't eat unhandled events in wxHtmlWindow::OnKeyUp().
Václav Slavík [Wed, 7 Mar 2012 16:15:11 +0000 (16:15 +0000)] 
Don't eat unhandled events in wxHtmlWindow::OnKeyUp().

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

12 years agoWhen SetSplitterLeft measures all pages, it should also set the splitter for all...
Julian Smart [Wed, 7 Mar 2012 12:21:20 +0000 (12:21 +0000)] 
When SetSplitterLeft measures all pages, it should also set the splitter for all pages.

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

12 years agowxCB_SORT not currently supported on OSX/Cocoa
Julian Smart [Tue, 6 Mar 2012 16:59:39 +0000 (16:59 +0000)] 
wxCB_SORT not currently supported on OSX/Cocoa

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

12 years agoMention the limitations of wxDC::GetPixel() and FloodFill() in wxGTK.
Vadim Zeitlin [Tue, 6 Mar 2012 14:19:29 +0000 (14:19 +0000)] 
Mention the limitations of wxDC::GetPixel() and FloodFill() in wxGTK.

These methods can't be used directly on wxPaintDC in wxGTK and it doesn't seem
possible to fix this so just document this limitation.

Closes #14067.

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

12 years agocatching veto AND handled events
Stefan Csomor [Tue, 6 Mar 2012 13:18:22 +0000 (13:18 +0000)] 
catching veto AND handled events

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

12 years agoadapting grid-cell dragging according to discussion on wx-dev along the behaviour...
Stefan Csomor [Tue, 6 Mar 2012 10:23:44 +0000 (10:23 +0000)] 
adapting grid-cell dragging according to discussion on wx-dev along the behaviour of treecontrolg

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

12 years agofix test for transparent pen broken in r65820
Paul Cornett [Tue, 6 Mar 2012 04:51:40 +0000 (04:51 +0000)] 
fix test for transparent pen broken in r65820

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

12 years agoavoid using wxDC::Blit() and wxDC::GetPixel() on window that is being painted, result...
Paul Cornett [Tue, 6 Mar 2012 04:26:33 +0000 (04:26 +0000)] 
avoid using wxDC::Blit() and wxDC::GetPixel() on window that is being painted, results are unpredictable on wxGTK
see #14067

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

12 years agoIt should be possible to set a null bitmap without asserting due to change of size
Julian Smart [Mon, 5 Mar 2012 18:26:20 +0000 (18:26 +0000)] 
It should be possible to set a null bitmap without asserting due to change of size

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

12 years agoRestored correct RTTI for wxNotebook
Julian Smart [Mon, 5 Mar 2012 18:00:34 +0000 (18:00 +0000)] 
Restored correct RTTI for wxNotebook

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

12 years agoOverride InheritAttributes() to do nothing in wxNonOwnedWindow.
Vadim Zeitlin [Mon, 5 Mar 2012 13:00:57 +0000 (13:00 +0000)] 
Override InheritAttributes() to do nothing in wxNonOwnedWindow.

Non owner windows shouldn't inherit attributes from their parent. This wasn't
a problem in wxMSW where InheritAttributes() was never called for them but was
in wxGTK (and possibly other ports) where dialogs inherited font from their
parent.

Closes #2766.

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

12 years agoOverride AdjustForParentClientOrigin() in wxNonOwnedWindow to do nothing.
Vadim Zeitlin [Mon, 5 Mar 2012 13:00:55 +0000 (13:00 +0000)] 
Override AdjustForParentClientOrigin() in wxNonOwnedWindow to do nothing.

No real changes, just replace an IsTopLevel() check in the base class
implementation of AdjustForParentClientOrigin() and override it for all top
level windows in wxNonOwnedWindow instead.

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

12 years agoRemove the wrong "std::" scope prefix before ceil() call.
Vadim Zeitlin [Mon, 5 Mar 2012 13:00:51 +0000 (13:00 +0000)] 
Remove the wrong "std::" scope prefix before ceil() call.

Fix compilation errors with VC6 (and possibly other compilers) introduced in
r70797 (see #13383): as we only include <math.h> and not <cmath> we don't
necessarily have std::ceil() available, only the extern "C" ceil(). Just use
the latter instead of the former.

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

12 years agocoordinate conversion was the wrong way round
Stefan Csomor [Mon, 5 Mar 2012 06:10:19 +0000 (06:10 +0000)] 
coordinate conversion was the wrong way round

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

12 years agoremove unnecessary includes
Paul Cornett [Sun, 4 Mar 2012 23:50:35 +0000 (23:50 +0000)] 
remove unnecessary includes

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

12 years agoUse __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2).
Vadim Zeitlin [Sun, 4 Mar 2012 20:31:42 +0000 (20:31 +0000)] 
Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2).

This is continuation of r70796 and serves the same purpose.

Closes #14065, #14066.

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

12 years agoAdd wxEVT_AUI_PANE_ACTIVATED event.
Vadim Zeitlin [Sun, 4 Mar 2012 20:31:34 +0000 (20:31 +0000)] 
Add wxEVT_AUI_PANE_ACTIVATED event.

This event is sent when an AUI pane becomes active.

Closes #14026.

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

12 years agoNo changes, just make wxAUI SetActivePane() a member function.
Vadim Zeitlin [Sun, 4 Mar 2012 20:31:29 +0000 (20:31 +0000)] 
No changes, just make wxAUI SetActivePane() a member function.

Make a global function a member one as it uses member variables and it's
easier to use them directly instead of passing the object pointer to it all
the time.

See #14026.

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

12 years agowe have to export every virtual method in this template class for clang, next attempt...
Stefan Csomor [Sun, 4 Mar 2012 09:42:51 +0000 (09:42 +0000)] 
we have to export every virtual method in this template class for clang, next attempt to get a vc++ compatible solution

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

12 years agoRevert the addition of WXDLLIMPEXP_CORE to all wxNavigationEnabled methods.
Vadim Zeitlin [Sun, 4 Mar 2012 00:43:19 +0000 (00:43 +0000)] 
Revert the addition of WXDLLIMPEXP_CORE to all wxNavigationEnabled methods.

This reverts commit r70787 as it broke DLL build with MSVC.

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

12 years agoTurkish translations update from Kaya Zeren.
Vadim Zeitlin [Sun, 4 Mar 2012 00:31:36 +0000 (00:31 +0000)] 
Turkish translations update from Kaya Zeren.

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

12 years agoUse standard IDC_CROSS cursor in wxMSW.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:58 +0000 (00:29 +0000)] 
Use standard IDC_CROSS cursor in wxMSW.

There doesn't seem to be any reason to prefer our own WXCURSOR_CROSS to it.

Closes #13035.

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

12 years agoAlways provide wxMenuItem bitmap-related methods in wxMSW.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:55 +0000 (00:29 +0000)] 
Always provide wxMenuItem bitmap-related methods in wxMSW.

Define these methods even when wxUSE_OWNER_DRAWN is turned off for some
reason. This allows to avoid ugly tests for !defined(__WXMSW__) ||
wxUSE_OWNER_DRAWN in the code that just wants to set a bitmap for a menu item.

Closes #12664.

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

12 years agoDon't set value unnecessarily in wxSpinCtrl::Create() in wxMSW.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:51 +0000 (00:29 +0000)] 
Don't set value unnecessarily in wxSpinCtrl::Create() in wxMSW.

This is not only unnecessary but also results in an unexpected event (which
could be avoided by using ChangeValue() but why bother calling it at all if we
don't need to).

Closes #13589.

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

12 years agoNo changes, just add wxSpinCtrl::Init() to wxMSW.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:48 +0000 (00:29 +0000)] 
No changes, just add wxSpinCtrl::Init() to wxMSW.

Remove a "TODO" comment about adding it and initialize all member variables
there instead of doing it only in Create().

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

12 years agoFix stretchable spaces in wxToolBar after tool removal in wxMSW.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:44 +0000 (00:29 +0000)] 
Fix stretchable spaces in wxToolBar after tool removal in wxMSW.

The stretchable spaces need to be manually updated after removing a tool from
the toolbar.

Closes #13577.

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

12 years agoCorrect mouse event coordinates in wxMSW wxUIActionSimulator.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:37 +0000 (00:29 +0000)] 
Correct mouse event coordinates in wxMSW wxUIActionSimulator.

The rounding of the floating point division was not done quite correctly.

Closes #13383.

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

12 years agoUse __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:31 +0000 (00:29 +0000)] 
Use __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit.

This change prepares the way for using wxGTK under Windows as this would
still define __WINDOWS__ but use __WXGTK__ instead of __WXMSW__.

Closes #14064.

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

12 years agoFix assert when editing an item in multi-selection wxTreeCtrl.
Vadim Zeitlin [Sun, 4 Mar 2012 00:29:21 +0000 (00:29 +0000)] 
Fix assert when editing an item in multi-selection wxTreeCtrl.

Don't use GetSelection() in wxTreeCtrl EVT_CHAR_HOOK handler as it can only be
used with single selection controls and results in an assert when used with
multi-selection ones. Simply use GetFocusedItem() instead.

Closes #14062.

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

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