Commit Graph

2799 Commits

Author SHA1 Message Date
Kevin Hock
34621cc5d6 Documentation patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Vadim Zeitlin
ea180b184a added missing header (fixes compilation with WXWIN_COMPATIBILITY_2_4 == 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:03:54 +00:00
David Elliott
b320510f98 Added some accelerators to the menu to help with stress testing wxSound:
Ctrl+O	Select WAV file
Ctrl+S	"Play sound synchronously"
Ctrl+A	"Play sound asynchronously"
Ctrl+T	"Play sound asynchronously (object on stack)" (T for temporary)
Ctrl+L	"Loop sound"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 19:24:14 +00:00
Vadim Zeitlin
af33b19957 wxStandardPaths test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:50:26 +00:00
David Elliott
0e3165d725 Rebaked (build/bakefiles/common.bkl 1.95->1.96 change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 17:02:37 +00:00
David Elliott
a5593369fc Add a second wxTaskBarIcon that uses the Dock (wxCocoa only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 02:15:48 +00:00
Włodzimierz Skiba
54e3a7c110 Do not waste time with OpenGL turned off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:09:43 +00:00
Vadim Zeitlin
806e2f154a give an #error if wxUSE_GLCANVAS == 0 instead of building empty samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 21:19:38 +00:00
Julian Smart
2978723799 Removed types that don't exist in iodbc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 10:10:27 +00:00
Włodzimierz Skiba
a6ebd5596e Fix for building with limited ports/platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 19:51:30 +00:00
Julian Smart
d66699e2d9 Added comment about setting AFM path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 14:54:11 +00:00
Julian Smart
9c2d002b3e Regenerated makefiles for 3rd-party lib change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 11:20:24 +00:00
Ryan Norton
ab921f5f80 bakefile time!! (Mainly stuff for wxCocoa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:35:53 +00:00
Julian Smart
fd76d9633a Applied patch [ 1039953 ] Fix notebook functionality in widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:38:48 +00:00
Włodzimierz Skiba
925e9792d3 Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
958d3a7e4b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:32:05 +00:00
Włodzimierz Skiba
c0c997853f Keys to some operations (patch #1037434).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:11:24 +00:00
Włodzimierz Skiba
8f6eaec925 Warning fixes to most detailed warning output of OpenWatcom. Tested under Borland, DigitalMars and MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:25:15 +00:00
Václav Slavík
749bfe9a6d compilation fixes for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 12:36:02 +00:00
David Elliott
509dcc4b80 wxCocoa needs OpenGL/*.h instead of GL/*.h (for OpenGL.framework includes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:26:19 +00:00
Václav Slavík
62b45e0694 gcc-3.4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 11:20:46 +00:00
Ryan Norton
cea9c5b1ba fix dialogs sample after change to generic on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 01:57:31 +00:00
Julian Smart
3614a8dc02 Deprecations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:13:38 +00:00
Ron Lee
7714864e2f Update the wx-config man page.
Remove some cruft from the docs package.
Bump version in configure.
Update aclocal.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:07:08 +00:00
Ryan Norton
1a6a834724 remove unfinished sample for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 08:20:14 +00:00
Ryan Norton
9795bd2ee4 drawer sample mods from ABX (with only one mod - _CODE Added to #define USE_DRAWER 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 04:28:42 +00:00
Włodzimierz Skiba
7e126a0784 Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord/wxNOT_FOUND.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 15:13:27 +00:00
Ryan Norton
71622a6899 use both generic and native on osx 10.2 for presentation purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 13:14:22 +00:00
Ryan Norton
c33fae85b0 Regen Bakefiles for OSX HID integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 06:53:08 +00:00
Ryan Norton
884a1216ae add drawer sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 15:34:39 +00:00
Ryan Norton
329fa15121 revert to pre-drawer state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 15:03:57 +00:00
Ryan Norton
801d040762 fix warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 14:28:21 +00:00
Ryan Norton
b32c4204bc add drawer to taskbaricontest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 10:51:46 +00:00
Ron Lee
a1bf307a46 Limit the influence of flavour more strictly to autoconf format.
Remove '-' and '.' from the $release tag for non autoconf platform.
This may like slightly finer tuning than that for some people.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 08:46:55 +00:00
Václav Slavík
232ba4c332 compilation fix: only us-ascii is safe in sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 18:56:33 +00:00
Ryan Norton
ae25e5cc8c Fixed GetLineLength and GetLineText for MLTE text controls - Fixed bug where it couldn't get the length or text of the first line (0) and sf bug 1030042 where subsequent lines to 0 would not include the first character. Added those tests to the text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 05:50:36 +00:00
Ryan Norton
47bde6fb00 remove unused icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 23:18:16 +00:00
Ryan Norton
162d656dfc fix unicode build errors with 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 23:14:01 +00:00
Ryan Norton
01edebd0fe fix bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 23:02:09 +00:00
Ryan Norton
ce709481a8 whoops - I tabbed :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 22:34:53 +00:00
Ryan Norton
d496416391 quiet annoying GCC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 22:27:55 +00:00
Włodzimierz Skiba
02161c7c81 wxUSE_*BOOK checks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 13:45:52 +00:00
Ron Lee
589e20d03c Move the WX_FLAVOUR variables to be defined generally, not just for
autoconf builds, else the wince targets (at least) will complain.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 15:08:33 +00:00
Włodzimierz Skiba
0837533260 Smartphone fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 11:56:48 +00:00
Ron Lee
ceec2216bd wx-config2.6
Designed to be resiliant against future cut and paste coders.  Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble.  In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs.  Functions now all have api
descriptions.  If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.

Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer.  Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future.  In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied.  If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested.  At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.

Removed references to --gl-libs in --help.  It still exists, but if
its deprecated, no need to fill space in a compact help summary.  It
will remain documented (as deprecated) in the man page.

Removed references to arcane order rules for arguments.  Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.

Removed references to --inplace, it doesn't need to be in the summary
help either.  It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly.  When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case).  If you do type it when you don't need it, bad things will
probably happen just like they always would have.

Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging.  If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.

Command line input is now controlled by a small generic parser.  You
define what options you want and what groups you want them in by
initialising them as lists.  It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.

Added a validator for it to check yes/no options.

Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.

Made --list more user friendly.  It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix.  Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called.  We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.

Delegation.  Too big a topic to remark on in depth here, see the code
for a fuller description.  With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified.  This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.

Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.

Added the inplace-config tweak for use in the build tree.  This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed.  It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with.  In that event, it will try to delegate as per the
normal rules.

The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs.  It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)

Enabled full support for static builds again, promoted --static to a
full feature option.  Fixed --ld to return something for them too.

Added --flavour, similar to the existing --vendor, but for autoconf
builds.  These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.

Fix bit rot in make-dist due to new/deleted files.

Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution.  Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about.  Remove extra files and symlinks added for the two
part wx-config version.

Removed the debian -contrib packages.  We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required.  This means the retained contribs will
now get __WXDEBUG__ versions packaged too.

Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.

Added support for flavoured debs as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00
Włodzimierz Skiba
79813ccaf8 XRC movement influenced depth of paths.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 10:18:38 +00:00
Vadim Zeitlin
494ab5def0 added test for toggling wxLC_[HV]RULES styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:01:00 +00:00
Vadim Zeitlin
e5544e77ec rewrote some sizer code using wxSizerFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 21:44:00 +00:00
Włodzimierz Skiba
9133965ef5 Notebook sample redesign. Now it is 'wxNotebook & friends' and presents wxChoicebook and wxListbook without need of recompilation. User interface moved from buttons to menus in order to work with limited devices (lack of button control in Smartphones). Added presentation of default orientation in controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 17:39:53 +00:00
Vadim Zeitlin
33ebfc3b9b made wxListbook events more consistent with wxNotebook ones (patch 1001271)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:14:34 +00:00