]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
13 years agoadjusting include styles
Stefan Csomor [Thu, 11 Aug 2011 08:43:13 +0000 (08:43 +0000)] 
adjusting include styles

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

13 years agofixing osx_carbon
Stefan Csomor [Thu, 11 Aug 2011 08:42:39 +0000 (08:42 +0000)] 
fixing osx_carbon

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

13 years agofixing osx_cocoa, there's a reason m_peer is private in the base class
Stefan Csomor [Thu, 11 Aug 2011 08:24:26 +0000 (08:24 +0000)] 
fixing osx_cocoa, there's a reason m_peer is private in the base class

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

13 years agofixing osx_cocoa
Stefan Csomor [Thu, 11 Aug 2011 08:14:37 +0000 (08:14 +0000)] 
fixing osx_cocoa

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

13 years agoAlso regenerate configure after wxWeb-related bakefile changes.
Vadim Zeitlin [Wed, 10 Aug 2011 21:07:18 +0000 (21:07 +0000)] 
Also regenerate configure after wxWeb-related bakefile changes.

Configure must be rebuilt after any changes to autoconf_inc.m4 but this wasn't
done by the previous commit.

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

13 years agoComplete rebake with web libraries to allow easier testing.
Steve Lamerton [Wed, 10 Aug 2011 18:32:52 +0000 (18:32 +0000)] 
Complete rebake with web libraries to allow easier testing.

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

13 years agoMerge in from trunk r64802 - r68625
Steve Lamerton [Wed, 10 Aug 2011 18:10:42 +0000 (18:10 +0000)] 
Merge in from trunk r64802 - r68625

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

13 years agoAdd some basic tests for wxDataViewCtrl selection handling.
Václav Slavík [Wed, 10 Aug 2011 15:24:25 +0000 (15:24 +0000)] 
Add some basic tests for wxDataViewCtrl selection handling.

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

13 years agoFix selection handling wxDataViewMainWindow::ItemDeleted().
Václav Slavík [Wed, 10 Aug 2011 15:24:19 +0000 (15:24 +0000)] 
Fix selection handling wxDataViewMainWindow::ItemDeleted().

The code to update m_selection was too aggressive in the virtual list
case, when it simply cleared it, and broken for single-item selection in
the general case.
Fixed to recompute selection properly.

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

13 years agoMake the wxDataViewItem(void*) constructor explicit.
Václav Slavík [Wed, 10 Aug 2011 15:21:22 +0000 (15:21 +0000)] 
Make the wxDataViewItem(void*) constructor explicit.

Not having this as an implicit one made it possible to create
wxDataViewItem from any pointer without realizing it, leading to hard to
debug crashes later.

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

13 years agoAdded the ability to deselect attributes in the font dialog
Julian Smart [Wed, 10 Aug 2011 14:06:28 +0000 (14:06 +0000)] 
Added the ability to deselect attributes in the font dialog

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

13 years agoAdded NSApplicationDelegate's openFiles for wxOSX-Cocoa.
Dimitri Schoolwerth [Tue, 9 Aug 2011 22:17:12 +0000 (22:17 +0000)] 
Added NSApplicationDelegate's openFiles for wxOSX-Cocoa.

openFiles (available since OS X 10.3) replaces using the openFile method. It allows for more convenient handling of multiple drops and knowing in advance how much files/folders are dropped instead of openFile with which you only get to respond to a single file/folder drop at a time. By default openFiles calls the newly added MacOpenFiles which calls MacOpenFile multiple times, so ordinarily the behaviour is backwards compatible (both on wxOSX Cocoa and Carbon).

The openFile instance method has been removed because it doesn't seem to be called anymore: neither when dropping a single file on the application in the dock or Finder nor when passed as a command-line argument.

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

13 years agoDon't reset wxTLW::m_iconized when hiding the window in wxMSW.
Vadim Zeitlin [Tue, 9 Aug 2011 15:46:28 +0000 (15:46 +0000)] 
Don't reset wxTLW::m_iconized when hiding the window in wxMSW.

Calling Hide() on an iconized window wrongly reset its m_iconized flag but
hiding the window shouldn't affect it.

Closes #13373.

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

13 years agoDon't use iterators with wxDataViewSelection.
Václav Slavík [Tue, 9 Aug 2011 11:35:32 +0000 (11:35 +0000)] 
Don't use iterators with wxDataViewSelection.

