wxWidgets.git
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

16 years agobetter appearance on mac w/o sunken border
Stefan Csomor [Mon, 22 Oct 2007 08:13:51 +0000 (08:13 +0000)] 
better appearance on mac w/o sunken border

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

16 years agochecked locations between 2.8 and 2.9
Chris Elliott [Mon, 22 Oct 2007 08:08:48 +0000 (08:08 +0000)] 
checked locations between 2.8 and 2.9

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

16 years agoxcode adaptions
Stefan Csomor [Mon, 22 Oct 2007 08:00:55 +0000 (08:00 +0000)] 
xcode adaptions

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

16 years agomaking things compile and build again ...
Stefan Csomor [Mon, 22 Oct 2007 07:58:02 +0000 (07:58 +0000)] 
making things compile and build again ...

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

16 years agodon't store NULL attribute in wxGridRowOrColAttrData::SetAttr() unnecessarily
Vadim Zeitlin [Sun, 21 Oct 2007 21:27:56 +0000 (21:27 +0000)] 
don't store NULL attribute in wxGridRowOrColAttrData::SetAttr() unnecessarily

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

16 years agoadd wxUSE_MINIFRAME wrapper
Paul Cornett [Sun, 21 Oct 2007 18:07:29 +0000 (18:07 +0000)] 
add wxUSE_MINIFRAME wrapper

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

16 years agofix header wrapper typo
Paul Cornett [Sun, 21 Oct 2007 17:59:02 +0000 (17:59 +0000)] 
fix header wrapper typo

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

16 years agoWhen testing for getpwuid_r and getgrgid_r also check the signature. Solaris
Michael Wetherell [Sun, 21 Oct 2007 11:39:33 +0000 (11:39 +0000)] 
When testing for getpwuid_r and getgrgid_r also check the signature. Solaris
7-9 have these with non-POSIX signatures.

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

16 years agoreplace wrong calss of Refresh() with (hopefully) correct calls to RefreshRow()
Vadim Zeitlin [Sat, 20 Oct 2007 23:25:11 +0000 (23:25 +0000)] 
replace wrong calss of Refresh() with (hopefully) correct calls to RefreshRow()

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

16 years agofix unused parameter warnings
Vadim Zeitlin [Sat, 20 Oct 2007 23:23:44 +0000 (23:23 +0000)] 
fix unused parameter warnings

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

