]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoRewrote scaling code for GNOME print backend. The inverted Y axis is now handled...
Robert Roebling [Mon, 10 Sep 2007 14:00:44 +0000 (14:00 +0000)] 
Rewrote scaling code for GNOME print backend. The inverted Y axis is now handled internally. Resulotion is not set to 600 dpi

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

17 years agochop off the unwanted \r from GetLineText() return value for richedit 2.0 controls...
Vadim Zeitlin [Mon, 10 Sep 2007 11:16:04 +0000 (11:16 +0000)] 
chop off the unwanted \r from GetLineText() return value for richedit 2.0 controls (patch 1780110)

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

17 years agoUnicode compilation fix
Vadim Zeitlin [Mon, 10 Sep 2007 10:51:12 +0000 (10:51 +0000)] 
Unicode compilation fix

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

17 years agowxDL_XXX macros and dynamic loading cleanup:
Vadim Zeitlin [Mon, 10 Sep 2007 10:49:55 +0000 (10:49 +0000)] 
wxDL_XXX macros and dynamic loading cleanup:

1. Clearly document the wxDL_XXX macros; including their implicit usage
   of m_ok member variable
2. Made sure they're used in the same way in all places they are used
   (sometimes they were passed an object, sometimes a pointer, breaking
   compilation: see patch 1791288)
3. Don't allocate wxDynamicLibrary objects on heap unnecessarily (which
   removes the need to delete -- or leak, as it was -- them afterwards)
4. Some naming convention fixes

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

17 years agoadded wxApp::Set/GetAppDisplayName() (patch 1780414)
Vadim Zeitlin [Sun, 9 Sep 2007 23:27:23 +0000 (23:27 +0000)] 
added wxApp::Set/GetAppDisplayName() (patch 1780414)

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

17 years agoadded wxApp::Set/GetAppDisplayName() (patch 1780414)
Vadim Zeitlin [Sun, 9 Sep 2007 23:26:18 +0000 (23:26 +0000)] 
added wxApp::Set/GetAppDisplayName() (patch 1780414)

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

17 years agoadd wxSYS_DCLICK_TIME system metric constant; use it for the generic list control...
Vadim Zeitlin [Sun, 9 Sep 2007 22:57:12 +0000 (22:57 +0000)] 
add wxSYS_DCLICK_TIME system metric constant; use it for the generic list control rename timer interval (patch 1782472)

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

17 years agocache the result of wxGetOsVersion() (heavily modified patch 1783198)
Vadim Zeitlin [Sun, 9 Sep 2007 22:40:14 +0000 (22:40 +0000)] 
cache the result of wxGetOsVersion() (heavily modified patch 1783198)

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

17 years agodon't change locale in XRC GetFloat() method, change the strings to use the current...
Vadim Zeitlin [Sun, 9 Sep 2007 22:24:43 +0000 (22:24 +0000)] 
don't change locale in XRC GetFloat() method, change the strings to use the current locale decimal point separator instead (patch 1783849)

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

17 years agofix bug with mistakenly recognising 'wxdebug' as 'debug' and 'wxshared' as 'shared...
Vadim Zeitlin [Sun, 9 Sep 2007 21:45:58 +0000 (21:45 +0000)] 
fix bug with mistakenly recognising 'wxdebug' as 'debug' and 'wxshared' as 'shared' (patch 1787101)

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

17 years agodeclare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header...
Vadim Zeitlin [Sun, 9 Sep 2007 21:39:11 +0000 (21:39 +0000)] 
declare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header) and add macros for handling it (patch 1788077)

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

17 years agodon't give spurious error message if non-empty status bar field style is specified...
Vadim Zeitlin [Sun, 9 Sep 2007 21:32:44 +0000 (21:32 +0000)] 
don't give spurious error message if non-empty status bar field style is specified in XRC (patch 1791037)

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

17 years agofixed off by 1 bug in wxDC::GradientFillLinear() (patch 1788549)
Vadim Zeitlin [Sun, 9 Sep 2007 19:36:50 +0000 (19:36 +0000)] 
fixed off by 1 bug in wxDC::GradientFillLinear() (patch 1788549)

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

