]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
20 years agoplug memory leak
Robin Dunn [Thu, 23 Sep 2004 00:53:30 +0000 (00:53 +0000)] 
plug memory leak

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

20 years agoFixes for bug #1031151 and #1031239
Robin Dunn [Thu, 23 Sep 2004 00:43:47 +0000 (00:43 +0000)] 
Fixes for bug #1031151 and #1031239

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

20 years agowxUSE_XML and wxUSE_XRC build fixes if expat is not enabled
Ryan Norton [Wed, 22 Sep 2004 21:23:46 +0000 (21:23 +0000)] 
wxUSE_XML and wxUSE_XRC build fixes if expat is not enabled

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

20 years ago Small fix for tabbing into wxListBox.
Robert Roebling [Wed, 22 Sep 2004 20:57:09 +0000 (20:57 +0000)] 
  Small fix for tabbing into wxListBox.

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

20 years agoOnly include/build pnghand if the user builds the png library (avoids multiple build...
Ryan Norton [Wed, 22 Sep 2004 20:47:23 +0000 (20:47 +0000)] 
Only include/build pnghand if the user builds the png library (avoids multiple build errors)

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

20 years agoFix aggregate has a partly bracketed Unmatched initializer warnings - which means...
Ryan Norton [Wed, 22 Sep 2004 20:30:58 +0000 (20:30 +0000)] 
Fix aggregate has a partly bracketed Unmatched initializer warnings - which means that the compiler can't figure out which types the initializer list refers to - so now we're telling the compiler that the first and second 16 values do refer to the Bit16s and the last two values refer to the Point part of Cursor

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

20 years agoInstall the config files for cross debs under /usr/$(host), but link them
Ron Lee [Wed, 22 Sep 2004 20:29:51 +0000 (20:29 +0000)] 
Install the config files for cross debs under /usr/$(host), but link them
to the default system location under /usr.  This way the commands:
wx-config --prefix=/usr/$(host) and wx-config --prefix=/usr --host=$(host)
are much more congruent in their action.

Another nail in the coffin for inplace hacks.  Link $srcdir/include to
the build dir so that --prefix=$build_dir really does point to a
realistic looking installed development environment.  I don't know why
I didn't do this instead of (ab)using --exec-prefix to 'fix' this
simple omission for so long.  Probably because it is much more obvious
if contrib is out of the picture.  That makes it a little more work
right now, but long term this is a very clean and correct thing to do.
It completely absolves us of the two independent variables problem,
and of the tree becoming bogus without actually being stale.

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

20 years agoMove the WX_FLAVOUR variables to be defined generally, not just for
Ron Lee [Wed, 22 Sep 2004 15:08:33 +0000 (15:08 +0000)] 
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

20 years ago Make radiobutton tab behaviour the same on MSW
Robert Roebling [Wed, 22 Sep 2004 14:51:31 +0000 (14:51 +0000)] 
  Make radiobutton tab behaviour the same on MSW
    as in standard MSW app, i.e. tab into the
    activated, not necessarily the first radio
    button.

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

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

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

20 years agoSmartphone fix.
Włodzimierz Skiba [Wed, 22 Sep 2004 11:56:48 +0000 (11:56 +0000)] 
Smartphone fix.

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

20 years agoMissed labels to replace number of 'topicNNN' in anchors. Consistent use of -dtor...
Włodzimierz Skiba [Wed, 22 Sep 2004 10:59:57 +0000 (10:59 +0000)] 
Missed labels to replace number of 'topicNNN' in anchors. Consistent use of -dtor/-ctor addition in anchors.

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

20 years agoscript for nightly builds
Chris Elliott [Wed, 22 Sep 2004 10:02:08 +0000 (10:02 +0000)] 
script for nightly builds

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

20 years ago Committing in .
Jouk Jansen [Wed, 22 Sep 2004 06:29:21 +0000 (06:29 +0000)] 
 Committing in .

 Changes to make compilations on OpenVMS work:
    displayx11.h : one semicolon removed, since it is not needed
    progdlgg.cpp : On some systems (like OpenVMS) unsigned types are realy
                   unsigned. So a comparison unsigned_var < 0 is always
                   false and causes unreacheable code, which is flagged
                   by the compiler. In this case a change from unsigned long
                   to long was more what was intended here.
 Modified Files:
  wxWidgets/include/wx/unix/displayx11.h
  wxWidgets/src/generic/progdlgg.cpp
 ----------------------------------------------------------------------

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

20 years agoCorrect #if markup to spin-based controls handling.
Włodzimierz Skiba [Wed, 22 Sep 2004 06:22:34 +0000 (06:22 +0000)] 
Correct #if markup to spin-based controls handling.

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

20 years agoWXUNUSED_UNLESS_ODRAWN does not reflect wxUSE_MENUS_NATIVE.
Włodzimierz Skiba [Wed, 22 Sep 2004 06:20:42 +0000 (06:20 +0000)] 
WXUNUSED_UNLESS_ODRAWN does not reflect wxUSE_MENUS_NATIVE.

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

20 years agoWarning fix to unused variable.
Włodzimierz Skiba [Wed, 22 Sep 2004 06:18:05 +0000 (06:18 +0000)] 
Warning fix to unused variable.

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

20 years agoAdjustement to the small display of Smartphones.
Włodzimierz Skiba [Wed, 22 Sep 2004 06:17:07 +0000 (06:17 +0000)] 
Adjustement to the small display of Smartphones.

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

20 years agowxrc impossible on WinCE.
Włodzimierz Skiba [Wed, 22 Sep 2004 06:10:49 +0000 (06:10 +0000)] 
wxrc impossible on WinCE.

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

20 years agoFilter out the 'std' pseudo-lib from monolithic builds too.
Ron Lee [Tue, 21 Sep 2004 23:46:54 +0000 (23:46 +0000)] 
Filter out the 'std' pseudo-lib from monolithic builds too.

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

20 years agoBump subrelease to 2.5.2.9.
Robin Dunn [Tue, 21 Sep 2004 22:30:09 +0000 (22:30 +0000)] 
Bump subrelease to 2.5.2.9.

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

20 years agoAdd xrc to the dist target.
Ron Lee [Tue, 21 Sep 2004 21:54:57 +0000 (21:54 +0000)] 
Add xrc to the dist target.
Bump subrelease to 2.5.2.9.

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

20 years agoupdate from Petri Jooste for 2.5.2
Vadim Zeitlin [Tue, 21 Sep 2004 21:21:50 +0000 (21:21 +0000)] 
update from Petri Jooste for 2.5.2

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

20 years agoSource cleaning: whitespaces, tabs, -1/wxNOT_FOUND, TRUE/true, FALSE/false.
Włodzimierz Skiba [Tue, 21 Sep 2004 18:15:59 +0000 (18:15 +0000)] 
Source cleaning: whitespaces, tabs, -1/wxNOT_FOUND, TRUE/true, FALSE/false.

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

20 years agoFix registered location of docs.
Ron Lee [Tue, 21 Sep 2004 17:58:23 +0000 (17:58 +0000)] 
Fix registered location of docs.

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

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