They aren't implemented when using wx's homegrown sorted containers
and adding support is probably more trouble than it's worth.

Fixes #13388.

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

13 years agoNo changes, just correct the helpview sample name in comment.
Vadim Zeitlin [Tue, 9 Aug 2011 11:25:09 +0000 (11:25 +0000)] 
No changes, just correct the helpview sample name in comment.

"printing.cpp" was used for whatever reason.

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

13 years agoDon't manually centre dialogs created with default position in wxMSW.
Vadim Zeitlin [Mon, 8 Aug 2011 15:15:50 +0000 (15:15 +0000)] 
Don't manually centre dialogs created with default position in wxMSW.

We always centered the dialogs on the main display which was wrong if the
parent window was on another one. Instead of fixing it, simply don't centre
them at all and let Windows position them, there is no reason to change the
default behaviour.

Closes #13387.

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

13 years agoUse shared pointers to hold wxWebHandlers throughout.
Steve Lamerton [Mon, 8 Aug 2011 15:12:33 +0000 (15:12 +0000)] 
Use shared pointers to hold wxWebHandlers throughout.

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

13 years agoAdd wxWebView sample to documentation.
Steve Lamerton [Mon, 8 Aug 2011 14:24:28 +0000 (14:24 +0000)] 
Add wxWebView sample to documentation.

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

13 years agoImprove the detailed description in the documentation.
Steve Lamerton [Mon, 8 Aug 2011 14:03:15 +0000 (14:03 +0000)] 
Improve the detailed description in the documentation.

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

13 years agoNote that CanCut / CanCopy / CanPaste are not currently supported on the OSX WebKit...
Steve Lamerton [Mon, 8 Aug 2011 12:18:58 +0000 (12:18 +0000)] 
Note that CanCut / CanCopy / CanPaste are not currently supported on the OSX WebKit implementation.

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

13 years agoFix a bunch of spelling mistakes cause by an early commit.
Steve Lamerton [Mon, 8 Aug 2011 12:12:51 +0000 (12:12 +0000)] 
Fix a bunch of spelling mistakes cause by an early commit.

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

13 years agoAdd backend descriptions for all backends to the documentation.
Steve Lamerton [Mon, 8 Aug 2011 12:05:58 +0000 (12:05 +0000)] 
Add backend descriptions for all backends to the documentation.

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

13 years agoAdd a section about async notifications to the documentation.
Steve Lamerton [Mon, 8 Aug 2011 11:22:40 +0000 (11:22 +0000)] 
Add a section about async notifications to the documentation.

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

13 years agoCheck for invalid items in generic wxDataViewCtrl::GetSelections().
Václav Slavík [Mon, 8 Aug 2011 10:23:19 +0000 (10:23 +0000)] 
Check for invalid items in generic wxDataViewCtrl::GetSelections().

This shouldn't normally happen, but if some bug causes it, detect it.

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

13 years agoRemove selection methods taking int from generic wxDataViewCtrl.
Václav Slavík [Mon, 8 Aug 2011 10:11:04 +0000 (10:11 +0000)] 
Remove selection methods taking int from generic wxDataViewCtrl.

Current public API uses wxDataViewItem, this code dated back to 2.8.
They were now protected instead of public, the code wasn't used
anywhere and wasn't portable, it existed only in the generic version.

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

13 years agoAdded wxTopLevelWindow::MSWGetSystemMenu() method.
Vadim Zeitlin [Mon, 8 Aug 2011 09:32:42 +0000 (09:32 +0000)] 
Added wxTopLevelWindow::MSWGetSystemMenu() method.

Also generate events corresponding to WM_SYSCOMMAND messages for the custom
items of the system menu.

Add a small snippet to test the new functionality to the dialogs sample.

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

13 years agoAdded private wxMenu::MSWNewFromHMENU() method.
Vadim Zeitlin [Mon, 8 Aug 2011 09:32:39 +0000 (09:32 +0000)] 
Added private wxMenu::MSWNewFromHMENU() method.

Add a method allowing creation of a wxMenu object from a native menu handle.
This will be used to implement access to the system menu in an upcoming commit
but could also be useful for other purposes.

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