17 years agofix gcc warnings about float/double to int conversion after the latest changes
Vadim Zeitlin [Sun, 9 Sep 2007 19:34:01 +0000 (19:34 +0000)] 
fix gcc warnings about float/double to int conversion after the latest changes

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

17 years agono changes, just added a comment explaining the issues involved in doing the conversi...
Vadim Zeitlin [Sun, 9 Sep 2007 19:05:20 +0000 (19:05 +0000)] 
no changes, just added a comment explaining the issues involved in doing the conversion in place in wxCStrData::AsChar()

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

17 years agoreturn empty string, not NULL, from wxCStrData::AsChar() if conversion to ANSI fails...
Vadim Zeitlin [Sun, 9 Sep 2007 18:57:41 +0000 (18:57 +0000)] 
return empty string, not NULL, from wxCStrData::AsChar() if conversion to ANSI fails for compatibility with wxWidgets 2 and std::string

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

17 years agoadded support for reading resolution information from TIFF, JPEG and BMP formats...
Vadim Zeitlin [Sat, 8 Sep 2007 18:32:36 +0000 (18:32 +0000)] 
added support for reading resolution information from TIFF, JPEG and BMP formats; corrected some bugs with saving resolution; added command allowing to see the image resolution (if available) to the sample (heavily modified patch 1790546)

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

17 years agoCompile error (no idea why Mingw doesn't like wxPoint())
Robert Roebling [Sat, 8 Sep 2007 18:08:14 +0000 (18:08 +0000)] 
Compile error (no idea why Mingw doesn't like wxPoint())

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

17 years agofix file names format in wxFileDataObject::GetDataHere() in Unicode build (replaces...
Vadim Zeitlin [Sat, 8 Sep 2007 11:37:01 +0000 (11:37 +0000)] 
fix file names format in wxFileDataObject::GetDataHere() in Unicode build (replaces patch 1785191)

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

17 years agoadded wxDirCtrl to the sample to allow testing of the file names dragging (based...
Vadim Zeitlin [Sat, 8 Sep 2007 11:28:40 +0000 (11:28 +0000)] 
added wxDirCtrl to the sample to allow testing of the file names dragging (based on patch attached to the bug 1775213)

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

17 years agodon't pass garbage to SetData() in wxURLDataObject::SetURL()
Vadim Zeitlin [Sat, 8 Sep 2007 00:32:56 +0000 (00:32 +0000)] 
don't pass garbage to SetData() in wxURLDataObject::SetURL()

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

17 years agobetter document some of the incompatibilities introduced by the Unicode changes
Vadim Zeitlin [Fri, 7 Sep 2007 23:47:52 +0000 (23:47 +0000)] 
better document some of the incompatibilities introduced by the Unicode changes

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

17 years agochange wxCmdLineEntryDesc::short/longName type to wxString for better compatibility...
Vadim Zeitlin [Fri, 7 Sep 2007 23:41:56 +0000 (23:41 +0000)] 
change wxCmdLineEntryDesc::short/longName type to wxString for better compatibility with existing Unicode code

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

17 years agofix unused parameter warning in wxSetEnv() in release build
Vadim Zeitlin [Fri, 7 Sep 2007 23:39:22 +0000 (23:39 +0000)] 
fix unused parameter warning in wxSetEnv() in release build

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

17 years agodon't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ......
Vadim Zeitlin [Fri, 7 Sep 2007 21:47:45 +0000 (21:47 +0000)] 
don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)

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

17 years agodon't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ......
Vadim Zeitlin [Fri, 7 Sep 2007 19:34:56 +0000 (19:34 +0000)] 
don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)

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

17 years agochanged wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non...
Vadim Zeitlin [Fri, 7 Sep 2007 19:32:16 +0000 (19:32 +0000)] 
changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL)

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

17 years agochanged wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non...
Vadim Zeitlin [Fri, 7 Sep 2007 19:31:55 +0000 (19:31 +0000)] 
changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL)

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

17 years agoOnly write text colour if the colour is valid
Julian Smart [Fri, 7 Sep 2007 14:16:07 +0000 (14:16 +0000)] 
Only write text colour if the colour is valid

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