16 years agomany wxIPC Unicode and UTF-8 fixes (use void* instead of wxChar* in the API and UTF...
Vadim Zeitlin [Sat, 20 Oct 2007 22:54:26 +0000 (22:54 +0000)] 
many wxIPC Unicode and UTF-8 fixes (use void* instead of wxChar* in the API and UTF-8 as wire format for wxStrings) (patch 1812926)

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

16 years agodefine wxUTF8Buf as the type returned by wxString::utf8_str()
Vadim Zeitlin [Sat, 20 Oct 2007 22:52:36 +0000 (22:52 +0000)] 
define wxUTF8Buf as the type returned by wxString::utf8_str()

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

16 years agodon't force size_allocate in gtk_pizza_put, it shouldn't be necessary
Paul Cornett [Sat, 20 Oct 2007 22:31:06 +0000 (22:31 +0000)] 
don't force size_allocate in gtk_pizza_put, it shouldn't be necessary

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

16 years agofix (reversed) operator!() description (bug 1817138)
Vadim Zeitlin [Sat, 20 Oct 2007 22:18:10 +0000 (22:18 +0000)] 
fix (reversed) operator!() description (bug 1817138)

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

16 years agoundefine _DEFINE_LIST before redefining it; also rename it to have WX prefix
Vadim Zeitlin [Sat, 20 Oct 2007 22:02:08 +0000 (22:02 +0000)] 
undefine _DEFINE_LIST before redefining it; also rename it to have WX prefix

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

16 years agodeprecate wxEffects
Vadim Zeitlin [Sat, 20 Oct 2007 21:58:47 +0000 (21:58 +0000)] 
deprecate wxEffects

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

16 years agoaccept "--opt val" and "--opt:val" syntax in addition to "--opt=val" as
Vadim Zeitlin [Sat, 20 Oct 2007 21:08:38 +0000 (21:08 +0000)] 
accept "--opt val" and "--opt:val" syntax in addition to "--opt=val" as
documented (patch 1786465)

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

16 years agoUse wxDataViewSpinRenderer
Robert Roebling [Sat, 20 Oct 2007 20:15:05 +0000 (20:15 +0000)] 
Use wxDataViewSpinRenderer

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

16 years agoRedundant call to GetItemByRow
Robert Roebling [Sat, 20 Oct 2007 20:11:30 +0000 (20:11 +0000)] 
Redundant call to GetItemByRow

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

16 years agoAdded wxDataViewCustomRenderer::RenderText() for renderer simple text in platform...
Robert Roebling [Sat, 20 Oct 2007 20:09:10 +0000 (20:09 +0000)] 
Added wxDataViewCustomRenderer::RenderText() for renderer simple text in platform dependent way, added wxDataViewSpinRenderer

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

16 years agodon't need to paint tlw background, GTK does it
Paul Cornett [Sat, 20 Oct 2007 16:23:38 +0000 (16:23 +0000)] 
don't need to paint tlw background, GTK does it

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

16 years agoalways return just "$CXX -o" from `wx-config --ld` instead of returning the
Vadim Zeitlin [Sat, 20 Oct 2007 15:59:05 +0000 (15:59 +0000)] 
always return just "$CXX -o" from `wx-config --ld` instead of returning the
command needed to link a shared library (if this is really needed, we should
add another --shared-ld option for this) as it isn't suitable for linking the
user applications

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

16 years agoload message catalogs using wxFileSystem; use wxMemoryBuffer instead of raw pointers...
Vadim Zeitlin [Sat, 20 Oct 2007 15:33:24 +0000 (15:33 +0000)] 
load message catalogs using wxFileSystem; use wxMemoryBuffer instead of raw pointers (slightly modified patch 1810106)

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

16 years ago[ 1816882 ] wxListBox::SetSelection() doesn't update the control
Robert Roebling [Sat, 20 Oct 2007 15:02:00 +0000 (15:02 +0000)] 
[ 1816882 ] wxListBox::SetSelection() doesn't update the control

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

16 years ago[ 1816944 ] GTK - wxMenuBar bug
Robert Roebling [Sat, 20 Oct 2007 14:55:55 +0000 (14:55 +0000)] 
[ 1816944 ] GTK - wxMenuBar bug

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

16 years agodon't update the tree unnecessarily in Expand/CollapseAllChildren() (patch 1809520)
Vadim Zeitlin [Sat, 20 Oct 2007 14:55:50 +0000 (14:55 +0000)] 
don't update the tree unnecessarily in Expand/CollapseAllChildren() (patch 1809520)

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

16 years agoadd support for detached threads in wxThreadHelper (patch 1809015)
Vadim Zeitlin [Sat, 20 Oct 2007 14:49:10 +0000 (14:49 +0000)] 
add support for detached threads in wxThreadHelper (patch 1809015)

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

16 years agospelling and other minor fixes (patch 1806283)
Vadim Zeitlin [Sat, 20 Oct 2007 14:45:46 +0000 (14:45 +0000)] 
spelling and other minor fixes (patch 1806283)

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

16 years agoadd discussion about the problems of using Yield() part of patch 1806283)
Vadim Zeitlin [Sat, 20 Oct 2007 14:42:03 +0000 (14:42 +0000)] 
add discussion about the problems of using Yield() part of patch 1806283)

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

16 years agoexport wxInvalidSize from DLL builds (patch 1805738)
Vadim Zeitlin [Sat, 20 Oct 2007 14:34:43 +0000 (14:34 +0000)] 
export wxInvalidSize from DLL builds (patch 1805738)

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

16 years agoOnly draw cell in selected style when control has focus
Robert Roebling [Sat, 20 Oct 2007 10:43:57 +0000 (10:43 +0000)] 
Only draw cell in selected style when control has focus

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

16 years agoUse BTNFACE colour for rendering selected item when widget is unfocussed
Robert Roebling [Sat, 20 Oct 2007 10:33:32 +0000 (10:33 +0000)] 
Use BTNFACE colour for rendering selected item when widget is unfocussed

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

16 years agoSupport hover over effect for DrawHeaderButton for GTK+
Robert Roebling [Sat, 20 Oct 2007 10:20:29 +0000 (10:20 +0000)] 
Support hover over effect for DrawHeaderButton for GTK+

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

