Commit Graph

762 Commits

Author SHA1 Message Date
Vadim Zeitlin
036277a790 set mouse capture flag to false when releasing the mouse (bug 1049693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 08:31:50 +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
Robin Dunn
6636ac1ea9 Use Scintilla's functions for Unicode/UTF8 conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 02:27:22 +00:00
Robin Dunn
21131143d5 wxMDIChildFrame::IsTopLevel returns false but for this purpose we
should use the MDI Child, not it's parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 17:04:05 +00:00
Julian Smart
a65abcfdeb Increased a buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 13:29:48 +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
Robin Dunn
dc8005e206 TRUE/FALSE/etc. cleanup in the *.in files, regenerated the .h and .cpp
files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 23:36:33 +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
Robin Dunn
28e0c28ee3 On the Mac the Alt key is a character modifier like Shift, so let char
events with AltDown proceed into Scintilla.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 00:13:53 +00:00
Robin Dunn
5ee1d7604b Allow style spec strings to contain colour names as well as hex values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 21:17:01 +00:00
Robin Dunn
c13c38d484 Oops, forgot to remove some whitespace and to sort the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 20:40:24 +00:00
Robin Dunn
591d01beba Updated wxSTC's copy of Scintilla to version 1.61
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 20:29:49 +00:00
Włodzimierz Skiba
318c5e9fa5 Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord/wxNOT_FOUND, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 19:24:45 +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
2b2ba79b25 removed XRC library from contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 15:36:11 +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
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
b7ecdec5aa ISO C++ cast fix (patches #1024150 and #1024149).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 14:00:40 +00:00
Václav Slavík
c369d4f116 added all IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-05 19:19:41 +00:00
Václav Slavík
b3e8529208 wxArtProvider fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-04 13:23:57 +00:00
Robin Dunn
ee8bee6c8c Fixed incorrect clipping region on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 18:59:14 +00:00
Robin Dunn
36215a7071 rebaked, for addition of xh_tglbtn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:04:25 +00:00
Robin Dunn
4ac23d05f4 Add 3-state styles, and wxALIGN_RIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:02:19 +00:00
Julian Smart
3e2656801d Added wxToggleButton handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 18:24:05 +00:00
Julian Smart
85f138db83 Added wxToggleButton handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 07:53:21 +00:00
Robin Dunn
ffdf1b4903 wxScrolledWindow should allow the same styles as wxPanel, especially wxTAB_TRAVERSAL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:09:01 +00:00
Włodzimierz Skiba
db11ea905f Support for comma in contrib gizmo wxLEDNumberCtrl (patches #1006434, #1007063 with modifications).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 18:50:52 +00:00
Václav Slavík
6ea1280cb7 added wxListBox styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 22:24:21 +00:00
Václav Slavík
9dc579b3c5 all windows can use wxCLIP_CHILDREN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:37:49 +00:00
Robin Dunn
8ae4f08661 Set minsize and implement DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 18:11:30 +00:00
Robin Dunn
610c50a239 Convert EOLs in pasted or DnD'd text to match what is in the current document.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:40:26 +00:00
Włodzimierz Skiba
9cf662c492 GCC fixes: order of initializations, type casting, empty last lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 15:01:34 +00:00
Włodzimierz Skiba
f3ac19c289 Makefiles for foldbar contrib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 14:44:01 +00:00
Włodzimierz Skiba
f857e441bf Full headers, Unicode markup, whitespaces, wxID_ANY, wxDefaultCoord conventions applied with some warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 14:39:09 +00:00
Vadim Zeitlin
957f5ab77a added foldbar contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 11:18:36 +00:00
Włodzimierz Skiba
c7f8ebf848 wxUSE_STL fixes and suggested coding of -1/TRUE/FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 15:28:32 +00:00
Julian Smart
90dedfca12 Needs log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 20:17:15 +00:00
Václav Slavík
2c21838ef9 removed useless event handlers that were breaking focus handling in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 09:40:28 +00:00
Vadim Zeitlin
c2919ab326 added status bar fields styles support (patch 988292)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:13:52 +00:00
Vadim Zeitlin
fdaebb0520 GTK2 fixes (patch 966803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:10:42 +00:00
Włodzimierz Skiba
5e0dbc8dd9 wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:04:12 +00:00
Włodzimierz Skiba
36ca94a260 wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:07:59 +00:00
Włodzimierz Skiba
b02a6dc2b6 wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:51:13 +00:00
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Robin Dunn
81bfa5ae22 Handle terminating NULL correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:51:18 +00:00
Václav Slavík
648db587c4 added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 22:01:47 +00:00
Włodzimierz Skiba
1c9819e417 OpenWatcom warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 19:31:38 +00:00
Václav Slavík
adbf2d732f deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:58:06 +00:00
Włodzimierz Skiba
dea7e44a76 -1, TRUE/true, FALSE/false and tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 15:22:59 +00:00