17 years agoPatch to use high printer resolution instead of Cairo's 72dpi
Robert Roebling [Fri, 7 Sep 2007 14:05:13 +0000 (14:05 +0000)] 
Patch to use high printer resolution instead of Cairo's 72dpi

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

17 years agominor corrections, made non-public API private
Robert Roebling [Fri, 7 Sep 2007 13:17:55 +0000 (13:17 +0000)] 
minor corrections, made non-public API private

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

17 years agoprevent double deletion of cairo lib
Robert Roebling [Fri, 7 Sep 2007 07:40:38 +0000 (07:40 +0000)] 
prevent double deletion of cairo lib

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

17 years agowxDC::Clear() shouldn't do anything in printing DCs (I think)
Robert Roebling [Thu, 6 Sep 2007 20:30:07 +0000 (20:30 +0000)] 
wxDC::Clear() shouldn't do anything in printing DCs (I think)

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

17 years agoRemoved run-time dependency on libpangocairo
Robert Roebling [Thu, 6 Sep 2007 17:56:09 +0000 (17:56 +0000)] 
Removed run-time dependency on libpangocairo

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

17 years agoAdd Cairo to build, remove run-time dependency
Robert Roebling [Thu, 6 Sep 2007 17:31:51 +0000 (17:31 +0000)] 
Add Cairo to build, remove run-time dependency

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

17 years agoMake use of wxCairoLibrary from within wxGtkPrint
Robert Roebling [Thu, 6 Sep 2007 17:24:59 +0000 (17:24 +0000)] 
Make use of wxCairoLibrary from within wxGtkPrint

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

17 years agoMake a slider control created with a particular size/position adjust itself to the...
David Elliott [Thu, 6 Sep 2007 16:41:31 +0000 (16:41 +0000)] 
Make a slider control created with a particular size/position adjust itself to the only size that works and adjust the positioning accordingly.
Implement the wxSL_AUTOTICKS style.
Patch from Mark Oxenham.  Copyright 2007 Software 2000 Ltd.

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

17 years agoAdd wxCairoLibrary (not yet built)
Robert Roebling [Thu, 6 Sep 2007 14:04:47 +0000 (14:04 +0000)] 
Add wxCairoLibrary (not yet built)

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

17 years agoMove the wxDL_ macros to wxDynLibrary
Robert Roebling [Thu, 6 Sep 2007 13:37:32 +0000 (13:37 +0000)] 
Move the wxDL_ macros to wxDynLibrary

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

17 years agofixed wxString::FromAscii signature
Václav Slavík [Thu, 6 Sep 2007 13:31:08 +0000 (13:31 +0000)] 
fixed wxString::FromAscii signature

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

17 years agoExplain various printing backends in GTK+
Robert Roebling [Thu, 6 Sep 2007 13:28:37 +0000 (13:28 +0000)] 
Explain various printing backends in GTK+

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

17 years agoMention wxUSE_GTKPRINT define
Robert Roebling [Thu, 6 Sep 2007 13:26:31 +0000 (13:26 +0000)] 
Mention wxUSE_GTKPRINT define

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

17 years agoadd missing timer.h
Chris Elliott [Thu, 6 Sep 2007 09:19:38 +0000 (09:19 +0000)] 
add missing timer.h

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

17 years agofixed off by 1 bug in converting premultiplied DIB pixel values to non-premultiplied...
Vadim Zeitlin [Wed, 5 Sep 2007 22:58:27 +0000 (22:58 +0000)] 
fixed off by 1 bug in converting premultiplied DIB pixel values to non-premultiplied image ones

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

17 years agoPass length including the null-terminator to cWC2MB
Robin Dunn [Wed, 5 Sep 2007 22:53:29 +0000 (22:53 +0000)] 
Pass length including the null-terminator to cWC2MB

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

17 years agoAdd support for GTK print, modified from patch 1782055
Robert Roebling [Wed, 5 Sep 2007 21:34:08 +0000 (21:34 +0000)] 
Add support for GTK print, modified from patch 1782055

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

17 years agoAdd force link for GtkPrint modeule (still commented out)
Robert Roebling [Wed, 5 Sep 2007 19:49:41 +0000 (19:49 +0000)] 
Add force link for GtkPrint modeule (still commented out)

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

