wxWidgets.git
12 years agoUpdate setup for OpenVMS
Jouk Jansen [Fri, 26 Aug 2011 13:01:40 +0000 (13:01 +0000)] 
Update setup for OpenVMS

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

12 years agoFixed best size of wxUniv's wxNotebook.
Dimitri Schoolwerth [Thu, 25 Aug 2011 23:32:05 +0000 (23:32 +0000)] 
Fixed best size of wxUniv's wxNotebook.

Removed wxNotebook::DoGetBestClientSize to let wxBookCtrlBase::DoGetBestSize do its job and fix the best size of a wxNotebook (formerly when running the notebook sample the notebook was not wide enough).

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

12 years agoFixed best sizes for wxUniv controls.
Dimitri Schoolwerth [Thu, 25 Aug 2011 23:16:44 +0000 (23:16 +0000)] 
Fixed best sizes for wxUniv controls.

Many wxUniv controls had a way too small best size which was noticeable when running e.g. the widgets sample. Regression started in r61169 where wxWindowBase::DoGetClientBestSize() was introduced but that virtual function already existed in wxUniv's wxWindow. Removing wxUniv's wxWindow::DoGetBestSize and wxWindow::DoGetBestClientSize fixes sizing issues.

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

12 years agoFixed width of scrollbars in wxUniv.
Dimitri Schoolwerth [Thu, 25 Aug 2011 23:13:00 +0000 (23:13 +0000)] 
Fixed width of scrollbars in wxUniv.

The AdjustSize renderer function for wxUniv's GTK and MSW theme adjusted the size of a scrollbar while it already had the correct size, resulting in scrollbars being twice as wide. Fixed by not adjusting the size of a scrollbar anymore in AdjustSize.

Closes #11660.

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

12 years agoFixed buttons having no border in wxUniv by default.
Dimitri Schoolwerth [Thu, 25 Aug 2011 23:09:00 +0000 (23:09 +0000)] 
Fixed buttons having no border in wxUniv by default.

Buttons had a border of wxBORDER_NONE resulting in wxButton::DoDraw not drawing the button's border. Fixed by adding wxAnyButton::GetDefaultBorder() for wxUniv which returns wxBORDER_STATIC. Regression since r67931.

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

12 years agoFixed MSW/Univ compilation of toplevel.cpp.
Dimitri Schoolwerth [Thu, 25 Aug 2011 21:52:55 +0000 (21:52 +0000)] 
Fixed MSW/Univ compilation of toplevel.cpp.

MSW-only functions were compiled in, disabled their usage by adding #ifndef __WXUNIVERSAL__ blocks.

Closes #13399 (again, after r68723 already should have closed it but its commit message contained a typo).

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

12 years agomb:54153a12-b2c7-417e-b607-c4faa9c436ab
Stefan Csomor [Thu, 25 Aug 2011 16:37:05 +0000 (16:37 +0000)] 
mb:54153a12-b2c7-417e-b607-c4faa9c436ab

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

12 years agoRebake after previous commit, should fix monolithic compilation.
Steve Lamerton [Wed, 24 Aug 2011 12:57:28 +0000 (12:57 +0000)] 
Rebake after previous commit, should fix monolithic compilation.

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

12 years agoNo real changes, just update copyright year in wxInfoMessageBox().
Vadim Zeitlin [Wed, 24 Aug 2011 11:52:57 +0000 (11:52 +0000)] 
No real changes, just update copyright year in wxInfoMessageBox().

s/2010/2011/

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

12 years agoTry harder to set the requester splitter position in wxSplitterWindow.
Vadim Zeitlin [Wed, 24 Aug 2011 11:48:18 +0000 (11:48 +0000)] 
Try harder to set the requester splitter position in wxSplitterWindow.

The code in wxSplitterWindow tried to remember the requested position and set
the real sash position to it later, even if the initial window size was too
small to allow for it, but it didn't work because the requested position was
forgotten after the first size event, even though it was quite possible that
this event didn't really change the window size from the initial, small, one.

Try to make this more robust by ignoring the size events which don't really
change the window size. Also set m_lastSize correctly initially.

Now setting the sash position does work even if the splitter itself is inside
nested sizers (which results in many size events).

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

12 years agoadding raw_control for osx
Stefan Csomor [Wed, 24 Aug 2011 11:19:43 +0000 (11:19 +0000)] 
adding raw_control for osx

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

12 years agoRemove out of date extralib stuff from the bakefiles.
Steve Lamerton [Wed, 24 Aug 2011 07:43:12 +0000 (07:43 +0000)] 
Remove out of date extralib stuff from the bakefiles.

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

