Commit Graph

588 Commits

Author SHA1 Message Date
Vadim Zeitlin
04783062e2 Miscellaneous spelling and typo fixes in the documentation.
Closes #14866.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 00:14:31 +00:00
Vadim Zeitlin
551048c28c Add wxUSE_{BASE,GUI} checks to interface headers.
This allows to define just one of them to run some tool, e.g. SWIG, on only
the classes defined in the base or in the core library (both are defined by
default for Doxygen itself).

Closes #14785.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-06 23:53:17 +00:00
Vadim Zeitlin
b29c5ba981 Check that doxygen version is 1.8.2 in docs generation script.
Doxygen often has backwards incompatible changes, so verify that we really use
the version the docs are supposed to be generated with.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 12:44:56 +00:00
Vadim Zeitlin
ee6e22d94c Don't use "readlink -e" in docs generation script, it's not portable.
"readlink" command also exists under OS X but with a completely different
syntax than under Linux, so just use "pwd -P" to get the physical path name
instead, this should hopefully work everywhere as it's POSIX.

Closes #14796.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 12:44:51 +00:00
Bryan Petty
831e1028de Finished adding @tableofcontents to all overviews in the manual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:34:10 +00:00
Bryan Petty
328a3a009f Bumped the reference manual date.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:33:41 +00:00
Bryan Petty
0bfa9ddf3a Fixed up Windows regen.bat script to use environment variables instead of conditional config file includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:33:31 +00:00
Bryan Petty
b15e29d69c Moved format selection logic into environment variables instead of conditional config file includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:33:23 +00:00
Bryan Petty
c5a79f081d Removed obsolete files from old Doxygen versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:33:12 +00:00
Bryan Petty
a7cb8b5422 Cleaned up the server based search results page styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:33:02 +00:00
Bryan Petty
ce15461608 Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:32:50 +00:00
Bryan Petty
e7054054f0 Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:29:28 +00:00
Bryan Petty
78226dacc2 Upgraded Doxygen to 1.8.2 for the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-03 18:08:45 +00:00
Vadim Zeitlin
ff39e2f2b2 Deal correctly with wx directory being a symlink in docs generation script.
The script calling Doxygen is smart enough to strip the path of the wxWidgets
directory from the paths of the files, but it didn't do it correctly if this
directory was a symlink.

Fix this by using readlink, if available, to get the canonical name.

Closes #14796.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-01 17:14:54 +00:00
Vadim Zeitlin
06b4c6ebd2 Remove wxAUI dependency on wxXML as it doesn't depend on it.
Don't include wxAUI -> wxXML dependency in the libraries diagram in the
manual.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-24 18:21:54 +00:00
Vadim Zeitlin
74a59798c0 Add support for wxRibbonBar and related controls to XRC.
Add wxRibbonXmlHandler and an example of using it to the xrc sample.

Closes #12058.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-23 13:52:27 +00:00
Vadim Zeitlin
00b4e7c946 Add support for wxAuiNotebook to XRC.
Add wxAuiNotebookXmlHandler to "aui" library, now that we can do it without
adding a dependency of it on "xrc" one.

Closes #10889.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-23 13:51:58 +00:00
Vadim Zeitlin
a3b9c43bbc Refactor wxXRC to allow defining handlers outside of xrc library.
Split wxXmlResourceHandler into an ABC and the real implementation to allow
referencing the ABC in the core library itself but without pulling in all of
the XRC into it. This also allows defining XRC handlers, which only depend on
this ABC and not the xrc library, in other libraries, such as richtext, as
demonstrated by the now enabled wxRichTextXMLHandler.

Closes #10996.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-23 13:51:32 +00:00
Vadim Zeitlin
5a3eee0dba Allow specifying all wxFlexGridSizer parameters in XRC.
Add support for specifying flexible direction, grow mode in non-flexible
direction and row/column proportions for the growable ones.

Closes #14767.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-19 22:03:25 +00:00
Vadim Zeitlin
8b5cec2580 Correct example of handling property values changes in the docs.
"." was incorrectly used with a pointer, replace it with a "->".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-16 14:01:54 +00:00
Vadim Zeitlin
45df4bb6c2 Add "inherit" to <font> XRC tag.
This allows to construct a font based on the parent window font instead of
either fully specifying all font parameters or basing it on a standard font.

Closes #14632.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-28 23:48:34 +00:00
Vadim Zeitlin
c3f641cb5e Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images.
Just as wxBITMAP() provides a portable way of loading bitmaps from either
Windows BMP resources or embedded XPM data depending on the platform,
wxBITMAP_PNG() hides the difference between loading bitmaps from PNG resources
under Windows and embedded PNG data elsewhere.

Also add wxBITMAP_PNG_FROM_DATA() macro which always loads PNG data from
memory: it's needed anyhow as part of wxBITMAP_PNG() implementation and some
people may prefer to always use it under all platforms.

Finally modify the image sample to demonstrate loading PNG images from both
resources and memory. This involved creation of a new Windows .rc file for it
and copying its data files to Resources bundle directory under OS X.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-13 17:15:25 +00:00
Vadim Zeitlin
9e565667d0 Add wxSpinCtrl::SetBase() to allow entering hexadecimal numbers.
Add a generic SetBase() API even though right now only bases 10 and 16 are
supported as we might support other ones (e.g. 8?) in the future. Implement it
for MSW, GTK and generic versions.

Add controls allowing to test this feature to the widgets sample.

Add "base" property support to the XRC handler for wxSpinCtrl, document it and
test it in the xrc sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-30 20:24:38 +00:00
Vadim Zeitlin
cc699de848 Added wxSimplebook class: a wxBookCtrl without controller.
This new control allows the program to show one of the several pages without
allowing the user to change them (or even see that there are several of them)
himself.