17 years agoMake wxGnomePrintModule public so that wxGtkPrintModule knows about it
Robert Roebling [Wed, 5 Sep 2007 19:26:46 +0000 (19:26 +0000)] 
Make wxGnomePrintModule public so that wxGtkPrintModule knows about it

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

17 years agoAdd GtkPrint detection code and configure switch
Robert Roebling [Wed, 5 Sep 2007 18:55:18 +0000 (18:55 +0000)] 
Add GtkPrint detection code and configure switch

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

17 years agoupport wxFileDataObject change for UTF8 handling
Robert Roebling [Wed, 5 Sep 2007 18:53:59 +0000 (18:53 +0000)] 
upport wxFileDataObject change for UTF8 handling

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

17 years agoadd missing ds? files
Chris Elliott [Wed, 5 Sep 2007 08:41:30 +0000 (08:41 +0000)] 
add missing ds? files

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

17 years agoCorrected default background and text colours
Julian Smart [Tue, 4 Sep 2007 18:54:59 +0000 (18:54 +0000)] 
Corrected default background and text colours

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

17 years agoFixed URL saving/loading
Julian Smart [Tue, 4 Sep 2007 14:21:29 +0000 (14:21 +0000)] 
Fixed URL saving/loading

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

17 years agoAlways set the background colour for XP, for consistent toolbar backgrounds
Julian Smart [Tue, 4 Sep 2007 13:47:05 +0000 (13:47 +0000)] 
Always set the background colour for XP, for consistent toolbar backgrounds

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

17 years agoCorrected a typo
Julian Smart [Tue, 4 Sep 2007 13:23:42 +0000 (13:23 +0000)] 
Corrected a typo

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

17 years agocorrect scrolling of various GTK+ widgets such as GtkFrame (wxStaticBox)
Robert Roebling [Tue, 4 Sep 2007 13:16:48 +0000 (13:16 +0000)] 
correct scrolling of various GTK+ widgets such as GtkFrame (wxStaticBox)

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

17 years agoApply the background fix only if the toolbar has controls
Julian Smart [Tue, 4 Sep 2007 06:59:50 +0000 (06:59 +0000)] 
Apply the background fix only if the toolbar has controls

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

17 years agoa few more header files need to be installed
Robin Dunn [Tue, 4 Sep 2007 02:54:46 +0000 (02:54 +0000)] 
a few more header files need to be installed

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

17 years agouse client size to avoid gdk_window_get_frame_extents, which returns the full width...
Paul Cornett [Tue, 4 Sep 2007 02:29:03 +0000 (02:29 +0000)] 
use client size to avoid gdk_window_get_frame_extents, which returns the full width of the screen for wxTaskBarIconArea

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

17 years agofix translation of wx priority values to the standard Unix ones in SetPriority()
Vadim Zeitlin [Mon, 3 Sep 2007 22:52:38 +0000 (22:52 +0000)] 
fix translation of wx priority values to the standard Unix ones in SetPriority()

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

17 years agofix WX_GL_STEREO attribute handling: value for it was missing in the attribute list
Vadim Zeitlin [Mon, 3 Sep 2007 22:35:43 +0000 (22:35 +0000)] 
fix WX_GL_STEREO attribute handling: value for it was missing in the attribute list

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

17 years agodon't use GetThemeMetric(HP_HEADERITEM, TMT_HEIGHT) as it doesn't seem to work; imple...
Vadim Zeitlin [Mon, 3 Sep 2007 21:50:28 +0000 (21:50 +0000)] 
don't use GetThemeMetric(HP_HEADERITEM, TMT_HEIGHT) as it doesn't seem to work; implement GetHeaderButtonHeight() in wxRendererMSW instead of doing it in wxRendererXP using HDM_LAYOUT; added test for this renderer method to the sample

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

17 years agocall SetLegacyWMProperties last, it calls gtk_widget_realize, which will lead to...
Paul Cornett [Mon, 3 Sep 2007 20:45:21 +0000 (20:45 +0000)] 
call SetLegacyWMProperties last, it calls gtk_widget_realize, which will lead to assertion failures if initialization has not been done yet

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

17 years agofix IsProtocolSupported in unicode build
Paul Cornett [Mon, 3 Sep 2007 20:17:34 +0000 (20:17 +0000)] 
fix IsProtocolSupported in unicode build

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