12 years agomissing commit for RAW_CONTROL changes
Stefan Csomor [Wed, 24 Aug 2011 06:14:10 +0000 (06:14 +0000)] 
missing commit for RAW_CONTROL changes

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

12 years agomissing commit for RAW_CONTROL changes
Stefan Csomor [Wed, 24 Aug 2011 04:15:58 +0000 (04:15 +0000)] 
missing commit for RAW_CONTROL changes

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

12 years agoCompilation fix for non-OSX: don't use m_rawControlDown there.
Vadim Zeitlin [Tue, 23 Aug 2011 15:44:04 +0000 (15:44 +0000)] 
Compilation fix for non-OSX: don't use m_rawControlDown there.

m_rawControlDown is supposed to be only used under OS X so put an #ifdef
__WXOSX__ around it in wxKeyboardState::GetModifiers() to fix compilation
under the other platforms.

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

12 years agofixing type for key event, using WXK_RAW_CONTROL constant for controlkey, see #13415
Stefan Csomor [Tue, 23 Aug 2011 15:30:44 +0000 (15:30 +0000)] 
fixing type for key event, using WXK_RAW_CONTROL constant for controlkey, see #13415

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

12 years agoexposing control key combinations as before, fixing unicodekey casing
Stefan Csomor [Tue, 23 Aug 2011 15:18:27 +0000 (15:18 +0000)] 
exposing control key combinations as before, fixing unicodekey casing

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

12 years agoSimplify checks for event vetoing in generic wxDataViewCtrl code.
Vadim Zeitlin [Tue, 23 Aug 2011 15:11:25 +0000 (15:11 +0000)] 
Simplify checks for event vetoing in generic wxDataViewCtrl code.

Don't return the whole event object from SendExpanderEvent() just to check if
it wasn't vetoed, simply return a boolean value indicating if this was the
case from this function itself.

This makes it both more efficient and easier to use.

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

12 years agoFix completely wrong logic for veto checking in generic wxDVC.
Vadim Zeitlin [Tue, 23 Aug 2011 15:11:22 +0000 (15:11 +0000)] 
Fix completely wrong logic for veto checking in generic wxDVC.

The code sending the event must check whether the event was vetoed or not, not
whether it was skipped or not. This is the minimal change resulting in correct
behaviour even if an event handler does skip the event.

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

12 years agoadjusting keyboardstate to new ctrl / raw_ctrl handling on osx
Stefan Csomor [Tue, 23 Aug 2011 13:19:19 +0000 (13:19 +0000)] 
adjusting keyboardstate to new ctrl / raw_ctrl handling on osx

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

12 years agoadjusting keyboardstate to new ctrl / raw_ctrl handling on osx
Stefan Csomor [Tue, 23 Aug 2011 13:03:52 +0000 (13:03 +0000)] 
adjusting keyboardstate to new ctrl / raw_ctrl handling on osx

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

12 years agoMention wxLocale in wxNumValidator documentation.
Vadim Zeitlin [Tue, 23 Aug 2011 11:04:44 +0000 (11:04 +0000)] 
Mention wxLocale in wxNumValidator documentation.

Using setlocale() can thoroughly confuse wxNumValidator because it results in
a mismatch between the decimal and/or thousands separators it uses, returned
by wxLocale, and the actual separators in the strings, formatted by the CRT.

So mention in the documentation that using setlocale() is a bad idea.

Closes #12970.

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

12 years agoNo changes, just add a missing comma in wxNumValidator documentation.
Vadim Zeitlin [Tue, 23 Aug 2011 11:04:41 +0000 (11:04 +0000)] 
No changes, just add a missing comma in wxNumValidator documentation.

SetRange() declaration wasn't properly terminated.

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

12 years agoCheck for decimal separator inconsistency in wxLocale::GetInfo().
Vadim Zeitlin [Tue, 23 Aug 2011 11:04:37 +0000 (11:04 +0000)] 
Check for decimal separator inconsistency in wxLocale::GetInfo().

Under wxMSW it's possible to have mismatch between the CRT locale (used by
various printf-related functions) and the system locale (queried by
wxLocale::GetInfo()).

Warn if such a mismatch occurs and tell people to use wxLocale instead of just
setlocale() to change the locale.

See #12970.

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

12 years agoFix wxBannerWindowNameStr definition in DLL builds.
Vadim Zeitlin [Tue, 23 Aug 2011 10:50:43 +0000 (10:50 +0000)] 
Fix wxBannerWindowNameStr definition in DLL builds.