16 years agouse a GtkAlignment to set size of toolbar controls, instead of trying to "correct...
Paul Cornett [Sat, 20 Oct 2007 03:47:33 +0000 (03:47 +0000)] 
use a GtkAlignment to set size of toolbar controls, instead of trying to "correct" size_allocate

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

16 years agoFix wxVsnprintf-using code on both trunk and 2.8 and document how native
David Elliott [Sat, 20 Oct 2007 03:44:01 +0000 (03:44 +0000)] 
Fix wxVsnprintf-using code on both trunk and 2.8 and document how native
functions are supposed to behave as well as how some of them do.

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

16 years agominor corr
Robert Roebling [Fri, 19 Oct 2007 15:07:33 +0000 (15:07 +0000)] 
minor corr

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

16 years agominor corr
Robert Roebling [Fri, 19 Oct 2007 15:04:16 +0000 (15:04 +0000)] 
minor corr

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

16 years agoAdded wxVariantData::Clone and wxVariant::Unshare
Julian Smart [Fri, 19 Oct 2007 15:01:54 +0000 (15:01 +0000)] 
Added wxVariantData::Clone and wxVariant::Unshare

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

16 years agoUse wxPointList instead of wxList in wxDC code
Robert Roebling [Fri, 19 Oct 2007 14:53:55 +0000 (14:53 +0000)] 
Use wxPointList instead of wxList in wxDC code

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

16 years agoShow debug report directory in long form on Windows
Julian Smart [Fri, 19 Oct 2007 11:40:29 +0000 (11:40 +0000)] 
Show debug report directory in long form on Windows

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

16 years agoImprove behavior of menubar switching when windows are activated.
David Elliott [Fri, 19 Oct 2007 05:39:18 +0000 (05:39 +0000)] 
Improve behavior of menubar switching when windows are activated.
Specifically, if a non-wx (e.g. internal Cocoa) window becomes key but a
wx window remains main, be sure to use the wx window's menubar rather
than swapping it out for the menubar we show when no wx window
is active.  Fixes Leopard issue.

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

16 years agoAdd missing wxT().
David Elliott [Fri, 19 Oct 2007 04:42:23 +0000 (04:42 +0000)] 
Add missing wxT().

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

16 years agoAdd ProcessPendingEvents to wxApp::Yield which makes the code almost identical
David Elliott [Fri, 19 Oct 2007 02:13:13 +0000 (02:13 +0000)] 
Add ProcessPendingEvents to wxApp::Yield which makes the code almost identical
to wxMSW's implementation save for using Cocoa instead of MSW.
Add a wxAutoNSAutoreleasePool around wxApp::WakeUpIdle so that calling it from
a thread does not leak the NSEvent.
Add several hundred lines of comments explaining the unique method that
wxCocoa uses to hook the underlying event loop and run loop so that wxCocoa
is able to provide things like wx idle events.

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

16 years agoAdded PrependColumn methods and short cuts. Added test for DeleteColumn to sample
Robert Roebling [Thu, 18 Oct 2007 20:56:38 +0000 (20:56 +0000)] 
Added PrependColumn methods and short cuts. Added test for DeleteColumn to sample

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

16 years agosimplify toolbar and statusbar create/set code
Paul Cornett [Thu, 18 Oct 2007 17:20:38 +0000 (17:20 +0000)] 
simplify toolbar and statusbar create/set code

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

16 years agoPixel fiddling for correct placement of text with and without icons
Robert Roebling [Thu, 18 Oct 2007 16:35:16 +0000 (16:35 +0000)] 
Pixel fiddling for correct placement of text with and without icons

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

16 years agofix typo
Robin Dunn [Thu, 18 Oct 2007 15:49:41 +0000 (15:49 +0000)] 
fix typo

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

16 years agoMake event overview doc more clear about instances of wxEvtHandler
Robin Dunn [Thu, 18 Oct 2007 15:48:15 +0000 (15:48 +0000)] 
Make event overview doc more clear about instances of wxEvtHandler

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

16 years agoCorrected wrong initial/min size of generic wxDataViewCtrl
Robert Roebling [Thu, 18 Oct 2007 15:07:11 +0000 (15:07 +0000)] 
Corrected wrong initial/min size of generic wxDataViewCtrl

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