13 years agoFix compilation with g++ 4.7 (prerelease).
Vadim Zeitlin [Mon, 8 Aug 2011 08:33:19 +0000 (08:33 +0000)] 
Fix compilation with g++ 4.7 (prerelease).

The workaround for a bug in g++ 3.5 breaks compilation with 4.7 which
implements two-phase lookup correctly, so disable this workaround for 4.7 and
later. We could probably even only enable it for 3.x but this doesn't really
matter as previous 4.x releases don't have problems with this anyhow.

Closes #13385.

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

13 years agoUse 0 instead of NULL to avoid g++ warning.
Vadim Zeitlin [Sun, 7 Aug 2011 19:31:52 +0000 (19:31 +0000)] 
Use 0 instead of NULL to avoid g++ warning.

g++ (usefully) warns when assigning NULL to a non-pointer in wxGDIPlusRenderer.

Just use 0 instead of NULL to avoid the warning.

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

13 years agoUse ChangeCurrentRow() in wxDataViewMainWindow::ItemDeleted().
Václav Slavík [Sun, 7 Aug 2011 17:29:50 +0000 (17:29 +0000)] 
Use ChangeCurrentRow() in wxDataViewMainWindow::ItemDeleted().

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

13 years agoClean up wxDataViewMainWindow::ItemDeleted() a bit.
Václav Slavík [Sun, 7 Aug 2011 17:29:47 +0000 (17:29 +0000)] 
Clean up wxDataViewMainWindow::ItemDeleted() a bit.

Reuse shared code instead of duplicating it. No real changes.

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

13 years agowxDataViewSelection private type doesn't need to be exported.
Václav Slavík [Sun, 7 Aug 2011 17:29:44 +0000 (17:29 +0000)] 
wxDataViewSelection private type doesn't need to be exported.

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

13 years agoRemove unused ItemList type from datavgen.cpp.
Václav Slavík [Sun, 7 Aug 2011 17:29:41 +0000 (17:29 +0000)] 
Remove unused ItemList type from datavgen.cpp.

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

13 years agoRemove some out of date comments.
Steve Lamerton [Sun, 7 Aug 2011 09:24:02 +0000 (09:24 +0000)] 
Remove some out of date comments.

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

13 years agoRemove the WebView - wxWebViewWebKit map as our policy delegates already held a point...
Steve Lamerton [Sun, 7 Aug 2011 09:19:16 +0000 (09:19 +0000)] 
Remove the WebView - wxWebViewWebKit map as our policy delegates already held a pointer to the control.

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

13 years agoRemove old WXCOCOA code.
Steve Lamerton [Sat, 6 Aug 2011 13:55:15 +0000 (13:55 +0000)] 
Remove old WXCOCOA code.

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

13 years agoImplement GetSelectedSource for the OSX WebKit backend.
Steve Lamerton [Sat, 6 Aug 2011 13:32:40 +0000 (13:32 +0000)] 
Implement GetSelectedSource for the OSX WebKit backend.

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

13 years agoImplement SelectAll for OSX WebKit.
Steve Lamerton [Sat, 6 Aug 2011 12:58:26 +0000 (12:58 +0000)] 
Implement SelectAll for OSX WebKit.

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

13 years agoImplement GetPageText for the OSX WebKit implementation.
Steve Lamerton [Sat, 6 Aug 2011 12:48:22 +0000 (12:48 +0000)] 
Implement GetPageText for the OSX WebKit implementation.

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

13 years agoImplement ClearSelection for the OSX WebKit backend.
Steve Lamerton [Sat, 6 Aug 2011 12:20:37 +0000 (12:20 +0000)] 
Implement ClearSelection for the OSX WebKit backend.

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

13 years agoRemove string conversion functions and use the wx provided ones.
Steve Lamerton [Fri, 5 Aug 2011 19:12:32 +0000 (19:12 +0000)] 
Remove string conversion functions and use the wx provided ones.

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

13 years agoImplement wxFileType::GetOpenCommand() in wxOSX.
Vadim Zeitlin [Fri, 5 Aug 2011 19:02:26 +0000 (19:02 +0000)] 
Implement wxFileType::GetOpenCommand() in wxOSX.

This method used to work in 2.8 but was unimplemented in 2.9.

