Commit Graph

1867 Commits

Author SHA1 Message Date
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
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
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
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
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
Vadim Zeitlin
2e103d05f1 Rebake after the addition of more richtext headers.
The project files haven't been updated after the last files.bkl modification,
do it now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 15:26:38 +00:00
Julian Smart
d476d8541a Added further wxRTC files to files.bkl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-09 10:08:27 +00:00
Vadim Zeitlin
8c7f440c2e Add wx/richtext/richtextuicustomization.h to the headers list.
This header wasn't installed before, add it to RICHTEXT_HDR files list in
files.bkl to fix this.

Closes #13203.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-09 09:21:20 +00:00
Vadim Zeitlin
b3c6dd3b53 No changes, just sort richtext files in files.bkl.
Sort RICHTEXT_{SRC,HDR} contents in alphabetical order, just as it's done for
all the other files list and to make it easier to check if a file already
occurs in these lists or not.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-09 09:21:14 +00:00
Robin Dunn
5be8929895 Wipe the old framework (if any) when building a new one. Fix symlinks. Add a plist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-04 00:40:36 +00:00
Robin Dunn
b4f28d1ef6 Fix popen2 deprecation warning.
Fix binary name inside the framework to be the same as the framework name.
Inject a bit of info about the framework into wx-config, so it can output framework flags/names instead of lib flags/names.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-29 20:03:45 +00:00
Robin Dunn
e2db04f8df Change --j to --jobs, add --mac_framework_prefix, add some helper functions to be used from build-wxpython.py and fix a bunch of other little stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-28 06:08:47 +00:00
Robin Dunn
6d6f2e7c17 Remove lipo options, that hack is no longer needed since we are not supporting OSX 10.3 any more. Also some work to get framework builds working properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-26 17:39:53 +00:00
Robin Dunn
be7a5775d2 Explicitly specify the Mac SDK for wxPython builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-22 19:18:47 +00:00
Vadim Zeitlin
0e5d4c38a3 Add wxAffineMatrix2D and related classes.
This class represents an affine 2D transformation and will be used in wxDC for
now and maybe in wxGC later.

Closes #13143.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-17 00:09:56 +00:00
Vadim Zeitlin
ea98f11c2f Add support for dynamic auto-completion in wxTextEntry.
Add wxTextCompleter class which allows to return the possible completions
dynamically and wxTextCompleter::AutoComplete() overload using it. So far this
is only implemented for wxMSW.

Also fix calling wxTextEntry::AutoComplete(wxArrayString) multiple times under
MSW, this didn't correctly update the list of shown completions before.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-16 17:27:16 +00:00
Dimitri Schoolwerth
d13b34d3f2 No code changes, fixed various typos.
Applied patch by snowleopard2 fixing typos in interface/. Extended the fixes throughout trunk.

Closes #13076.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-03 20:31:32 +00:00