Don't use WXDLLEXPORT_DATA when defining the variable, it can be only used
when declaring it.

This fixes wxMSW DLL build with MSVC.

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

12 years agoAdded wxBITMAP_TYPE_TIFF and wxBITMAP_TYPE_TIFF_RESOURCE.
Dimitri Schoolwerth [Tue, 23 Aug 2011 04:55:46 +0000 (04:55 +0000)] 
Added wxBITMAP_TYPE_TIFF and wxBITMAP_TYPE_TIFF_RESOURCE.

Having wxBITMAP_TYPE_TIFF and wxBITMAP_TYPE_TIFF_RESOURCE is more consistent with already using the complete short name of an image format elsewhere (e.g. wxBITMAP_TYPE_JPEG, not wxBTMAP_TYPE_JPG, and wxTIFFHandler as opposed to wxTIFHandler). Renamed all existing occurrences and kept the old enum values for backwards compatibility.

Also renamed occurrences of wxBITMAP_TYPE_RESOURCE to the already existing wxBITMAP_TYPE_BMP_RESOURCE.

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

12 years agoFixed linking errors related to wxAnyButton in wxUniv.
Dimitri Schoolwerth [Tue, 23 Aug 2011 04:41:00 +0000 (04:41 +0000)] 
Fixed linking errors related to wxAnyButton in wxUniv.

Native wxAnyButton headers were being included but the sources aren't used in wxUniv. Fixed this by not including any native header in wxUniv and instead made wxAnyButton a typedef of wxAnyButtonBase.

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

12 years agoFixed compilation of various notebook.cpp's.
Dimitri Schoolwerth [Tue, 23 Aug 2011 03:08:01 +0000 (03:08 +0000)] 
Fixed compilation of various notebook.cpp's.

Make use of HasImageList() and GetImageList() instead of accessing the now private m_imageList directly. Fixed for wxUniv, wxGTK1, and wxOS2 (the latter 2 blindly). Changes are similar to r68856 and should have been a part of that.

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

12 years agoFixed compilation of sources that make use of wx/univ/notebook.h.
Dimitri Schoolwerth [Tue, 23 Aug 2011 02:18:41 +0000 (02:18 +0000)] 
Fixed compilation of sources that make use of wx/univ/notebook.h.

wxUniv's wxNotebook was accessing m_imageList which now is a private in wxWithImages since r68809. Fixed by using wxWithImages::HasImageList.

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

12 years agoExclude another auto-generated file when cleaning the patches.
Vadim Zeitlin [Mon, 22 Aug 2011 15:35:47 +0000 (15:35 +0000)] 
Exclude another auto-generated file when cleaning the patches.

Changes to autoconf_inc.m4 are not interesting neither, exclude them.

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

12 years agoDon't refresh not yet realized widget in wxGTK wxDataViewCtrl.
Vadim Zeitlin [Mon, 22 Aug 2011 15:31:38 +0000 (15:31 +0000)] 
Don't refresh not yet realized widget in wxGTK wxDataViewCtrl.

If the text of any of wxDataViewCtrl cells was set before the control was
realized (e.g. during its creation), the code tried to refresh the not yet
shown widget resulting in GTK+ errors.

Avoid this by only refreshing the tree if it's realized.

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

12 years agoReturn non-const pointer from wxDataViewRendererBase::GetView().
Vadim Zeitlin [Mon, 22 Aug 2011 15:31:36 +0000 (15:31 +0000)] 
Return non-const pointer from wxDataViewRendererBase::GetView().

Non-const wxWindow pointers are unfortunately needed quite often in wx API so
return a non-const pointer here to allow using it with e.g. wxRendererNative
(whose methods all take non-const wxWindow pointers) in the derived classes.

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

12 years agoAdd wxDataViewIconText::IsSameAs() and make comparison operators members.
Vadim Zeitlin [Mon, 22 Aug 2011 15:31:33 +0000 (15:31 +0000)] 
Add wxDataViewIconText::IsSameAs() and make comparison operators members.

Add IsSameAs() to make it simpler to call from the derived class operator==()
implementation.

Also make comparison operators themselves members instead of global functions
to avoid considering them as matches for all operator==() uses in the program,
there is really no need for this as we do _not_ want to allow implicitly
converting something to wxDataViewIconText when comparing.

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

12 years agoReturn (16,16) as the default list icons size in wxMSW.
Vadim Zeitlin [Mon, 22 Aug 2011 15:31:30 +0000 (15:31 +0000)] 
Return (16,16) as the default list icons size in wxMSW.