Restore more or less the old implementation using the data that we already
have in wxMimeTypesManager anyhow.

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

13 years agoRemove redundant InternalLoadURL method.
Steve Lamerton [Fri, 5 Aug 2011 18:58:38 +0000 (18:58 +0000)] 
Remove redundant InternalLoadURL method.

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

13 years agoRemove now unnecessary comment.
Steve Lamerton [Fri, 5 Aug 2011 18:41:54 +0000 (18:41 +0000)] 
Remove now unnecessary comment.

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

13 years agoRemove SetPageTitle and GetPageTitle and make GetCurrentTitle actually return the...
Steve Lamerton [Fri, 5 Aug 2011 18:23:08 +0000 (18:23 +0000)] 
Remove SetPageTitle and GetPageTitle and make GetCurrentTitle actually return the page title.

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

13 years agoImplement GetBackwardHistory, GetForwardHistory and LoadHistoryItem for OSX WebKit.
Steve Lamerton [Fri, 5 Aug 2011 16:40:46 +0000 (16:40 +0000)] 
Implement GetBackwardHistory, GetForwardHistory and LoadHistoryItem for OSX WebKit.

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

13 years agoImplement ClearHistory using the built in WebBackForwardList rather than a shared...
Steve Lamerton [Fri, 5 Aug 2011 15:37:03 +0000 (15:37 +0000)] 
Implement ClearHistory using the built in WebBackForwardList rather than a shared WebHistory on OSX.

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

13 years agoAdd a WebHistory to the OSX WebKit backend and implement ClearHistory.
Steve Lamerton [Fri, 5 Aug 2011 13:56:50 +0000 (13:56 +0000)] 
Add a WebHistory to the OSX WebKit backend and implement ClearHistory.

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

13 years agoRemove now unused GetSelection from the OSX WebKit backend.
Steve Lamerton [Fri, 5 Aug 2011 13:25:30 +0000 (13:25 +0000)] 
Remove now unused GetSelection from the OSX WebKit backend.

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

13 years agoAdd undo / redo support to OSX WebKit.
Steve Lamerton [Fri, 5 Aug 2011 13:17:19 +0000 (13:17 +0000)] 
Add undo / redo support to OSX WebKit.

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

13 years agoAdd support for loading resources in custom schemes for the WebKitGTK+ backend.
Steve Lamerton [Fri, 5 Aug 2011 09:06:45 +0000 (09:06 +0000)] 
Add support for loading resources in custom schemes for the WebKitGTK+ backend.

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

13 years agoAdd support for wxHELP button to wxMessageDialog.
Vadim Zeitlin [Thu, 4 Aug 2011 22:53:42 +0000 (22:53 +0000)] 
Add support for wxHELP button to wxMessageDialog.

Implement support for wxHELP for wxMSW, wxGTK and wxOSX/Cocoa (at least when
showing the message box from the main thread, there doesn't seem to be any way
to show more than three buttons with CFUserNotificationDisplayAlert() so
"Help" button is not supported when using it).

This is useful not only on its own, i.e. to allow the user to ask for help,
but also because it brings the total number of buttons supported by the
message dialog to 4, meaning that more choices can be offered to the user
(which is rarely, but not quite never, useful).

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

13 years agoAdd documentation for virtual file system support in wxWebView.
Steve Lamerton [Thu, 4 Aug 2011 18:46:49 +0000 (18:46 +0000)] 
Add documentation for virtual file system support in wxWebView.

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

13 years agoAdd missing header for minimalistic builds not using PCH.
Vadim Zeitlin [Thu, 4 Aug 2011 16:12:41 +0000 (16:12 +0000)] 
Add missing header for minimalistic builds not using PCH.

wxWindow might not be fully declared in dcbase.cpp but we need its full
declaration for wxDCImpl::InheritAttributes() so explicitly include
wx/window.h -- while this is usually already included from somewhere else it
might not be in minimal builds with a lot of features disabled.

Closes #13380.

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

13 years agoCompilation fixes for wxUSE_GEOMETRY==0 build.
Vadim Zeitlin [Thu, 4 Aug 2011 16:12:36 +0000 (16:12 +0000)] 
Compilation fixes for wxUSE_GEOMETRY==0 build.

Add missing wxUSE_GEOMETRY checks to wxAffineMatrix2D-related code.