17 years agoTry the DefaultProperties key if the buildSettings key doesn't work when reading...
David Elliott [Mon, 3 Sep 2007 18:10:20 +0000 (18:10 +0000)] 
Try the DefaultProperties key if the buildSettings key doesn't work when reading the SDKSettings.plist.

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

17 years agoUpdate to recent eggtrayicon version. Should be converted to GTK+ 2.10 code.
Robert Roebling [Mon, 3 Sep 2007 08:20:19 +0000 (08:20 +0000)] 
Update to recent eggtrayicon version. Should be converted to GTK+ 2.10 code.

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

17 years agoinclude private.h
Robin Dunn [Mon, 3 Sep 2007 03:13:49 +0000 (03:13 +0000)] 
include private.h

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

17 years agomore exports
Robin Dunn [Mon, 3 Sep 2007 03:12:09 +0000 (03:12 +0000)] 
more exports

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

17 years agowrap the code in #if wxUSE_DATAVIEWCTRL
Robin Dunn [Mon, 3 Sep 2007 03:07:29 +0000 (03:07 +0000)] 
wrap the code in #if wxUSE_DATAVIEWCTRL

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

17 years agoUpdate wxStack class macro for the new wxVector
Robin Dunn [Mon, 3 Sep 2007 03:05:50 +0000 (03:05 +0000)] 
Update wxStack class macro for the new wxVector

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

17 years agoexport wxGetNativeFontEncoding and wxTestFontEncoding
Robin Dunn [Mon, 3 Sep 2007 03:03:14 +0000 (03:03 +0000)] 
export wxGetNativeFontEncoding and wxTestFontEncoding

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

17 years agofix events and eventTypes for wxPython
Robin Dunn [Mon, 3 Sep 2007 03:02:25 +0000 (03:02 +0000)] 
fix events and eventTypes for wxPython

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

17 years agoStandard SDK fixes
Julian Smart [Sun, 2 Sep 2007 20:26:43 +0000 (20:26 +0000)] 
Standard SDK fixes

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

17 years agoPatch from Bo for new API, various fixes, live update for column header
Robert Roebling [Sat, 1 Sep 2007 18:57:03 +0000 (18:57 +0000)] 
Patch from Bo for new API, various fixes, live update for column header

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

17 years agoAdded native focus rectangle drawing for wxMac (CG only at present)
Julian Smart [Fri, 31 Aug 2007 14:56:18 +0000 (14:56 +0000)] 
Added native focus rectangle drawing for wxMac (CG only at present)

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

17 years agofixed badly named wxHtmlTag::GetParam() argument: with_quotes, not with_commas
Václav Slavík [Fri, 31 Aug 2007 13:48:37 +0000 (13:48 +0000)] 
fixed badly named wxHtmlTag::GetParam() argument: with_quotes, not with_commas

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

17 years agotypo
Robert Roebling [Fri, 31 Aug 2007 12:43:24 +0000 (12:43 +0000)] 
typo

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

17 years agoAdd wxDataViewCtrl to the build for OS X
Robert Roebling [Fri, 31 Aug 2007 12:42:57 +0000 (12:42 +0000)] 
Add wxDataViewCtrl to the build for OS X

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

17 years agoAdded const and virtual in various places
Robert Roebling [Fri, 31 Aug 2007 09:55:36 +0000 (09:55 +0000)] 
Added const and virtual in various places

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

17 years agotypo
Robert Roebling [Fri, 31 Aug 2007 09:48:40 +0000 (09:48 +0000)] 
typo

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

17 years agoAdded wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
Robert Roebling [Fri, 31 Aug 2007 09:44:59 +0000 (09:44 +0000)] 
Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())

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

17 years agoAdded wxDataViewCtrl::AppendIconTextColumn
Robert Roebling [Fri, 31 Aug 2007 09:14:49 +0000 (09:14 +0000)] 
Added wxDataViewCtrl::AppendIconTextColumn

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

17 years agoadded wxDataViewIconTextRenderer
Robert Roebling [Fri, 31 Aug 2007 08:58:25 +0000 (08:58 +0000)] 
added wxDataViewIconTextRenderer

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

