wxWidgets.git
16 years agoApplied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)
Stefan Neis [Sun, 28 Oct 2007 18:52:46 +0000 (18:52 +0000)] 
Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)

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

16 years agoOS/2 currently unsupported due to platform's insufficient Unicode support.
Stefan Neis [Sun, 28 Oct 2007 18:36:28 +0000 (18:36 +0000)] 
OS/2 currently unsupported due to platform's insufficient Unicode support.

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

16 years ago2.4 GTK fix as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93157
Chris Elliott [Sun, 28 Oct 2007 10:54:19 +0000 (10:54 +0000)] 
2.4 GTK fix as at thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93157

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

16 years agodefine wxTIFFHandler ctor in the .cpp file even if wxUSE_STREAMS==0 as it's declared...
Vadim Zeitlin [Sun, 28 Oct 2007 00:08:27 +0000 (00:08 +0000)] 
define wxTIFFHandler ctor in the .cpp file even if wxUSE_STREAMS==0 as it's declared in the header in this case (this doesn't really make much sense as the class is unusable anyhow but the other handlers do it like this so let's do the same thing here for consistency and maybe fix all of them at once later)

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

16 years agouse the same #if wxUSE_XXX checks in platform-specific files as around wxTextEntryBas...
Vadim Zeitlin [Sun, 28 Oct 2007 00:03:23 +0000 (00:03 +0000)] 
use the same #if wxUSE_XXX checks in platform-specific files as around wxTextEntryBase implementation

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

16 years agoreverted unrelated changes accidentally committed as part of r49411
Vadim Zeitlin [Sun, 28 Oct 2007 00:00:12 +0000 (00:00 +0000)] 
reverted unrelated changes accidentally committed as part of r49411

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

16 years agobuild fixes
Paul Cornett [Sat, 27 Oct 2007 22:24:35 +0000 (22:24 +0000)] 
build fixes

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

16 years agodon't delete uninitialized m_eventHandler pointer if initialization failed (patch...
Vadim Zeitlin [Sat, 27 Oct 2007 21:16:54 +0000 (21:16 +0000)] 
don't delete uninitialized m_eventHandler pointer if initialization failed (patch 1819944)

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

16 years agodon't include platform headers from public wx header
Paul Cornett [Sat, 27 Oct 2007 19:45:20 +0000 (19:45 +0000)] 
don't include platform headers from public wx header

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

16 years agocorrect access for virtuals
Paul Cornett [Sat, 27 Oct 2007 18:05:28 +0000 (18:05 +0000)] 
correct access for virtuals

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

16 years agofix memory leak in the usage example
Vadim Zeitlin [Sat, 27 Oct 2007 17:57:13 +0000 (17:57 +0000)] 
fix memory leak in the usage example

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

16 years agoImplementation of wxSysColourChangedEvent on wxGTK
Julian Smart [Sat, 27 Oct 2007 17:38:39 +0000 (17:38 +0000)] 
Implementation of wxSysColourChangedEvent on wxGTK

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

16 years agoSkip the event to allow further child processing
Julian Smart [Sat, 27 Oct 2007 17:37:54 +0000 (17:37 +0000)] 
Skip the event to allow further child processing
Don't change the background colour explicitly on wxGTK

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

16 years agoWarning fix
Julian Smart [Sat, 27 Oct 2007 17:35:45 +0000 (17:35 +0000)] 
Warning fix

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

16 years agowxSYS_COLOUR_WINDOW is no longer hard-wired in wxGTK
Julian Smart [Sat, 27 Oct 2007 17:00:40 +0000 (17:00 +0000)] 
wxSYS_COLOUR_WINDOW is no longer hard-wired in wxGTK
Added function to reset stored system colours

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

16 years agoFixed context menu in wxRichTextCtrl
Julian Smart [Sat, 27 Oct 2007 16:59:24 +0000 (16:59 +0000)] 
Fixed context menu in wxRichTextCtrl
Added colour change event handler to wxRichTextCtrl

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