The standard size of the small icons in list controls under MSW is
traditionally 16*16 so return this from wxMSW wxArtProvider.

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

12 years agoremoving trailing comma
Stefan Csomor [Mon, 22 Aug 2011 15:11:37 +0000 (15:11 +0000)] 
removing trailing comma

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

12 years agoexposing wxGraphicsContext through an ordinary wxDC
Stefan Csomor [Mon, 22 Aug 2011 15:10:07 +0000 (15:10 +0000)] 
exposing wxGraphicsContext through an ordinary wxDC

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

12 years agoFix typo.
Václav Slavík [Mon, 22 Aug 2011 14:14:55 +0000 (14:14 +0000)] 
Fix typo.

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

12 years agoDon't iterate over selection twice needlessly in wxDataViewMainWindow::ItemDeleted().
Václav Slavík [Mon, 22 Aug 2011 14:14:53 +0000 (14:14 +0000)] 
Don't iterate over selection twice needlessly in wxDataViewMainWindow::ItemDeleted().

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

12 years agoNo change, improve wxDataViewMainWindow::ItemDeleted() readability.
Václav Slavík [Mon, 22 Aug 2011 14:14:50 +0000 (14:14 +0000)] 
No change, improve wxDataViewMainWindow::ItemDeleted() readability.

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

12 years agoHarmonize wxDataViewCtrl::GetSelection() behaviour in all ports.
Vadim Zeitlin [Mon, 22 Aug 2011 12:41:19 +0000 (12:41 +0000)] 
Harmonize wxDataViewCtrl::GetSelection() behaviour in all ports.

wxDataViewCtrl::GetSelection() now always returns invalid item if more than
a single item is selected in a multi-selection control.

Also add HasSelection() and GetSelectedItemsCount() to allow checking if any
items are selected.

Updated the documentation, all ports and added a test for all these functions.

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

12 years agoNo changes, just use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT().
Vadim Zeitlin [Mon, 22 Aug 2011 12:41:12 +0000 (12:41 +0000)] 
No changes, just use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT().

CPPUNIT_ASSERT_EQUAL() gives more informative error messages in case of
failure which is important when running tests unattended on build slaves.

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

12 years agoNo changes, just add wxGtkList to ensure g_list_free() is always called.
Vadim Zeitlin [Mon, 22 Aug 2011 12:41:00 +0000 (12:41 +0000)] 
No changes, just add wxGtkList to ensure g_list_free() is always called.

Add an extremely simple RAII wrapper around GList and use it.

Also add wxGtkTreePathList which also automatically frees its contents to
simplify working with the lists of GtkTreePaths.

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

12 years agoDon't export Objective C interfaces in non-x86_64 builds.
Vadim Zeitlin [Mon, 22 Aug 2011 12:38:36 +0000 (12:38 +0000)] 
Don't export Objective C interfaces in non-x86_64 builds.

Doing this is unnecessary and results in compilation errors in PPC and x86
builds when using old (4.0.1) version of the compiler.

So make WXEXPORT added in r67575 specific to 64 bit builds.

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

12 years agoAdd XRC handler for wxBannerWindow and a test for it to the xrc sample.
Vadim Zeitlin [Mon, 22 Aug 2011 12:18:56 +0000 (12:18 +0000)] 
Add XRC handler for wxBannerWindow and a test for it to the xrc sample.

Also document the new XRC format elements.

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

12 years agoNo changes, just factor our wxDirection parsing code in wxXRC.
Vadim Zeitlin [Mon, 22 Aug 2011 12:18:49 +0000 (12:18 +0000)] 
No changes, just factor our wxDirection parsing code in wxXRC.

Move it from wxButtonXmlHandler into a reusable wxXmlResourceHandler::
GetDirection() that can used by the other handlers too.

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

12 years agoAdd new wxBannerWindow class.
Vadim Zeitlin [Mon, 22 Aug 2011 12:18:43 +0000 (12:18 +0000)] 
Add new wxBannerWindow class.

A simple banner showing either a bitmap or some text on gradient background.

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

12 years agoAdd @genericAppearance Doxygen macro.
Vadim Zeitlin [Mon, 22 Aug 2011 12:18:33 +0000 (12:18 +0000)] 
Add @genericAppearance Doxygen macro.

This allows to provide just a single image (in "generic" subdirectory) for the
generic controls that look the same in all ports instead of having to create
three identical ones (in "wxmsw", "wxgtk" and "wxmac" subdirectories) that are
required by @appearance.

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