17 years agosmall doc patch from Bryan Petty
Robert Roebling [Fri, 31 Aug 2007 08:31:41 +0000 (08:31 +0000)] 
small doc patch from Bryan Petty

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

17 years agoUse new menu item function
Julian Smart [Fri, 31 Aug 2007 07:37:22 +0000 (07:37 +0000)] 
Use new menu item function

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

17 years agouse WX_ASSERT_STR/SIZET_EQUAL instead of CPPUNIT_ASSERT_EQUAL with casts
Vadim Zeitlin [Thu, 30 Aug 2007 20:21:49 +0000 (20:21 +0000)] 
use WX_ASSERT_STR/SIZET_EQUAL instead of CPPUNIT_ASSERT_EQUAL with casts

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

17 years agodon't use use UTF-8 to PUA mapping hack, it's not necessary any more now that wxConvA...
Vadim Zeitlin [Thu, 30 Aug 2007 20:21:16 +0000 (20:21 +0000)] 
don't use use UTF-8 to PUA mapping hack, it's not necessary any more now that wxConvAuto can read non-UTF-8 files

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

17 years agofix resize() when it's used for truncating a string in UTF-8 build; added test for...
Vadim Zeitlin [Thu, 30 Aug 2007 18:13:29 +0000 (18:13 +0000)] 
fix resize() when it's used for truncating a string in UTF-8 build; added test for this bug

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

17 years agouse fallback encoding in wxConvAuto when input is not in UTF-8
Vadim Zeitlin [Thu, 30 Aug 2007 17:54:28 +0000 (17:54 +0000)] 
use fallback encoding in wxConvAuto when input is not in UTF-8

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

17 years agouse wxNullPtr instead of NULL with wxFileTypeInfo
Vadim Zeitlin [Thu, 30 Aug 2007 17:45:35 +0000 (17:45 +0000)] 
use wxNullPtr instead of NULL with wxFileTypeInfo

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

17 years agoX property data is long for format 32
Paul Cornett [Thu, 30 Aug 2007 17:13:20 +0000 (17:13 +0000)] 
X property data is long for format 32

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

17 years agoPatch from Hartwig for wxMac implementation
Robert Roebling [Thu, 30 Aug 2007 13:09:20 +0000 (13:09 +0000)] 
Patch from Hartwig for wxMac implementation

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

17 years agoPatch from Bo, implements mouse hover, default sort
Robert Roebling [Wed, 29 Aug 2007 20:29:59 +0000 (20:29 +0000)] 
Patch from Bo, implements mouse hover, default sort

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

17 years agomake SetValue return a value
Robert Roebling [Wed, 29 Aug 2007 20:09:28 +0000 (20:09 +0000)] 
make SetValue return a value

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

17 years agoadd missing static
Paul Cornett [Wed, 29 Aug 2007 17:08:58 +0000 (17:08 +0000)] 
add missing static

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

17 years agoAvoid crash if user aborts the print
Julian Smart [Wed, 29 Aug 2007 16:41:01 +0000 (16:41 +0000)] 
Avoid crash if user aborts the print

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

17 years agoThe toolbar background for some colour schemes cannot be determined
Julian Smart [Wed, 29 Aug 2007 15:39:29 +0000 (15:39 +0000)] 
The toolbar background for some colour schemes cannot be determined
(for example Silver). So set an explicit background colour to avoid parts of
the background being painted wrongly.

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

17 years agoadd wxDataViewIconTextRenderer
Robert Roebling [Wed, 29 Aug 2007 11:48:12 +0000 (11:48 +0000)] 
add wxDataViewIconTextRenderer

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

17 years agoadd wxDataViewIconText
Robert Roebling [Wed, 29 Aug 2007 11:12:12 +0000 (11:12 +0000)] 
add wxDataViewIconText

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

17 years agowxTextCtrl: Implement alignment flags, editable (read only) status, and GetLastPosition.
David Elliott [Tue, 28 Aug 2007 21:47:45 +0000 (21:47 +0000)] 
wxTextCtrl: Implement alignment flags, editable (read only) status, and GetLastPosition.
Patch from Mark Oxenham. Copyright 2007 Software 2000 Ltd.

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