Closes #13379.

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

13 years agoUse wxWindowMSW instead of wxWindow to fix wxUniv/MSW compilation.
Vadim Zeitlin [Thu, 4 Aug 2011 16:12:31 +0000 (16:12 +0000)] 
Use wxWindowMSW instead of wxWindow to fix wxUniv/MSW compilation.

wxFindWindowAtPoint() only returns wxWindowMSW, not the derived wxWindow, in
wxUniv build so assign its return value to wxWindowMSW to avoid compilation
problems in it.

Closes #12534.

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

13 years agoAvoid unwanted line break in wxDataViewListModel::GetCount() docs.
Vadim Zeitlin [Thu, 4 Aug 2011 13:19:57 +0000 (13:19 +0000)] 
Avoid unwanted line break in wxDataViewListModel::GetCount() docs.

Using "i.e." in the brief Doxygen comment makes it end it after the second
period and results in truncated brief description and an unwanted line break
in the full description.

Just avoid using periods for now inside the brief description. Maybe a better
solution could be found in the future.

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

13 years agoAdded Page Break control to spacing page
Julian Smart [Thu, 4 Aug 2011 12:31:44 +0000 (12:31 +0000)] 
Added Page Break control to spacing page

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

13 years agoUpdate wxWebFileHandler to handle paths with fragments correctly, some backends pass...
Steve Lamerton [Thu, 4 Aug 2011 08:54:54 +0000 (08:54 +0000)] 
Update wxWebFileHandler to handle paths with fragments correctly, some backends pass this to the handler and some don't so we strip it if necessary.

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

13 years agoFix recursion problems when loading pages from a virtual file system using the WebKit...
Steve Lamerton [Thu, 4 Aug 2011 08:30:37 +0000 (08:30 +0000)] 
Fix recursion problems when loading pages from a virtual file system using the WebKitGTK+ backend. Navigating through pages in an archive now works correctly.

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

13 years agoRename wxWebFileHandler name from test to file.
Steve Lamerton [Wed, 3 Aug 2011 18:51:53 +0000 (18:51 +0000)] 
Rename wxWebFileHandler name from test to file.

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

13 years agoRework IE virtual file system support to use new syntax. Remove now unused code for...
Steve Lamerton [Wed, 3 Aug 2011 18:31:48 +0000 (18:31 +0000)] 
Rework IE virtual file system support to use new syntax. Remove now unused code for resolving links ourselves, we can let the backend resolves them itself.

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

13 years agoReturn sensible major and minor version numbers for Mac OS X
Julian Smart [Wed, 3 Aug 2011 15:46:43 +0000 (15:46 +0000)] 
Return sensible major and minor version numbers for Mac OS X

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

13 years agoOutline and line spacing can now be reset via the UI; format dialog layout improvements
Julian Smart [Wed, 3 Aug 2011 11:41:17 +0000 (11:41 +0000)] 
Outline and line spacing can now be reset via the UI; format dialog layout improvements

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

13 years agoInitial work on virtual file system support for the WebKitGTK+ backend. It now suppor...
Steve Lamerton [Wed, 3 Aug 2011 09:29:30 +0000 (09:29 +0000)] 
Initial work on virtual file system support for the WebKitGTK+ backend. It now supports loading single pages from the VFS system.

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

13 years agoFix bug with TAB being able to switch focus between MDI frames.
Vadim Zeitlin [Wed, 3 Aug 2011 00:45:42 +0000 (00:45 +0000)] 
Fix bug with TAB being able to switch focus between MDI frames.

The keyboard navigation code correctly checked that TAB was not propagated
above the TLW containing the window in which the key was pressed to avoid
switching focus between different TLWs by pressing TAB.

However wxMDIChildFrame is not a TLW and so it was possible to switch focus
between two different MDI child frames by pressing TAB. This was unexpected
and counterintuitive, especially because the frame receiving focus was not
even activated (which might be another bug).

Fix this by adding a new wxWindow::IsTopNavigationDomain() virtual method that
can be overridden to indicate that a window is a self-contained "keyboard
navigation domain" and that keyboard events shouldn't propagate outside of it
and override it in both wxTopLevelWindow and wxMDIChildFrame to ensure that it
behaves correctly.

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