12 years agoFix the coordinates in wxDataViewCustomRenderer::LeftClick() in generic wxDVC.
Vadim Zeitlin [Mon, 22 Aug 2011 12:13:39 +0000 (12:13 +0000)] 
Fix the coordinates in wxDataViewCustomRenderer::LeftClick() in generic wxDVC.

The code in generic wxDataViewCtrl implementation didn't take the space taken
by tree expander button nor the indentation of child nodes into account, so
the coordinates passed to LeftClick() could be completely wrong.

Fix this by offsetting them to ensure that click coordinates are always
relative to the cell client area.

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

12 years agoFix duplicate variable for VC++ 6
Julian Smart [Mon, 22 Aug 2011 11:27:44 +0000 (11:27 +0000)] 
Fix duplicate variable for VC++ 6

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

12 years agoRename identifier
Julian Smart [Mon, 22 Aug 2011 11:26:46 +0000 (11:26 +0000)] 
Rename identifier

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

12 years agoAdd new sample project files.
Steve Lamerton [Mon, 22 Aug 2011 09:21:16 +0000 (09:21 +0000)] 
Add new sample project files.

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

12 years agoRebake
Steve Lamerton [Mon, 22 Aug 2011 09:16:48 +0000 (09:16 +0000)] 
Rebake

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

12 years agoExport a couple of carbon functions so that shared builds in carbon compile correctly.
Steve Lamerton [Mon, 22 Aug 2011 08:45:25 +0000 (08:45 +0000)] 
Export a couple of carbon functions so that shared builds in carbon compile correctly.

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

12 years agoAdd missing wx/icon.h header to fix wxGTK compilation.
Vadim Zeitlin [Sun, 21 Aug 2011 14:52:16 +0000 (14:52 +0000)] 
Add missing wx/icon.h header to fix wxGTK compilation.

wx/withimages.h needs to include wx/icon.h as it contains an inline function
returning wxIcon.

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

12 years agoRefactor: replace wxTreeItemId and wxDataViewItem with new wxItemId<>.
Vadim Zeitlin [Sun, 21 Aug 2011 14:08:56 +0000 (14:08 +0000)] 
Refactor: replace wxTreeItemId and wxDataViewItem with new wxItemId<>.

Add wxItemId<> template which can be used to identify items in different
{tree,list}-like controls, including wxDataViewCtrl (where it replaces, in
backwards compatible way, wxDataViewItem), wxTreeCtrl (where it replaces
wxTreeItemId) and the upcoming wxTreeListCtrl.

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

12 years agoNo changes, just move wxCheckBoxState to wx/defs.h from wx/checkbox.h.
Vadim Zeitlin [Sun, 21 Aug 2011 14:08:52 +0000 (14:08 +0000)] 
No changes, just move wxCheckBoxState to wx/defs.h from wx/checkbox.h.

Move the enum to allow reusing it in other places.

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

12 years agoNo changes, just use symbolic NO_IMAGE constant instead of -1 or wxNOT_FOUND.
Vadim Zeitlin [Sun, 21 Aug 2011 14:08:49 +0000 (14:08 +0000)] 
No changes, just use symbolic NO_IMAGE constant instead of -1 or wxNOT_FOUND.

Existing declarations used -1 in several places to indicate the absence of the
image which wasn't especially clear and was also inconsistent with other
places that used wxNOT_FOUND which didn't make much sense in this context.

Add a new symbolic constant NO_IMAGE in wxWithImages and use it in the classes
deriving from it. This still doesn't help with wx{Tree,List}Ctrl but improves
clarity for the other classes.

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

12 years agoAdd wxWithImages helper mix-in with {Set,Get,Assign}ImageList() methods.
Vadim Zeitlin [Sun, 21 Aug 2011 14:08:43 +0000 (14:08 +0000)] 
Add wxWithImages helper mix-in with {Set,Get,Assign}ImageList() methods.

Avoid defining SetImageList() in several different places in wx API as not
only this resulted in (trivial) code duplication but this method also had
different semantics before: it didn't take ownership of the pointer passed to
it in wxTreeCtrl, wxListCtrl and wxBookCtrl and derived classes but did take
its ownership in wxDataViewTreeCtrl and wxRichTextFormattingDialog.

Harmonize this for all the classes now: SetImageList() never takes ownership
while AssignImageList() (which is now available in all classes having
SetImageList()) always does.

Also add convenience wxWithImages::GetImage() helper to avoid (more) code
duplication in wxDataViewTreeCtrl code.

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

