]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
20 years agowx-config2.6
Ron Lee [Tue, 21 Sep 2004 17:16:29 +0000 (17:16 +0000)] 
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

20 years agoMissed labels to replace number of 'topicNNN' in anchors.
Włodzimierz Skiba [Tue, 21 Sep 2004 13:24:41 +0000 (13:24 +0000)] 
Missed labels to replace number of 'topicNNN' in anchors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofix for gtk/mdi when changing menubars
Chris Elliott [Tue, 21 Sep 2004 11:34:38 +0000 (11:34 +0000)] 
fix for gtk/mdi when changing menubars

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoXRC movement influenced depth of paths.
Włodzimierz Skiba [Tue, 21 Sep 2004 10:18:38 +0000 (10:18 +0000)] 
XRC movement influenced depth of paths.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoXRC library usage fix.
Włodzimierz Skiba [Tue, 21 Sep 2004 10:11:43 +0000 (10:11 +0000)] 
XRC library usage fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoSmartphone fix.
Włodzimierz Skiba [Tue, 21 Sep 2004 09:08:52 +0000 (09:08 +0000)] 
Smartphone fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoWinCE warning fix.
Włodzimierz Skiba [Tue, 21 Sep 2004 09:03:26 +0000 (09:03 +0000)] 
WinCE warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoving XRC to the core
Václav Slavík [Mon, 20 Sep 2004 19:30:20 +0000 (19:30 +0000)] 
moving XRC to the core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoving XRC to the core
Václav Slavík [Mon, 20 Sep 2004 19:15:54 +0000 (19:15 +0000)] 
moving XRC to the core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoving XRC to the core
Václav Slavík [Mon, 20 Sep 2004 18:41:19 +0000 (18:41 +0000)] 
moving XRC to the core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoSource cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE...
Włodzimierz Skiba [Mon, 20 Sep 2004 11:31:49 +0000 (11:31 +0000)] 
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoMissed labels to replace number of 'topicNNN' in anchors.
Włodzimierz Skiba [Mon, 20 Sep 2004 11:21:04 +0000 (11:21 +0000)] 
Missed labels to replace number of 'topicNNN' in anchors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded unit tests for wxStringStreams
Vadim Zeitlin [Sun, 19 Sep 2004 22:00:16 +0000 (22:00 +0000)] 
added unit tests for wxStringStreams

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed include header name
Vadim Zeitlin [Sun, 19 Sep 2004 21:59:35 +0000 (21:59 +0000)] 
fixed include header name

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded wxStringOutputStream::TellO(); fixed bugs in OnSysWrite()
Vadim Zeitlin [Sun, 19 Sep 2004 21:58:50 +0000 (21:58 +0000)] 
added wxStringOutputStream::TellO(); fixed bugs in OnSysWrite()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed bug with seeking beyond the end in wxStringInputStream::OnSysSeek() triggered...
Vadim Zeitlin [Sun, 19 Sep 2004 21:49:41 +0000 (21:49 +0000)] 
fixed bug with seeking beyond the end in wxStringInputStream::OnSysSeek() triggered by unit test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomade wxStringInputStream::GetSize() public instead of protected
Vadim Zeitlin [Sun, 19 Sep 2004 21:35:26 +0000 (21:35 +0000)] 
made wxStringInputStream::GetSize() public instead of protected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded wxStringStream classes
Vadim Zeitlin [Sun, 19 Sep 2004 21:26:45 +0000 (21:26 +0000)] 
added wxStringStream classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoCorrection for GTK+1
Julian Smart [Sun, 19 Sep 2004 17:20:50 +0000 (17:20 +0000)] 
Correction for GTK+1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoGDK_WINDOW_TYPE_HINT_SPLASHSCREEN not available in GTK+ 2.0
Julian Smart [Sun, 19 Sep 2004 16:08:05 +0000 (16:08 +0000)] 
GDK_WINDOW_TYPE_HINT_SPLASHSCREEN not available in GTK+ 2.0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agocompilation fix for Borland
Vadim Zeitlin [Sun, 19 Sep 2004 13:17:02 +0000 (13:17 +0000)] 
compilation fix for Borland

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agorebaked to include latest modifications (mainly choicebkg addition)
Vadim Zeitlin [Sun, 19 Sep 2004 12:05:11 +0000 (12:05 +0000)] 
rebaked to include latest modifications (mainly choicebkg addition)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoApplied patch #1023777 (Notebook initialisation).
Stefan Neis [Sun, 19 Sep 2004 12:03:52 +0000 (12:03 +0000)] 
Applied patch #1023777 (Notebook initialisation).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agodon't crash under GTK1 if we failed to get GdkFont in GetTextExtent()
Vadim Zeitlin [Sun, 19 Sep 2004 10:55:51 +0000 (10:55 +0000)] 
don't crash under GTK1 if we failed to get GdkFont in GetTextExtent()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded missing header to fix !USE_PCH compilation
Vadim Zeitlin [Sun, 19 Sep 2004 10:08:24 +0000 (10:08 +0000)] 
added missing header to fix !USE_PCH compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoAdded wx.Choicebook
Robin Dunn [Sat, 18 Sep 2004 23:51:14 +0000 (23:51 +0000)] 
Added wx.Choicebook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoMemoryFSHandler_AddFile updates
Robin Dunn [Sat, 18 Sep 2004 23:13:21 +0000 (23:13 +0000)] 
MemoryFSHandler_AddFile updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoGetthe GIL before raisign an exception
Robin Dunn [Sat, 18 Sep 2004 23:12:24 +0000 (23:12 +0000)] 
Getthe GIL before raisign an exception

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoAdded bin selection
Robin Dunn [Sat, 18 Sep 2004 23:11:47 +0000 (23:11 +0000)] 
Added bin selection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agodocstring tweaks
Robin Dunn [Sat, 18 Sep 2004 23:11:02 +0000 (23:11 +0000)] 
docstring tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomention that Check() doesn't work before the item is attached to a menu
Vadim Zeitlin [Sat, 18 Sep 2004 21:54:00 +0000 (21:54 +0000)] 
mention that Check() doesn't work before the item is attached to a menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoUnicode compilation fix
Robin Dunn [Sat, 18 Sep 2004 20:14:56 +0000 (20:14 +0000)] 
Unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agokeep m_value in sync with real combobox value (set it initially and update it correct...
Vadim Zeitlin [Sat, 18 Sep 2004 19:51:39 +0000 (19:51 +0000)] 
keep m_value in sync with real combobox value (set it initially and update it correctly in CBN_EDITCHANGE handler)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoUse line.Draw(dc) instead of line.GetEventHandler().Draw(dc)
Robin Dunn [Sat, 18 Sep 2004 17:33:07 +0000 (17:33 +0000)] 
Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoPoint x,y fixes from Pierre
Robin Dunn [Sat, 18 Sep 2004 17:21:57 +0000 (17:21 +0000)] 
Point x,y fixes from Pierre

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded wxSizerItem::Init()
Vadim Zeitlin [Sat, 18 Sep 2004 14:29:15 +0000 (14:29 +0000)] 
added wxSizerItem::Init()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoactive mode support for wxFTP (extremely heavily modified patch 1006252)
Vadim Zeitlin [Sat, 18 Sep 2004 14:24:49 +0000 (14:24 +0000)] 
active mode support for wxFTP (extremely heavily modified patch 1006252)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agooops, compilation fix after moving code around
Vadim Zeitlin [Sat, 18 Sep 2004 14:23:13 +0000 (14:23 +0000)] 
oops, compilation fix after moving code around

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agouse 4K buffer instead of reading characters one by one in ReadLine()
Vadim Zeitlin [Sat, 18 Sep 2004 14:21:56 +0000 (14:21 +0000)] 
use 4K buffer instead of reading characters one by one in ReadLine()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofix compile break for unknown FLASHWINFO
Chris Elliott [Sat, 18 Sep 2004 14:16:37 +0000 (14:16 +0000)] 
fix compile break for unknown FLASHWINFO

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoving XRC to the core
Václav Slavík [Sat, 18 Sep 2004 13:21:57 +0000 (13:21 +0000)] 
moving XRC to the core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed corrupted file, checked in as text file now
Václav Slavík [Sat, 18 Sep 2004 13:03:32 +0000 (13:03 +0000)] 
fixed corrupted file, checked in as text file now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoremoved unneeded (after patch 1027243) disable.bmp
Vadim Zeitlin [Sat, 18 Sep 2004 12:36:59 +0000 (12:36 +0000)] 
removed unneeded (after patch 1027243) disable.bmp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoconstruct brush used for painting disabled bitmap buttons dynamically (heavily modifi...
Vadim Zeitlin [Sat, 18 Sep 2004 12:34:45 +0000 (12:34 +0000)] 
construct brush used for painting disabled bitmap buttons dynamically (heavily modified patch 1027243)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed crash when closing window that contains STC (patch 1017268)
Vadim Zeitlin [Sat, 18 Sep 2004 12:09:12 +0000 (12:09 +0000)] 
fixed crash when closing window that contains STC (patch 1017268)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed signature of wxTimerProc to be conformant to what Windows expects it to be
Vadim Zeitlin [Sat, 18 Sep 2004 11:54:21 +0000 (11:54 +0000)] 
fixed signature of wxTimerProc to be conformant to what Windows expects it to be

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoved GTK headers needed by wxUniv to GTK_LOWLEVEL_HDR from GTK_HDR (should fix 1016249)
Vadim Zeitlin [Sat, 18 Sep 2004 11:34:52 +0000 (11:34 +0000)] 
moved GTK headers needed by wxUniv to GTK_LOWLEVEL_HDR from GTK_HDR (should fix 1016249)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed SetWindowStyleFlag() to not remove WS_VISIBLE; also refresh the control automat...
Vadim Zeitlin [Sat, 18 Sep 2004 11:03:24 +0000 (11:03 +0000)] 
fixed SetWindowStyleFlag() to not remove WS_VISIBLE; also refresh the control automatically (closes bug 1019440)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded test for toggling wxLC_[HV]RULES styles
Vadim Zeitlin [Sat, 18 Sep 2004 11:01:00 +0000 (11:01 +0000)] 
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

20 years agocompilation fix
Vadim Zeitlin [Sat, 18 Sep 2004 09:59:01 +0000 (09:59 +0000)] 
compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded GetMenu() (closes bug 1026662)
Vadim Zeitlin [Sat, 18 Sep 2004 09:53:20 +0000 (09:53 +0000)] 
added GetMenu() (closes bug 1026662)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoreplaced wxLogLastError with an assert when checking an item not attached to a menu...
Vadim Zeitlin [Sat, 18 Sep 2004 09:46:02 +0000 (09:46 +0000)] 
replaced wxLogLastError with an assert when checking an item not attached to a menu (see bug 1030141)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agocompilation fix
Vadim Zeitlin [Sat, 18 Sep 2004 09:27:11 +0000 (09:27 +0000)] 
compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoving XRC to the core
Václav Slavík [Sat, 18 Sep 2004 08:53:16 +0000 (08:53 +0000)] 
moving XRC to the core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomoving XRC to the core
Václav Slavík [Sat, 18 Sep 2004 08:19:33 +0000 (08:19 +0000)] 
moving XRC to the core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoSource cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxID_ANY/wxNOT_FOUND, TRUE...
Włodzimierz Skiba [Fri, 17 Sep 2004 22:23:59 +0000 (22:23 +0000)] 
Source cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxID_ANY/wxNOT_FOUND, TRUE/true, FALSE/false.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded possibility to specify printer bin (patch 910272)
Vadim Zeitlin [Fri, 17 Sep 2004 22:20:10 +0000 (22:20 +0000)] 
added possibility to specify printer bin (patch 910272)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agodo not call CopyIcon() in CloneRefData(), HICON is going to be overwritten or invalid...
Vadim Zeitlin [Fri, 17 Sep 2004 22:09:23 +0000 (22:09 +0000)] 
do not call CopyIcon() in CloneRefData(), HICON is going to be overwritten or invalidated anyhow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agorewrote some sizer code using wxSizerFlags
Vadim Zeitlin [Fri, 17 Sep 2004 21:44:00 +0000 (21:44 +0000)] 
rewrote some sizer code using wxSizerFlags

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded wxSizerFlags
Vadim Zeitlin [Fri, 17 Sep 2004 21:42:38 +0000 (21:42 +0000)] 
added wxSizerFlags

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agocompilation fix for wxUSE_THREADS == 0 && __WXDEBUG__ (replaces patch 1025268)
Vadim Zeitlin [Fri, 17 Sep 2004 19:26:32 +0000 (19:26 +0000)] 
compilation fix for wxUSE_THREADS == 0 && __WXDEBUG__ (replaces patch 1025268)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed rounding errors in variable status bar panes widths computation (patch 1030021)
Vadim Zeitlin [Fri, 17 Sep 2004 19:12:41 +0000 (19:12 +0000)] 
fixed rounding errors in variable status bar panes widths computation (patch 1030021)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoNotebook sample redesign. Now it is 'wxNotebook & friends' and presents wxChoicebook...
Włodzimierz Skiba [Fri, 17 Sep 2004 18:20:08 +0000 (18:20 +0000)] 
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@29178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoSource cleaning: whitespaces, -1/wxID_ANY/wxNOT_FOUND, TRUE/true, FALSE/false.
Włodzimierz Skiba [Fri, 17 Sep 2004 17:57:44 +0000 (17:57 +0000)] 
Source cleaning: whitespaces, -1/wxID_ANY/wxNOT_FOUND, TRUE/true, FALSE/false.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoNotebook sample redesign. Now it is 'wxNotebook & friends' and presents wxChoicebook...
Włodzimierz Skiba [Fri, 17 Sep 2004 17:39:53 +0000 (17:39 +0000)] 
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

20 years agowxChoicebook follows wxListBook internal changes. Styles centralized for all wxBookCtrls.
Włodzimierz Skiba [Fri, 17 Sep 2004 17:24:34 +0000 (17:24 +0000)] 
wxChoicebook follows wxListBook internal changes. Styles centralized for all wxBookCtrls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoCorrect indentation and Snap calls
Robin Dunn [Fri, 17 Sep 2004 15:29:43 +0000 (15:29 +0000)] 
Correct indentation and Snap calls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoAppend --> append
Robin Dunn [Fri, 17 Sep 2004 15:27:38 +0000 (15:27 +0000)] 
Append --> append

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomade all Add/Insert/Prepend methods inline
Vadim Zeitlin [Fri, 17 Sep 2004 15:06:53 +0000 (15:06 +0000)] 
made all Add/Insert/Prepend methods inline

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoforward all wxSizer::Add/Prepend/Insert() to a virtual Insert(wxSizerItem) function...
Vadim Zeitlin [Fri, 17 Sep 2004 13:25:20 +0000 (13:25 +0000)] 
forward all wxSizer::Add/Prepend/Insert() to a virtual Insert(wxSizerItem) function, all the others made non virtual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed gcc warnings about not calling base class ctor explicitly in copy ctors (patch...
Vadim Zeitlin [Thu, 16 Sep 2004 22:36:12 +0000 (22:36 +0000)] 
fixed gcc warnings about not calling base class ctor explicitly in copy ctors (patch 1028986)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofix for crash on 64 bit platforms (patch 1028942)
Vadim Zeitlin [Thu, 16 Sep 2004 22:34:09 +0000 (22:34 +0000)] 
fix for crash on 64 bit platforms (patch 1028942)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agouse wxFputs(), not fputs(), in Unicode mode under Unix too (modified patch 1017940)
Vadim Zeitlin [Thu, 16 Sep 2004 22:31:18 +0000 (22:31 +0000)] 
use wxFputs(), not fputs(), in Unicode mode under Unix too (modified patch 1017940)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agodon't force __WXMOTIF__ definition under HP-UX (patch 1017801)
Vadim Zeitlin [Thu, 16 Sep 2004 22:27:09 +0000 (22:27 +0000)] 
don't force __WXMOTIF__ definition under HP-UX (patch 1017801)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomake the label window visible (patch 1013447)
Vadim Zeitlin [Thu, 16 Sep 2004 22:25:02 +0000 (22:25 +0000)] 
make the label window visible (patch 1013447)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomade wxListbook events more consistent with wxNotebook ones (patch 1001271)
Vadim Zeitlin [Thu, 16 Sep 2004 22:14:34 +0000 (22:14 +0000)] 
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

20 years agofix for wxJoystick when not calling SetCapture() (patch 1000685)
Vadim Zeitlin [Thu, 16 Sep 2004 22:10:34 +0000 (22:10 +0000)] 
fix for wxJoystick when not calling SetCapture() (patch 1000685)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agodon't assert if Update(m_maximum) is called twice (replaces patch 995186)
Vadim Zeitlin [Thu, 16 Sep 2004 22:06:55 +0000 (22:06 +0000)] 
don't assert if Update(m_maximum) is called twice (replaces patch 995186)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agosmoother time estimation updates in wxProgressDialog (patch 992813)
Vadim Zeitlin [Thu, 16 Sep 2004 22:04:38 +0000 (22:04 +0000)] 
smoother time estimation updates in wxProgressDialog (patch 992813)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomore 'realistic' progress dialog test (part of patch 992813)
Vadim Zeitlin [Thu, 16 Sep 2004 21:57:17 +0000 (21:57 +0000)] 
more 'realistic' progress dialog test (part of patch 992813)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agospelling fix
Vadim Zeitlin [Thu, 16 Sep 2004 21:23:00 +0000 (21:23 +0000)] 
spelling fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agomention that read_write mode doesn't work for standalone buffers
Vadim Zeitlin [Thu, 16 Sep 2004 20:51:50 +0000 (20:51 +0000)] 
mention that read_write mode doesn't work for standalone buffers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoA change similar to that in Bug #837902 to correct minsize calc for
Robin Dunn [Thu, 16 Sep 2004 20:15:17 +0000 (20:15 +0000)] 
A change similar to that in Bug #837902 to correct minsize calc for
window2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixes for harmless mingw32 warnings
Vadim Zeitlin [Thu, 16 Sep 2004 18:50:48 +0000 (18:50 +0000)] 
fixes for harmless mingw32 warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoDescription of the 'generic dialogs in native builds' application.
Włodzimierz Skiba [Thu, 16 Sep 2004 18:35:43 +0000 (18:35 +0000)] 
Description of the 'generic dialogs in native builds' application.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoSource cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxNOT_FOUND, TRUE/true, FALSE...
Włodzimierz Skiba [Thu, 16 Sep 2004 18:13:32 +0000 (18:13 +0000)] 
Source cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxNOT_FOUND, TRUE/true, FALSE/false, !!/!IsEmpty().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoReverted wxMGL/OpenWatcom fix until some difficoulties will not be solved.
Włodzimierz Skiba [Thu, 16 Sep 2004 17:44:29 +0000 (17:44 +0000)] 
Reverted wxMGL/OpenWatcom fix until some difficoulties will not be solved.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoWarning fix (unused value assignment).
Włodzimierz Skiba [Thu, 16 Sep 2004 16:44:30 +0000 (16:44 +0000)] 
Warning fix (unused value assignment).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoMissed labels to replace number of 'topicNNN' with readable filenames in tex2rtf...
Włodzimierz Skiba [Thu, 16 Sep 2004 16:36:40 +0000 (16:36 +0000)] 
Missed labels to replace number of 'topicNNN' with readable filenames in tex2rtf output.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoUsing != doesn't work for bakefile, I don't know what does, or what this
Ron Lee [Thu, 16 Sep 2004 16:02:52 +0000 (16:02 +0000)] 
Using != doesn't work for bakefile, I don't know what does, or what this
change really wanted to achieve, but its been broken for a couple of days
now.  Back to you ABX for a real fix.  But please install bakefile if you
are going to tweak these files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoCorrections to frame/tlw references.
Włodzimierz Skiba [Thu, 16 Sep 2004 15:42:40 +0000 (15:42 +0000)] 
Corrections to frame/tlw references.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agowxChoicebook generic implementation.
Włodzimierz Skiba [Thu, 16 Sep 2004 15:13:52 +0000 (15:13 +0000)] 
wxChoicebook generic implementation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agowxChoicebook generic implementation.
Włodzimierz Skiba [Thu, 16 Sep 2004 11:29:15 +0000 (11:29 +0000)] 
wxChoicebook generic implementation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed sending duplicate EVT_COMBOBOX events; documented that GetValue() returns new...
Vadim Zeitlin [Wed, 15 Sep 2004 23:07:15 +0000 (23:07 +0000)] 
fixed sending duplicate EVT_COMBOBOX events; documented that GetValue() returns new value when called from EVT_COMBOBOX handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoadded tests for EVT_ICONIZE/MAXIMIZE
Vadim Zeitlin [Wed, 15 Sep 2004 22:36:01 +0000 (22:36 +0000)] 
added tests for EVT_ICONIZE/MAXIMIZE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed wxMaximizeEvent generation
Vadim Zeitlin [Wed, 15 Sep 2004 22:14:05 +0000 (22:14 +0000)] 
fixed wxMaximizeEvent generation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agoISO C++ cast fix (patches #1024150 and #1024149).
Włodzimierz Skiba [Wed, 15 Sep 2004 14:00:40 +0000 (14:00 +0000)] 
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

20 years agoSource cleaning: whitespaces, tabs, FALSE/false, TRUE/true, -1/wxDefaultCoord, !...
Włodzimierz Skiba [Wed, 15 Sep 2004 13:20:18 +0000 (13:20 +0000)] 
Source cleaning: whitespaces, tabs, FALSE/false, TRUE/true, -1/wxDefaultCoord, !!/!IsEmpty().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agofixed base classes; also added include file section
Vadim Zeitlin [Tue, 14 Sep 2004 17:33:26 +0000 (17:33 +0000)] 
fixed base classes; also added include file section

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 years agooutput "GTK+ 2" toolkit for gtk2 builds
Vadim Zeitlin [Tue, 14 Sep 2004 15:33:07 +0000 (15:33 +0000)] 
output "GTK+ 2" toolkit for gtk2 builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775