Commit Graph

1883 Commits

Author SHA1 Message Date
Steve Lamerton
1d156af324 Merge in from trunk r68684 - r69046
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@69047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-10 15:09:22 +00:00
Vadim Zeitlin
d6397a9f35 Add persistence support for wxSplitterWindow.
New wxPersistentSplitter class allows to easily save and restore the splitter
position in config.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-04 23:01:45 +00:00
Dimitri Schoolwerth
eb5502dcaa Regenerated Xcode projects.
Updated the Xcode projects to include latest source additions and newer settings from template *_in.xcodeproj project files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-29 19:09:16 +00:00
Stefan Csomor
2824962c5a make sure svn info for an already existing .xcodeproj folder is not deleted, replace project file itself in place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-28 13:00:38 +00:00
Robin Dunn
932d0768aa * Implement dynamic loading of the Cairo DLL on Windows similar to how it was
done for GDI+.

* Enable the use of the wxCairoContext on MSW.

* Enable creating a wxGCDC from an exisiting wxGraphicsContext.

* Since it's possible for a DLL that is using wx to not be on the PATH nor in
  the same location as the .exe, change the wxDynamicLibrary::RawLoad method to
  explicitly look first in the same place as the main wx-using binary.  This way
  it will find DLLs that are in the same folder as the wx-using binary even if
  that would not be in the normal DLL search path.  

* Change wxDCImpl and wxDC::GetLogicalScale to be const methods.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-27 23:26:53 +00:00
Vadim Zeitlin
524cb04066 Add new wxTreeListCtrl class.
This is a facade for wxDataViewCtrl allowing to easily work with multi-column
trees, possibly with an optional checkbox in the first column. Its API is very
similar to wxTreeListCtrl and it provides a simple migration path from the
latter.

Add the class itself, documentation for it and minimal unit tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-27 14:11:03 +00:00
Dimitri Schoolwerth
f4308cf55f 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
2011-08-25 23:09:00 +00:00
Steve Lamerton
d26ae53f3d 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
2011-08-24 07:43:12 +00:00
Vadim Zeitlin
ae2047c32a 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
2011-08-22 12:18:56 +00:00
Vadim Zeitlin
ea11bf3abc 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
2011-08-22 12:18:43 +00:00
Steve Lamerton
98d689e403 Rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-22 09:16:48 +00:00
Vadim Zeitlin
87df1c87e2 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
2011-08-21 14:08:56 +00:00
Vadim Zeitlin
abfdefede3 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
2011-08-21 14:08:43 +00:00
Steve Lamerton
467d261e9d Rename web library to webview.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-19 10:45:16 +00:00
Steve Lamerton
6b366b9929 Update bakefile for new header names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-15 12:37:05 +00:00
Steve Lamerton
9f72fa7c2d Add missing bakefile from previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-14 12:25:44 +00:00
Steve Lamerton
a032168d8c 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
2011-08-10 18:32:52 +00:00
Steve Lamerton
94e0018723 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
2011-08-10 18:10:42 +00:00
Steve Lamerton
eafdb19c44 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
2011-07-31 14:06:33 +00:00
Václav Slavík
7198c33680 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
2011-07-31 13:25:30 +00:00
Steve Lamerton
9e3d4a3210 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
2011-07-30 14:22:15 +00:00
Steve Lamerton
906c935a80 Merge in from trunk r67662 to r64801
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-25 16:54:53 +00:00
Vadim Zeitlin
6c42e86d96 Increased the version to 2.9.3.
Simply ran misc/scripts/inc_release and changed build/bakefiles/version.bkl
and rebaked everything afterwards.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-22 16:32:07 +00:00
Chris Elliott
7c6a2a598c for 2.9.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-05 09:22:58 +00:00
Chris Elliott
2350919764 update docs for windows checkout process 1/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-30 13:17:51 +00:00
Vadim Zeitlin
273a28a1e9 Add a tiny script for producing HTML documentation archives.
Also update the release making document to point to it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-29 17:50:05 +00:00
Vadim Zeitlin
7e1fbe6913 Fix typo in error message about incorrect syntax.
Output the error to stderr, not a file called "2".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-29 17:50:02 +00:00
Chris Elliott
8295be2116 fix misisng html format files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-29 11:33:13 +00:00
Chris Elliott
a059d81b64 2.9.2-rc1 in file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-29 08:46:13 +00:00
Stefan Csomor
1aa727618e carbon prebuilt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 20:21:30 +00:00
Stefan Csomor
c55a90a22d new settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 20:19:35 +00:00
Stefan Csomor
a3c4268040 wxcocoa prebuilt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 19:45:02 +00:00
Stefan Csomor
854ad5ac3d new settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 19:41:15 +00:00
Stefan Csomor
3470df081b new settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 17:40:41 +00:00
Stefan Csomor
d7418f1414 new settings, removing incorrect setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 17:11:46 +00:00
Stefan Csomor
7105d78058 new settings for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 17:10:08 +00:00
Stefan Csomor
bd95a56385 new settings for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 17:09:56 +00:00
Stefan Csomor
de6e978207 adding new xcconfigs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 16:15:59 +00:00
Stefan Csomor
225efd6d48 set default deployment and compiler flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-21 09:01:21 +00:00
Stefan Csomor
20d2c191c4 set default deployment and compiler flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-21 08:57:05 +00:00
Stefan Csomor
1fb05ae58a use same flags as command line build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-21 08:55:05 +00:00
Stefan Csomor
21201af6d5 adding universal as devices
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-18 19:40:22 +00:00
Stefan Csomor
80982c3bc6 adding instantiated xcodeproj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-18 16:46:42 +00:00
Stefan Csomor
27c86437b9 removing obsolete flags, switching to universal builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-18 15:53:10 +00:00
Stefan Csomor
23dad6aac2 updating project format to 3.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-18 14:30:10 +00:00
Stefan Csomor
530c2b7473 removing old settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-18 14:21:13 +00:00
Vadim Zeitlin
b4354db179 Refactor wxButton and wxToggleButton to derive from wxAnyButton.
Introduce wxAnyButton class, a common base class for wxButton and
wxToggleButton, allowing to reuse the same implementation for them.

This also allows to implement support for bitmaps in wxToggleButton for all
platforms and make wxBitmapToggleButton a trivial subclass of it everywhere,
similarly to wxBitmapButton and wxButton.

Closes #13198.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-14 13:00:42 +00:00
Robin Dunn
9f2b6b31b7 Build fixes for using Cairo on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-31 19:16:55 +00:00
Vadim Zeitlin
01456a3fa3 Correct type MSVCProjectBuilder in the build script.
This prevented MSVC version detection from environment variables from working.

Closes #13243.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 23:20:18 +00:00
Vadim Zeitlin
218697e27b Don't use native MSW wxHyperlinkCtrl implementation in wxUniv.
Move src/msw/hyperlink.cpp and include/wx/msw/hyperlink.h to
ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR respectively to ensure
that these files are not used in wxUniv build that uses its own, generic,
versions.

This should fix wxUniv/MSW build as the native files didn't even compile with
wxUniv.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 15:26:42 +00:00