12 years agoReplace wxComboBox::IsEmpty() with Is{List,Text}Empty().
Vadim Zeitlin [Sun, 21 Aug 2011 12:06:16 +0000 (12:06 +0000)] 
Replace wxComboBox::IsEmpty() with Is{List,Text}Empty().

IsEmpty() didn't exist in all ports (notably not wxMSW) and its meaning was
unclear anyhow, so remove it even from the ports where it did exist and add
clear Is{List,Text}Empty() replacements instead.

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

12 years agoRename wxDataViewCtrl::InvalidateColBestWidth* to UpdateColBestWidth*.
Václav Slavík [Sun, 21 Aug 2011 09:07:06 +0000 (09:07 +0000)] 
Rename wxDataViewCtrl::InvalidateColBestWidth* to UpdateColBestWidth*.

The new names make it more clear that the functions don't just set an
invalidated flag, but that they actually do some recalculations.

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

12 years agoFix autosize columns width calculation in generic wxDataViewCtrl.
Václav Slavík [Sun, 21 Aug 2011 09:07:02 +0000 (09:07 +0000)] 
Fix autosize columns width calculation in generic wxDataViewCtrl.

Column widths were recomputed too soon -- after the model changed, but
before the control's own data structures were updated to reflect the
change. This could lead to incorrect calculations or worse, crashes.

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

12 years agoFix history when using custom schemes in GTK.
Steve Lamerton [Sat, 20 Aug 2011 14:04:28 +0000 (14:04 +0000)] 
Fix history when using custom schemes in GTK.

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

12 years agoAdd a one line script to clean patches before submitting them for review.
Vadim Zeitlin [Sat, 20 Aug 2011 12:25:53 +0000 (12:25 +0000)] 
Add a one line script to clean patches before submitting them for review.

Exclude changes to the auto-generated files using filterdiff.

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

12 years agoAdd virtual destructors to fix GCC4 warnings.
Steve Lamerton [Sat, 20 Aug 2011 10:59:09 +0000 (10:59 +0000)] 
Add virtual destructors to fix GCC4 warnings.

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

12 years agoAnother compilation fix for OSX 10.5
Steve Lamerton [Sat, 20 Aug 2011 09:50:00 +0000 (09:50 +0000)] 
Another compilation fix for OSX 10.5

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

12 years agoReorganize wxDataViewMainWindow::ItemAdded() for better readability.
Václav Slavík [Fri, 19 Aug 2011 18:25:28 +0000 (18:25 +0000)] 
Reorganize wxDataViewMainWindow::ItemAdded() for better readability.

Reuse common code. No real changes.

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

12 years agoFixed failing test in ImageTestCase for builds made with makefiles.
Dimitri Schoolwerth [Fri, 19 Aug 2011 16:10:07 +0000 (16:10 +0000)] 
Fixed failing test in ImageTestCase for builds made with makefiles.

The recently added BMP images in tests/image/ were not being copied. Added them to test.bkl and regenerated makefiles.

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

12 years agoUpdate documentation for new library name.
Steve Lamerton [Fri, 19 Aug 2011 13:30:46 +0000 (13:30 +0000)] 
Update documentation for new library name.

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

12 years agoRename web library to webview.
Steve Lamerton [Fri, 19 Aug 2011 10:45:16 +0000 (10:45 +0000)] 
Rename web library to webview.

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

12 years agoRename wxUSE_WEB to wxUSE_WEBVIEW to reflect that actually it specifically toggles...
Steve Lamerton [Fri, 19 Aug 2011 09:15:06 +0000 (09:15 +0000)] 
Rename wxUSE_WEB to wxUSE_WEBVIEW to reflect that actually it specifically toggles the wxWebView class and associated features.

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

12 years agoDocumented wxIMAGE_OPTION_TIFF_* options that are currently in use.
Dimitri Schoolwerth [Fri, 19 Aug 2011 03:57:06 +0000 (03:57 +0000)] 
Documented wxIMAGE_OPTION_TIFF_* options that are currently in use.

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

12 years agoUse a default photometric interpretation value of PHOTOMETRIC_MINISWHITE instead...
Dimitri Schoolwerth [Fri, 19 Aug 2011 03:50:45 +0000 (03:50 +0000)] 
Use a default photometric interpretation value of PHOTOMETRIC_MINISWHITE instead of PHOTOMETRIC_MINISBLACK for greyscale and b/w TIFF images.

Closes #13194.

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

12 years agoAdded option to TIFF handler for specifying the photometric interpretation.
Dimitri Schoolwerth [Fri, 19 Aug 2011 03:47:40 +0000 (03:47 +0000)] 
Added option to TIFF handler for specifying the photometric interpretation.