13 years agoNo real changes, just rename a variable.
Vadim Zeitlin [Wed, 3 Aug 2011 00:45:38 +0000 (00:45 +0000)] 
No real changes, just rename a variable.

"focussed" spelling is unusual and inconsistent with "focused" used in many
other places in the same file, so renamed "focussed_child_of_parent" and also
use standard camelCase naming convention for it.

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

13 years agoIf -1 is passed to InsertItem for the imageIndex then don't set wxLIST_MASK_IMAGE
Robin Dunn [Tue, 2 Aug 2011 20:23:42 +0000 (20:23 +0000)] 
If -1 is passed to InsertItem for the imageIndex then don't set wxLIST_MASK_IMAGE

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

13 years agoInitialize the native printer info for ConvertFromNative if it hasn't been done already.
Robin Dunn [Tue, 2 Aug 2011 19:49:02 +0000 (19:49 +0000)] 
Initialize the native printer info for ConvertFromNative if it hasn't been done already.

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

13 years agoDon't un-maximize the window when Iconize(false) is called in wxMSW.
Vadim Zeitlin [Tue, 2 Aug 2011 19:46:44 +0000 (19:46 +0000)] 
Don't un-maximize the window when Iconize(false) is called in wxMSW.

Calling Iconize(false) on a maximized window restored it to its normal state
instead of doing nothing as expected.

Return immediately from Iconize() if the requested state is already the
current one to avoid it.

Closes #13373.

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

13 years agoFix wxSocket::WaitForAccept() in blocking mode.
Vadim Zeitlin [Tue, 2 Aug 2011 19:46:40 +0000 (19:46 +0000)] 
Fix wxSocket::WaitForAccept() in blocking mode.

When wxSocket::WaitForAccept() was called from another thread or on a socket
with wxSOCKET_BLOCK flag it didn't work because it called
wxSocketImpl::Select() with wxSOCKET_CONNECTION_FLAG which was only handled
for the client sockets in this function.

Handle it now for the server ones too, this should allow blocking server
sockets to work again.

Closes #12836.

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

13 years agoRemove documentation of non-existent wxTextAttr::CreateFont().
Vadim Zeitlin [Tue, 2 Aug 2011 19:46:35 +0000 (19:46 +0000)] 
Remove documentation of non-existent wxTextAttr::CreateFont().

This method doesn't exist (only GetFont() does), so don't document it.

Closes #13372.

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

13 years agoAdded semicolon needed by MSVC++ 6
Julian Smart [Tue, 2 Aug 2011 14:43:15 +0000 (14:43 +0000)] 
Added semicolon needed by MSVC++ 6

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

13 years agoImplement HasSelection for the OSX WebKit backend.
Steve Lamerton [Tue, 2 Aug 2011 09:44:07 +0000 (09:44 +0000)] 
Implement HasSelection for the OSX WebKit backend.

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

13 years agoAdd EnableHistory support to the OSX WebKit backend.
Steve Lamerton [Tue, 2 Aug 2011 09:21:47 +0000 (09:21 +0000)] 
Add EnableHistory support to the OSX WebKit backend.

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

13 years agoFix warnings for the OSX WebKit backend.
Steve Lamerton [Mon, 1 Aug 2011 17:57:48 +0000 (17:57 +0000)] 
Fix warnings for the OSX WebKit backend.

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

13 years agoFix compilation for OSX backend.
Steve Lamerton [Mon, 1 Aug 2011 17:41:14 +0000 (17:41 +0000)] 
Fix compilation for OSX backend.

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

13 years agoAdd missing wxRTTI macros and fix incorrect ones.
Steve Lamerton [Mon, 1 Aug 2011 15:49:05 +0000 (15:49 +0000)] 
Add missing wxRTTI macros and fix incorrect ones.

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

13 years agoHide the infobar in the sample if we start navigating to another page.
Steve Lamerton [Mon, 1 Aug 2011 14:05:32 +0000 (14:05 +0000)] 
Hide the infobar in the sample if we start navigating to another page.

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

13 years agoFix remaining warnings in ie backend.
Steve Lamerton [Mon, 1 Aug 2011 13:20:46 +0000 (13:20 +0000)] 
Fix remaining warnings in ie backend.

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