16 years agoAdded wxVSCROLL to wxRichTextCtrls
Julian Smart [Sat, 27 Oct 2007 16:04:20 +0000 (16:04 +0000)] 
Added wxVSCROLL to wxRichTextCtrls

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

16 years agoanother DMC build fix http://www.digitalmars.com/pnews/read.php?server=news.digitalma...
Chris Elliott [Sat, 27 Oct 2007 13:24:29 +0000 (13:24 +0000)] 
another DMC build fix digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=c++.beta&artnum=684

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

16 years agoanother DMC build fix (http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155)
Chris Elliott [Sat, 27 Oct 2007 12:27:54 +0000 (12:27 +0000)] 
another DMC build fix (thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155)

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

16 years agoRemoved duplicates
Julian Smart [Sat, 27 Oct 2007 08:52:37 +0000 (08:52 +0000)] 
Removed duplicates

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

16 years agorefresh the item being collapsed when using comctl32.dll v6 as otherwise parts of...
Vadim Zeitlin [Fri, 26 Oct 2007 23:24:06 +0000 (23:24 +0000)] 
refresh the item being collapsed when using comctl32.dll v6 as otherwise parts of its selection rectangle may be left on screen

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

16 years agoreverted the change of r32940 which worked around a bug due to associating a dummy...
Vadim Zeitlin [Fri, 26 Oct 2007 22:53:26 +0000 (22:53 +0000)] 
reverted the change of r32940 which worked around a bug due to associating a dummy line with the root group, it's no longer necessary now that the root group line is always NULL

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