Added option wxIMAGE_OPTION_TIFF_PHOTOMETRIC for reading and writing TIFF images. This is mostly for being able to distinguish between PHOTOMETRIC_MINISBLACK (chocolate flavour) and PHOTOMETRIC_MINISWHITE (vanilla) as currently the flavour used was fixed. It applies to greyscale as well as black and white images. Added unit tests to verify the written photometric value.

Also see #13194.

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

12 years agoAdded support for saving greyscale TIFF images.
Dimitri Schoolwerth [Fri, 19 Aug 2011 02:35:48 +0000 (02:35 +0000)] 
Added support for saving greyscale TIFF images.

When saving with a samples per pixel value of 1 the TIFF handler still treated the image as RGB, resulting in corrupted images. Handle the greyscale case and added a unit test for it.

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

12 years agoChanged TIFF handler's monochrome conversion to look at the green channel instead...
Dimitri Schoolwerth [Fri, 19 Aug 2011 02:27:11 +0000 (02:27 +0000)] 
Changed TIFF handler's monochrome conversion to look at the green channel instead of red.

It's common when reducing a coloured image to greyscale or black and white to give the green channel more significance. Since we're only looking at a single channel use the green one instead of red.

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

12 years agoFixed crash when saving as a monochrome TIFF image with incomplete options set.
Dimitri Schoolwerth [Fri, 19 Aug 2011 02:00:25 +0000 (02:00 +0000)] 
Fixed crash when saving as a monochrome TIFF image with incomplete options set.

When setting only wxIMAGE_OPTION_TIFF_BITSPERSAMPLE to 1 the used samples per pixel (wxIMAGE_OPTION_TIFF_SAMPLESPERPIXEL) would still be set to 3. This is invalid and confuses libtiff, resulting in a crash ("possible heap corruption" during _TIFFfree using WinXP+MSVC8). Set the used samples per pixel to 1 explicitly in cases where only bits per sample is set to 1. Added a unit test to check for this problem (and verify the bits per sample from the saved image is indeed 1).

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

12 years agoNo code changes.
Dimitri Schoolwerth [Fri, 19 Aug 2011 01:31:07 +0000 (01:31 +0000)] 
No code changes.

Renamed variable bpp (bits per pixel) in TIFF handler to what it actually represents: bps (bits per sample).

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

12 years agoRenamed the options specific to the TIFF handler.
Dimitri Schoolwerth [Fri, 19 Aug 2011 01:19:21 +0000 (01:19 +0000)] 
Renamed the options specific to the TIFF handler.

The loading/saving options that are specific for TIFF were in the form of wxIMAGE_OPTION_<name> while all other non-generic options use the form wxIMAGE_OPTION_<imagetype>_<name>. Renamed the TIFF options to the form wxIMAGE_OPTION_TIFF_<name> and kept the old names for backwards compatibility.

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

12 years agoimproved wxImage documentation.
Dimitri Schoolwerth [Fri, 19 Aug 2011 01:13:16 +0000 (01:13 +0000)] 
improved wxImage documentation.

moved description of wxIMAGE_OPTION_GIF_COMMENT from wxImage::GetOptionInt documentation to wxImage::GetOption because the value of the GIF option is a string, not int.

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

12 years agoImproved saving of TIFF monochrome images.
Dimitri Schoolwerth [Fri, 19 Aug 2011 01:08:36 +0000 (01:08 +0000)] 
Improved saving of TIFF monochrome images.

When reducing an RGB image to black and white any non-black pixel was treated as white resulting in mostly white images. Set the threshold to 127 instead to improve the looks of saved monochrome TIFF images.

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

12 years agoRemove a couple of unused forward declarations.
Steve Lamerton [Thu, 18 Aug 2011 13:29:16 +0000 (13:29 +0000)] 
Remove a couple of unused forward declarations.

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

12 years agoFixed saving TIFF images to wxMemoryOutputStream.
Dimitri Schoolwerth [Thu, 18 Aug 2011 13:15:43 +0000 (13:15 +0000)] 
Fixed saving TIFF images to wxMemoryOutputStream.

Libtiff attempts to seek past the end of a stream and the behaviour for this can vary per stream implementation. Fixed failure to seek by filling the gap between the end of stream and new seek position with zeroes. Enabled a unit test which so far was disabled due to wxMemoryOutputStream failing to save a TIFF because of the seeking problem.

Also closes #4089.

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