13 years agoFix all the unused variable warnings in the sample.
Steve Lamerton [Mon, 1 Aug 2011 13:09:10 +0000 (13:09 +0000)] 
Fix all the unused variable warnings in the sample.

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

13 years agoMake web sample XPMs const to fix compiler warnings on gcc.
Steve Lamerton [Mon, 1 Aug 2011 12:54:09 +0000 (12:54 +0000)] 
Make web sample XPMs const to fix compiler warnings on gcc.

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

13 years agoFix a couple of warning that crept back into the GTK backend.
Steve Lamerton [Mon, 1 Aug 2011 12:35:52 +0000 (12:35 +0000)] 
Fix a couple of warning that crept back into the GTK backend.

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

13 years agoAdd missing lines to setup.h.in. This properly fixes compilation under configure...
Steve Lamerton [Mon, 1 Aug 2011 10:10:20 +0000 (10:10 +0000)] 
Add missing lines to setup.h.in. This properly fixes compilation under configure based environments. Also update the include guards for the wxWebHistoryItem files.

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

13 years agoRework the GTK WebKit backend history to remove the need for the map between wxWebHis...
Steve Lamerton [Sun, 31 Jul 2011 15:37:55 +0000 (15:37 +0000)] 
Rework the GTK WebKit backend history to remove the need for the map between wxWebHistoryItems and WebKitWebHistoryItems.

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

13 years agoSplit wxWebHistoryItem headers out into separate files for each backend. This will...
Steve Lamerton [Sun, 31 Jul 2011 14:06:33 +0000 (14:06 +0000)] 
Split wxWebHistoryItem headers out into separate files for each backend. This will allow us to dramatically reduce the amount of code in the GTK history implementation and implement it and OSX history support more cleanly.

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

13 years agoSilence Clang warning about numeric_limits<> specialization.
Václav Slavík [Sun, 31 Jul 2011 13:25:33 +0000 (13:25 +0000)] 
Silence Clang warning about numeric_limits<> specialization.

libstdc++ (which is used by Clang) defines numeric_limits<> as a struct
and Clang issues a warning about our specialization that uses 'class'.
As libstdc++ developers have no intention of fixing this, silence the
Clang warning by using 'struct' for it.

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

13 years agoDisable symbols visibility support for the Clang compiler.
Václav Slavík [Sun, 31 Jul 2011 13:25:30 +0000 (13:25 +0000)] 
Disable symbols visibility support for the Clang compiler.

Even Clang++ shipped with Xcode 4.1 still can't handle visibility
of non-inline methods in exported template classes if the default
visibility is 'hidden'.

Disable visibility support for Clang for now, we'll revisit it in the future.

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

13 years agoCorrect typo in wxArray::insert() fix of r68468.
Vadim Zeitlin [Sun, 31 Jul 2011 12:19:51 +0000 (12:19 +0000)] 
Correct typo in wxArray::insert() fix of r68468.

A wrong variable was mistakenly used.

Closes #13371.

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

13 years agoSimplify the wxWebFileHandler code by using a map to store the query string and manip...
Steve Lamerton [Sun, 31 Jul 2011 10:50:46 +0000 (10:50 +0000)] 
Simplify the wxWebFileHandler code by using a map to store the query string and manipulate it.

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

13 years agoFix crash in wxArray::insert() overload taking iterator range.
Vadim Zeitlin [Sat, 30 Jul 2011 23:38:43 +0000 (23:38 +0000)] 
Fix crash in wxArray::insert() overload taking iterator range.

The iterator passed as argument could be invalidated by the function itself,
update it before using it.

Closes #13371.

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

13 years agoGenerate events with WXK_NONE Unicode keys for non-characters in wxOSX.
Vadim Zeitlin [Sat, 30 Jul 2011 21:54:21 +0000 (21:54 +0000)] 
Generate events with WXK_NONE Unicode keys for non-characters in wxOSX.

The keyboard keys not corresponding to real characters, such as cursor arrows
or function keys, must generate wxKeyEvents with WXK_NONE as Unicode key code
to make it possible to distinguish them from the printable characters but
wxOSX generated events with valid Unicode key codes for them instead.

Avoid this by excluding Unicode key codes corresponding to code points in the
Unicode private use area: while this doesn't seem to be documented anywhere,
all non-printable characters seem to have their Unicode representation inside
it.