16 years agofix bug with adding entries to a root group containing only subgroups (as shown by...
Vadim Zeitlin [Fri, 26 Oct 2007 22:50:26 +0000 (22:50 +0000)] 
fix bug with adding entries to a root group containing only subgroups (as shown by new AddToExistingRoot() unit test)

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

16 years agoremove more references to wxODBC
Vadim Zeitlin [Fri, 26 Oct 2007 22:06:40 +0000 (22:06 +0000)] 
remove more references to wxODBC

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

16 years agoremoved isql.h and isqlext.h from files.bkl too
Vadim Zeitlin [Fri, 26 Oct 2007 22:00:11 +0000 (22:00 +0000)] 
removed isql.h and isqlext.h from files.bkl too

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

16 years agoPatch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor
Robin Dunn [Fri, 26 Oct 2007 21:33:52 +0000 (21:33 +0000)] 
Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor

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

16 years agoanother DMC build fix
Chris Elliott [Fri, 26 Oct 2007 19:12:10 +0000 (19:12 +0000)] 
another DMC build fix

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

16 years agoMove the %disownarg directive to the .i file
Robin Dunn [Fri, 26 Oct 2007 19:06:46 +0000 (19:06 +0000)] 
Move the %disownarg directive to the .i file

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

16 years agorevert calling static directly, its not always static
Paul Cornett [Fri, 26 Oct 2007 17:31:18 +0000 (17:31 +0000)] 
revert calling static directly, its not always static

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

16 years agoOmit contrib from build of trunk.
Michael Wetherell [Fri, 26 Oct 2007 13:23:33 +0000 (13:23 +0000)] 
Omit contrib from build of trunk.

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

16 years agoAdd FreeBSD trunk build.
Michael Wetherell [Fri, 26 Oct 2007 12:03:53 +0000 (12:03 +0000)] 
Add FreeBSD trunk build.

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

16 years agoAdded documentation for gtk.window.force-background-colour.
Julian Smart [Fri, 26 Oct 2007 10:47:17 +0000 (10:47 +0000)] 
Added documentation for gtk.window.force-background-colour.

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

16 years agoWorkaround for gtk-qt display bug
Julian Smart [Fri, 26 Oct 2007 10:25:04 +0000 (10:25 +0000)] 
Workaround for gtk-qt display bug

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

16 years agomake access for virtuals match base
Paul Cornett [Fri, 26 Oct 2007 06:20:23 +0000 (06:20 +0000)] 
make access for virtuals match base

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

16 years agouse class keyword to match forward decl, call static members directly
Paul Cornett [Fri, 26 Oct 2007 06:19:27 +0000 (06:19 +0000)] 
use class keyword to match forward decl, call static members directly

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

16 years agoallow including wx/crt.h first
Paul Cornett [Fri, 26 Oct 2007 06:19:08 +0000 (06:19 +0000)] 
allow including wx/crt.h first

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

16 years agoremoved dbbrowse demo from the makefiles
Vadim Zeitlin [Fri, 26 Oct 2007 00:08:43 +0000 (00:08 +0000)] 
removed dbbrowse demo from the makefiles

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

16 years agoremoved odbc from the libraries used by the console sample
Vadim Zeitlin [Fri, 26 Oct 2007 00:08:21 +0000 (00:08 +0000)] 
removed odbc from the libraries used by the console sample

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

16 years agoFix missing word 'test' causing 'yes' to run during configure on Solaris.
Michael Wetherell [Thu, 25 Oct 2007 22:43:57 +0000 (22:43 +0000)] 
Fix missing word 'test' causing 'yes' to run during configure on Solaris.

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

16 years agoLook for and remove any "-NSKey" "value" types of options from argv just like
David Elliott [Thu, 25 Oct 2007 18:01:36 +0000 (18:01 +0000)] 
Look for and remove any "-NSKey" "value" types of options from argv just like
the -psn_XXXX option is removed.  This allows Cocoa debug options like
-NSShowAllViews YES to be used as with any other Cocoa program.

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

16 years agoFixed bug in optimization for character input, affecting first paragraph in the buffer.
Julian Smart [Thu, 25 Oct 2007 16:13:47 +0000 (16:13 +0000)] 
Fixed bug in optimization for character input, affecting first paragraph in the buffer.

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

16 years agobuild fixes
Paul Cornett [Thu, 25 Oct 2007 16:13:06 +0000 (16:13 +0000)] 
build fixes

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

16 years agofix for scrolling wxSpinCtrl, broken by fix for scrolling wxStaticBox (rev 48550)
Paul Cornett [Thu, 25 Oct 2007 16:12:45 +0000 (16:12 +0000)] 
fix for scrolling wxSpinCtrl, broken by fix for scrolling wxStaticBox (rev 48550)

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

16 years agoNow uses the correct selection colours.
Julian Smart [Thu, 25 Oct 2007 14:53:07 +0000 (14:53 +0000)] 
Now uses the correct selection colours.

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

16 years agoFixed a style application bug inserting a newline other than after the end of a parag...
Julian Smart [Thu, 25 Oct 2007 14:41:21 +0000 (14:41 +0000)] 
Fixed a style application bug inserting a newline other than after the end of a paragraph.

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

16 years agofix png compile bug with DMC
Chris Elliott [Thu, 25 Oct 2007 13:24:49 +0000 (13:24 +0000)] 
fix png compile bug with DMC

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

16 years agofix compile bug with DMC
Chris Elliott [Thu, 25 Oct 2007 13:06:07 +0000 (13:06 +0000)] 
fix compile bug with DMC

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

16 years agoallow Borland 5.5 again
Chris Elliott [Thu, 25 Oct 2007 11:08:10 +0000 (11:08 +0000)] 
allow Borland 5.5 again

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

16 years agoremove extra ';'
Chris Elliott [Thu, 25 Oct 2007 11:04:43 +0000 (11:04 +0000)] 
remove extra ';'

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

16 years agochanges to Borland install/usage
Chris Elliott [Thu, 25 Oct 2007 10:48:50 +0000 (10:48 +0000)] 
changes to Borland install/usage

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

16 years agoalways delete the menus, even if the menu is attached (at the very least this fixes...
Vadim Zeitlin [Wed, 24 Oct 2007 23:41:45 +0000 (23:41 +0000)] 
always delete the menus, even if the menu is attached (at the very least this fixes Purify warnings)

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

16 years agorelease update region as soon as we finished painting the window instead of keeping...
Vadim Zeitlin [Wed, 24 Oct 2007 23:27:17 +0000 (23:27 +0000)] 
release update region as soon as we finished painting the window instead of keeping it indefinitely (bug 1819635)

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

16 years agouse LogLastRepetitionCountIfNeeded() instead of DoLogNumberOfRepeats() in logg.cpp too
Vadim Zeitlin [Wed, 24 Oct 2007 22:19:28 +0000 (22:19 +0000)] 
use LogLastRepetitionCountIfNeeded() instead of DoLogNumberOfRepeats() in logg.cpp too

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

16 years agoDon't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
David Elliott [Wed, 24 Oct 2007 21:43:36 +0000 (21:43 +0000)] 
Don't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
endianness definitions.  This allows any toolkit to be compiled universally
on OS X, not just wxMac.

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

16 years agoRemove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
David Elliott [Wed, 24 Oct 2007 21:03:53 +0000 (21:03 +0000)] 
Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block.  Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__.  That's fortunate since __POWERPC__ was defined
unconditionally in that case.  Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).

Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems.  In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.

Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.

Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.

Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.

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

16 years agomakefiels updated to reflect removal of db sample
Chris Elliott [Wed, 24 Oct 2007 19:42:40 +0000 (19:42 +0000)] 
makefiels updated to reflect removal of db sample

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

16 years agoUse a GtkVBox to do TLW layout. Rework some of the remaining sizing code.
Paul Cornett [Wed, 24 Oct 2007 18:07:24 +0000 (18:07 +0000)] 
Use a GtkVBox to do TLW layout. Rework some of the remaining sizing code.

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

16 years agoadd a critical section protecting ms_prev variables (replaces patch 1819224)
Vadim Zeitlin [Wed, 24 Oct 2007 17:59:53 +0000 (17:59 +0000)] 
add a critical section protecting ms_prev variables (replaces patch 1819224)

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

16 years agoslightly simplified wxLog repetition counting code
Vadim Zeitlin [Wed, 24 Oct 2007 17:55:29 +0000 (17:55 +0000)] 
slightly simplified wxLog repetition counting code

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

16 years agoSmall usability improvements
Julian Smart [Wed, 24 Oct 2007 14:21:08 +0000 (14:21 +0000)] 
Small usability improvements

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

16 years agoMade dialog captions more standard
Julian Smart [Wed, 24 Oct 2007 14:17:37 +0000 (14:17 +0000)] 
Made dialog captions more standard

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

16 years agofix off by 1 pixel error in header drawing (patch 1819260)
Vadim Zeitlin [Wed, 24 Oct 2007 13:37:15 +0000 (13:37 +0000)] 
fix off by 1 pixel error in header drawing (patch 1819260)

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

16 years agoDon't hide wrong border around header button control just to show the problem
Robert Roebling [Wed, 24 Oct 2007 08:14:49 +0000 (08:14 +0000)] 
Don't hide wrong border around header button control just to show the problem

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

16 years agonon-pch build fix
Paul Cornett [Wed, 24 Oct 2007 02:58:57 +0000 (02:58 +0000)] 
non-pch build fix

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

16 years agofixed another unused parameter warning
Vadim Zeitlin [Tue, 23 Oct 2007 23:02:39 +0000 (23:02 +0000)] 
fixed another unused parameter warning

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

16 years agoremoved a wrong WXUNUSED() from DoNavigateIn()
Vadim Zeitlin [Tue, 23 Oct 2007 23:02:19 +0000 (23:02 +0000)] 
removed a wrong WXUNUSED() from DoNavigateIn()

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

16 years agouse -Wunused-parameter with gcc for consistency with MSVC and other compilers which...
Vadim Zeitlin [Tue, 23 Oct 2007 22:19:34 +0000 (22:19 +0000)] 
use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK

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

16 years agoUse premultiplied alpha pixel format to match what is used everywhere else in wxMSW.
Robin Dunn [Tue, 23 Oct 2007 21:36:13 +0000 (21:36 +0000)] 
Use premultiplied alpha pixel format to match what is used everywhere else in wxMSW.

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

16 years agoAdd column to control after association with model (currently a requirement for wxMac)
Robert Roebling [Tue, 23 Oct 2007 21:11:48 +0000 (21:11 +0000)] 
Add column to control after association with model (currently a requirement for wxMac)

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

16 years agofix a couple more of unused parameters warnings
Vadim Zeitlin [Tue, 23 Oct 2007 20:59:50 +0000 (20:59 +0000)] 
fix a couple more of unused parameters warnings

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

16 years agoFactor out code to create a standard sized bitmap so it can be used in
Robin Dunn [Tue, 23 Oct 2007 18:26:41 +0000 (18:26 +0000)] 
Factor out code to create a standard sized bitmap so it can be used in
SetBitmapLabel too.

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

16 years agodo use vswprintf() with mingw32 if STLPort >= 5.1 is used (and not msvcrt which defin...
Vadim Zeitlin [Tue, 23 Oct 2007 18:20:44 +0000 (18:20 +0000)] 
do use vswprintf() with mingw32 if STLPort >= 5.1 is used (and not msvcrt which defines vswprintf() in a pre-standard way)

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

16 years agodon't compare initial slider position with uninitialized m_pos (modified patch 1818759)
Vadim Zeitlin [Tue, 23 Oct 2007 18:16:06 +0000 (18:16 +0000)] 
don't compare initial slider position with uninitialized m_pos (modified patch 1818759)

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

16 years agoimplement wxSYS_DCLICK_MSEC support
Vadim Zeitlin [Tue, 23 Oct 2007 16:11:12 +0000 (16:11 +0000)] 
implement wxSYS_DCLICK_MSEC support

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

16 years agoremove ODBC and DBgrid libraries
Vadim Zeitlin [Tue, 23 Oct 2007 13:40:27 +0000 (13:40 +0000)] 
remove ODBC and DBgrid libraries

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

16 years agoadded --prefix option which is useful when cross-building
Vadim Zeitlin [Tue, 23 Oct 2007 13:38:29 +0000 (13:38 +0000)] 
added --prefix option which is useful when cross-building

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

16 years agoSmall code cleanup
Julian Smart [Tue, 23 Oct 2007 13:35:26 +0000 (13:35 +0000)] 
Small code cleanup

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

16 years agoremove extraneous semicolons
Paul Cornett [Tue, 23 Oct 2007 07:27:12 +0000 (07:27 +0000)] 
remove extraneous semicolons

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

16 years agoGo back to my original idea of checking for EILSEQ and EINVAL and failing
David Elliott [Tue, 23 Oct 2007 03:30:16 +0000 (03:30 +0000)] 
Go back to my original idea of checking for EILSEQ and EINVAL and failing
immediately if either of those is set after wxVsnprintf call returns a
negative number to indicate some type of failure.

All other errno are assumed to simply mean that the buffer is undersized so
the platform C library function can set errno to anything it likes or simply
not set it at all and our code will keep trying to increase the buffer size
just as it did originally.

This should (hopefully) fix compilation with C libraries that only support
the most basic set of errors (of which EINVAL and EILSEQ are part).

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

16 years agoadded wxBG_STYLE_TRANSPARENT and implemented it for wxMac; documented various transpa...
Vadim Zeitlin [Mon, 22 Oct 2007 21:15:04 +0000 (21:15 +0000)] 
added wxBG_STYLE_TRANSPARENT and implemented it for wxMac; documented various transparency-related functions

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

16 years agofixing compilo
Stefan Csomor [Mon, 22 Oct 2007 20:11:51 +0000 (20:11 +0000)] 
fixing compilo

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

16 years agoAdded new line
Robert Roebling [Mon, 22 Oct 2007 18:13:27 +0000 (18:13 +0000)] 
Added new line

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

16 years agoPatch [ 1816051 ] MSW DrawEllipticArc inconsistent with other platforms
Robin Dunn [Mon, 22 Oct 2007 18:06:57 +0000 (18:06 +0000)] 
Patch [ 1816051 ] MSW DrawEllipticArc inconsistent with other platforms

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

16 years agoFurther attempts to get button header right
Robert Roebling [Mon, 22 Oct 2007 18:04:14 +0000 (18:04 +0000)] 
Further attempts to get button header right

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

16 years agoUse CommCtrl to render sortup and sortdown indicators in header control
Robert Roebling [Mon, 22 Oct 2007 17:39:53 +0000 (17:39 +0000)] 
Use CommCtrl to render sortup and sortdown indicators in header control

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

16 years agoadd HDF_SORTUP/DOWN definitions
Vadim Zeitlin [Mon, 22 Oct 2007 17:30:36 +0000 (17:30 +0000)] 
add HDF_SORTUP/DOWN definitions

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

16 years agoescape underscores introduced by the last change
Vadim Zeitlin [Mon, 22 Oct 2007 16:12:45 +0000 (16:12 +0000)] 
escape underscores introduced by the last change

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

16 years agoTrying to get native header button right
Robert Roebling [Mon, 22 Oct 2007 13:57:33 +0000 (13:57 +0000)] 
Trying to get native header button right

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

16 years agomoving os x config defaults
Stefan Csomor [Mon, 22 Oct 2007 13:07:48 +0000 (13:07 +0000)] 
moving os x config defaults

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

16 years agocalling SetFocus() in OnMouseUp() is unnecessary if we skip the event in OnMouseDown()
Vadim Zeitlin [Mon, 22 Oct 2007 11:35:19 +0000 (11:35 +0000)] 
calling SetFocus() in OnMouseUp() is unnecessary if we skip the event in OnMouseDown()

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

16 years agoremoved mention of inexistent file
Vadim Zeitlin [Mon, 22 Oct 2007 11:30:26 +0000 (11:30 +0000)] 
removed mention of inexistent file

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

16 years agocompilation fix for wxUSE_STL==1 after wxList methods changes
Vadim Zeitlin [Mon, 22 Oct 2007 11:27:13 +0000 (11:27 +0000)] 
compilation fix for wxUSE_STL==1 after wxList methods changes

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

16 years agoUse a private GtkCellRendererText for rendering text in a wxDataViewCustomRenderer
Robert Roebling [Mon, 22 Oct 2007 11:26:04 +0000 (11:26 +0000)] 
Use a private GtkCellRendererText for rendering text in a wxDataViewCustomRenderer

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

16 years agoCorrectly set item in wxDataViewRenderer::Activate()
Robert Roebling [Mon, 22 Oct 2007 10:40:45 +0000 (10:40 +0000)] 
Correctly set item in wxDataViewRenderer::Activate()

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

16 years agoremove deprecated and constructor and SetModal() methods
Robert Roebling [Mon, 22 Oct 2007 09:03:58 +0000 (09:03 +0000)] 
remove deprecated and constructor and SetModal() methods

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

16 years agoremove deprecated and constructor and SetModal() methods
Robert Roebling [Mon, 22 Oct 2007 08:59:26 +0000 (08:59 +0000)] 
remove deprecated and constructor and SetModal() methods

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

16 years agoupdate to 2.9.0
Chris Elliott [Mon, 22 Oct 2007 08:22:33 +0000 (08:22 +0000)] 
update to 2.9.0

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

16 years agocorrect file path
Chris Elliott [Mon, 22 Oct 2007 08:22:03 +0000 (08:22 +0000)] 
correct file path

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

16 years agoupdate to 2.9
Chris Elliott [Mon, 22 Oct 2007 08:19:58 +0000 (08:19 +0000)] 
update to 2.9

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

16 years agoupdate to 2.9
Chris Elliott [Mon, 22 Oct 2007 08:15:59 +0000 (08:15 +0000)] 
update to 2.9

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