12 years agoAdd some version checks to help compiling on OSX.
Steve Lamerton [Thu, 18 Aug 2011 10:51:57 +0000 (10:51 +0000)] 
Add some version checks to help compiling on OSX.

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

12 years agoRemove MoveWindow method.
Steve Lamerton [Thu, 18 Aug 2011 09:26:52 +0000 (09:26 +0000)] 
Remove MoveWindow method.

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

12 years agoImproved BMP decoding.
Dimitri Schoolwerth [Wed, 17 Aug 2011 21:01:09 +0000 (21:01 +0000)] 
Improved BMP decoding.

The BMP decoder did not handle images that are not stored upside down but straight up (in which case the height is negative). Also with RLE4 or RLE8 compressed images the 'end of scanline' RLE marker was not handled correctly. Fixed the issues and added a unit test for them.

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

12 years agoReturn true by default under OSX WebKit.
Steve Lamerton [Wed, 17 Aug 2011 13:50:01 +0000 (13:50 +0000)] 
Return true by default under OSX WebKit.

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

12 years agoCorrectly stop the loading animation in the sample when we veto navigation.
Steve Lamerton [Wed, 17 Aug 2011 13:46:09 +0000 (13:46 +0000)] 
Correctly stop the loading animation in the sample when we veto navigation.

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

12 years agoDerive wxWebViewEvent from wxNotifyEvent.
Steve Lamerton [Wed, 17 Aug 2011 11:19:29 +0000 (11:19 +0000)] 
Derive wxWebViewEvent from wxNotifyEvent.

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

12 years agoRename LoadUrl to LoadURL. This corrects the capitalisation as it is an acronym,...
Steve Lamerton [Wed, 17 Aug 2011 10:55:59 +0000 (10:55 +0000)] 
Rename LoadUrl to LoadURL. This corrects the capitalisation as it is an acronym, and brings it into line with GetCurrentURL.

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

12 years agoTidy up webview.h. Remove all of the doxygen comments which have now been moved to...
Steve Lamerton [Wed, 17 Aug 2011 10:49:17 +0000 (10:49 +0000)] 
Tidy up webview.h. Remove all of the doxygen comments which have now been moved to the interface file. Organise method declarations more sensibly.

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

12 years agoMake a few internal methods private.
Steve Lamerton [Wed, 17 Aug 2011 10:36:14 +0000 (10:36 +0000)] 
Make a few internal methods private.

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

12 years agoUse correct format specifier for thread id in the sample.
Vadim Zeitlin [Wed, 17 Aug 2011 10:35:29 +0000 (10:35 +0000)] 
Use correct format specifier for thread id in the sample.

Thread id is an (unsigned) long, not just unsigned, so use "%lx" to print it
instead of "%x" to avoid asserts in formatting code.

Closes #13404.

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

12 years agoRestore stock item labels mistakenly removed by r68641.
Vadim Zeitlin [Wed, 17 Aug 2011 10:35:25 +0000 (10:35 +0000)] 
Restore stock item labels mistakenly removed by r68641.

The patch adding separate string for the labels with mnemonics and the ones
without them has somehow managed to remove entries for 10 stock ids.

Restore them now.

Closes #13403.

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

12 years agoConst correct the wxWebView api.
Steve Lamerton [Wed, 17 Aug 2011 10:26:09 +0000 (10:26 +0000)] 
Const correct the wxWebView api.

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

12 years agoBetter text control non-selection solution
Julian Smart [Wed, 17 Aug 2011 08:38:00 +0000 (08:38 +0000)] 
Better text control non-selection solution

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

12 years agoImplemented non-selection of content when setting focus via the keyboard.
Julian Smart [Tue, 16 Aug 2011 20:52:15 +0000 (20:52 +0000)] 
Implemented non-selection of content when setting focus via the keyboard.

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

12 years agoadapting to new ctrl constant handling on OSX
Stefan Csomor [Tue, 16 Aug 2011 13:46:56 +0000 (13:46 +0000)] 
adapting to new ctrl constant handling on OSX

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

12 years agoadapting to new ctrl constant handling on OSX
Stefan Csomor [Tue, 16 Aug 2011 13:45:05 +0000 (13:45 +0000)] 
adapting to new ctrl constant handling on OSX

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

12 years agoadapting to new ctrl constant handling on OSX
Stefan Csomor [Tue, 16 Aug 2011 13:36:24 +0000 (13:36 +0000)] 
adapting to new ctrl constant handling on OSX

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

12 years agosupporting full style mask
Stefan Csomor [Tue, 16 Aug 2011 12:42:56 +0000 (12:42 +0000)] 
supporting full style mask

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