This class is fully inline, so it doesn't add anything to the library and
hence doesn't need neither wxUSE_SIMPLEBOOK nor the corresponding configure
option.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-30 20:21:54 +00:00
Vadim Zeitlin
572f4ad212 Fix typo in an example of Bind()-ing a function in the event overview.
Functors must be passed by const reference, not pointer.

Closes #14572.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-11 23:09:36 +00:00
Vadim Zeitlin
da0ee16ef9 Use __DARWIN__ instead of __WXOSX__ in non-GUI code.
This fixes compilation of non-wxOSX ports (e.g. wxGTK) under OS X.

Also make the difference between the two symbols more clear in the
documentation.

Closes #14503.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-23 15:03:42 +00:00
Vadim Zeitlin
14b682f7c3 Increase version to 2.9.5.
Rebake all the project/make files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 23:51:44 +00:00
Vadim Zeitlin
b8c2e8e239 Also update the minimal GTK+ version in the introduction manual page.
And mention GTK+ 3 there too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-03 20:01:27 +00:00
Vadim Zeitlin
926f71030a Update the date in the manual before 2.9.4 release.
And mention the need to do it in the tech note for the next time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-03 19:59:56 +00:00
Paul Cornett
dc26e9846f add some mention of GTK3 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-02 15:56:47 +00:00
Vadim Zeitlin
c55488dfff Add skeleton documentation for wxAuiNotebook-related classes.
Closes #14386.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-30 23:41:23 +00:00
Vadim Zeitlin
34f5c1053a Update debugging macros overview in the docs.
Describe how the debugging macros really work since 2.9.1, i.e. explain
wxDEBUG_LEVEL and NDEBUG instead of __WXDEBUG__.

Closes #14435.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-30 16:33:14 +00:00
Vadim Zeitlin
b33e9f4031 Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support.
Compiler TLS support is broken under Win32/MSVC when used for a code which is
part of a dynamically loaded DLL, so allow disabling it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-17 21:34:47 +00:00
Robin Dunn
df30f9537b Allow the doxygen command to be used to be specified in the environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-13 23:20:08 +00:00
Vadim Zeitlin
9e0fc31c31 Remove non-existent section from Unicode overview TOC.
This section is now just a subsection, don't list it in the table of contents.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-20 13:08:35 +00:00
Stefan Csomor
c6b6ccd40a adjusting min requirements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-19 13:17:21 +00:00
Vadim Zeitlin
bf0f2c4b33 Disable the use of UTF-8 by default in Unix builds.
Add up-to-date description of UTF-8 support to the Unicode overview.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-13 13:17:25 +00:00
Vadim Zeitlin
386279c3f2 Improve wxWindow best size documentation, mention DoGetBestClientSize().
Custom classes should typically override DoGetBestClientSize() instead of
DoGetBestSize() to avoid having to deal with the borders.

Also don't reference the deprecated SetInitialBestSize() unnecessarily and
document its non-deprecated replacement.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-09 14:24:34 +00:00
Robin Dunn
e5e10e234e Remove the wxPython-only doc snippets from the C++ docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:27:44 +00:00
Vadim Zeitlin
2415cf6725 Remove support for MetroWerks CodeWarrior compiler.
This compiler doesn't exist any more and was probably unsupported even in 2.8,
let alone 2.9, so remove all the __MWERKS__ tests to simplify things.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-05 18:40:11 +00:00
Vadim Zeitlin
d98a58c543 Use __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit.
This change prepares the way for using wxGTK under Windows as this would
still define __WINDOWS__ but use __WXGTK__ instead of __WXMSW__.

Closes #14064.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:29:31 +00:00
Vadim Zeitlin
e709239889 Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.
Add a special symbol which is defined only if the icons and other images (e.g.
cursor) are in the separate resource files and don't need to be embedded as
XPMs in the main program.

This makes the checks more clear and more customizable as it's enough to
change wxHAS_IMAGES_IN_RESOURCES definition instead of changing many platform
checks.

Closes #14050.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:28:58 +00:00
Vadim Zeitlin
7eb02e44ba Recognize MSVC 11 instead of warning about unknown MSVC version.
Define __VISUALC11__ for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-29 22:40:24 +00:00
Robin Dunn
c0e5edf548 If WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This assumes that it is not a cygwin oxygen that is being run, if that's not the case then set WXWIDGETS before running regen.sh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-21 05:38:53 +00:00
Vadim Zeitlin
df1f2558e1 Mention __WIN64__ in the preprocessor defines documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-14 23:14:53 +00:00
Vadim Zeitlin
7d001b19ef Fix typo in wxSlider XRC format documentation.
"pagesize" was documented as line size, fix this.

Closes #13949.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-09 13:24:43 +00:00
Vadim Zeitlin
fe8aae41ab Fix the URL generated by Doxygen @sampledir macro.
"samples/" part of the URL was missing, add it.

Closes #13925.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-04 12:22:46 +00:00
Bryan Petty
8724973ada Added more conveniently placed 'List of All Members' link on all class doc pages in the header summary (using JS).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-25 06:39:53 +00:00
Dimitri Schoolwerth
2d143b6689 Removed ellipsis from "About..." occurrences.
MS and Apple guidelines mention ellipses should generally be used when a command needs additional information from the user before the operation can execute. This is not the case for showing an about dialog so the ellipses have been removed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-20 16:51:09 +00:00
Vadim Zeitlin
8def3e6ee3 Fix another typo in section names in the XRC overview.
Replace triple "t" with just a double one in "button".

See #13868.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 23:39:57 +00:00