This change brings wxOSX keyboard event generation in line with the other
ports and, as a side effect, also closes #12423.

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

13 years agoAvoid bogus focus loss event when wxTextCtrl is modified in wxOSX.
Vadim Zeitlin [Sat, 30 Jul 2011 21:54:18 +0000 (21:54 +0000)] 
Avoid bogus focus loss event when wxTextCtrl is modified in wxOSX.

A wxEVT_KILL_FOCUS event was generated when wxTextCtrl::WriteText() was called
in wxOSX, even though the control didn't lose focus at all in this case. This
was completely unexpected and thoroughly confused wxGrid code which closed the
in place editor immediately after showing it because of this (this was perhaps
only the case since r68319 but the changes there were correct so they only
masked the real bug).

Avoid this bogus event by remembering the NSView currently being
programmatically modified and not doing anything in textDidEndEditing
notification if it is generated for this view.

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

13 years agoImprove wxTextCtrl::GetNumberOfLines() unit test and documentation.
Vadim Zeitlin [Sat, 30 Jul 2011 21:54:15 +0000 (21:54 +0000)] 
Improve wxTextCtrl::GetNumberOfLines() unit test and documentation.

First, enable execution of the Lines() wxTextCtrl unit test case under wxOSX
as it passes since the fix in the previous commit.

Do add a test for GetNumberOfLines() that currently doesn't work in the same
way under all platforms -- but with this test we at least can be sure how does
it work exactly where.

Also mention the current discrepancy in this function behaviour in the
documentation.

See #12366.

Fix Lines() wxTextCtrl unit test to pass under wxGTK too.

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

13 years agoFix off by one error in wxTextCtrl::GetLineLength() in wxOSX.
Vadim Zeitlin [Sat, 30 Jul 2011 21:54:08 +0000 (21:54 +0000)] 
Fix off by one error in wxTextCtrl::GetLineLength() in wxOSX.

The trailing new line shouldn't be counted in the line length.

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

13 years agoFix stock accelerators handling in wxOSX.
Vadim Zeitlin [Sat, 30 Jul 2011 21:54:05 +0000 (21:54 +0000)] 
Fix stock accelerators handling in wxOSX.

No modifiers were used for stock accelerators, i.e. Append(wxID_NEW) resulted
in an item with the label "New" and plain "N" as accelerator in wxOSX. This
was due to wxACCEL_CMD not being handled in wxAcceleratorEntry::ToString() so
map it to the same prefix as wxACCEL_CTRL there, this is enough to make the
accelerators work even though it's not clear whether this is really the best
thing to do or if we should use a separate "Cmd+" prefix for it (and recognize
it in Parse() too then) as otherwise it's unclear why do we have wxACCEL_CMD
at all, it just seems to be treated identically to wxACCEL_CTRL everywhere.

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

13 years agoEmphasize that wxStandardPaths must not be created directly.
Vadim Zeitlin [Sat, 30 Jul 2011 17:40:00 +0000 (17:40 +0000)] 
Emphasize that wxStandardPaths must not be created directly.

wxStandardPaths::Get() must be used instead as the correct object to use might
have a different type.

See #11239.

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

13 years agoOverhaul wxWebHandler naming to try and make it consistent with the rest of wxWidgets...
Steve Lamerton [Sat, 30 Jul 2011 14:22:15 +0000 (14:22 +0000)] 
Overhaul wxWebHandler naming to try and make it consistent with the rest of wxWidgets. Split wxWebFileHandler into its own file.

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

13 years agoGet rid of ugly wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST macro.
Vadim Zeitlin [Sat, 30 Jul 2011 11:30:08 +0000 (11:30 +0000)] 
Get rid of ugly wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST macro.

Replace it with wxWindowWithItems<> template class which takes care of
disambiguating between the two inherited Get/SetClientXXX() versions and use
it as a base class in all clases that previously used the macro.

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

13 years agoResolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
Vadim Zeitlin [Sat, 30 Jul 2011 11:30:03 +0000 (11:30 +0000)] 
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.

Use wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST for wxOSX/Cocoa too, not
only for wxOSX/Carbon. This macro adds methods to explicitly disambiguate
between the two inherited versions of each GetClientXXX() method, the one from
wxItemContainer and the other one from wxEvtHandler.

Closes #11637.

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