]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agofix unused parameter warning
Vadim Zeitlin [Fri, 14 Sep 2007 21:00:27 +0000 (21:00 +0000)] 
fix unused parameter warning

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

17 years agoImplement and test _HEADER_RIGHT_CLICK event for GTK+
Robert Roebling [Fri, 14 Sep 2007 20:36:19 +0000 (20:36 +0000)] 
Implement and test _HEADER_RIGHT_CLICK event for GTK+

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

17 years agoImplement and test wxDataViewCtrl::GetColumnPosition() for GTK+
Robert Roebling [Fri, 14 Sep 2007 20:30:05 +0000 (20:30 +0000)] 
Implement and test wxDataViewCtrl::GetColumnPosition() for GTK+

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

17 years agoForgot this one
Robert Roebling [Fri, 14 Sep 2007 19:51:42 +0000 (19:51 +0000)] 
Forgot this one

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

17 years agoPatch from Hartwig wrt SELECTION_CHANGE event
Robert Roebling [Fri, 14 Sep 2007 19:50:35 +0000 (19:50 +0000)] 
Patch from Hartwig wrt SELECTION_CHANGE event

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

17 years agofix warning about not enough parameters for WX_DEFINE_GLOBAL_CONV2 with VC6
Vadim Zeitlin [Fri, 14 Sep 2007 18:54:24 +0000 (18:54 +0000)] 
fix warning about not enough parameters for WX_DEFINE_GLOBAL_CONV2 with VC6

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

17 years agoscrolling windows need wx[HV]SCROLL style
Paul Cornett [Fri, 14 Sep 2007 17:23:43 +0000 (17:23 +0000)] 
scrolling windows need wx[HV]SCROLL style

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

17 years agoadded WXDLLIMPEXP_BASE for a couple of template classes having only inline functions...
Vadim Zeitlin [Fri, 14 Sep 2007 17:04:27 +0000 (17:04 +0000)] 
added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004)

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

17 years agofix some harmless warnings (last two parts of patch 1779004)
Vadim Zeitlin [Fri, 14 Sep 2007 17:00:45 +0000 (17:00 +0000)] 
fix some harmless warnings (last two parts of patch 1779004)

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

17 years agoadd missing sample
Chris Elliott [Fri, 14 Sep 2007 16:15:47 +0000 (16:15 +0000)] 
add missing sample

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

17 years agoFixed caret sizing bug
Julian Smart [Fri, 14 Sep 2007 12:18:50 +0000 (12:18 +0000)] 
Fixed caret sizing bug

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

17 years agoAPI change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
Robert Roebling [Fri, 14 Sep 2007 08:59:07 +0000 (08:59 +0000)] 
API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events

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

17 years agoFix ending label-editing bug when clicking elsewhere
Robert Roebling [Fri, 14 Sep 2007 07:58:06 +0000 (07:58 +0000)] 
Fix ending label-editing bug when clicking elsewhere

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

17 years agoremove m_blockScrollEvent from wxWindowGTK
Paul Cornett [Fri, 14 Sep 2007 04:26:33 +0000 (04:26 +0000)] 
remove m_blockScrollEvent from wxWindowGTK

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

17 years agobuild fix
Paul Cornett [Fri, 14 Sep 2007 04:22:04 +0000 (04:22 +0000)] 
build fix

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

17 years agomore value updating fixes
Paul Cornett [Fri, 14 Sep 2007 04:11:01 +0000 (04:11 +0000)] 
more value updating fixes

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

17 years agouse wxBORDER_NONE as border default for wxStatusBar: this generally makes sense and...
Vadim Zeitlin [Fri, 14 Sep 2007 01:08:55 +0000 (01:08 +0000)] 
use wxBORDER_NONE as border default for wxStatusBar: this generally makes sense and also fixes the display problem of the status bars under Windows when using themes

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

17 years agocompilation fix after wxCmdLineEntryDesc changes
Vadim Zeitlin [Fri, 14 Sep 2007 00:51:47 +0000 (00:51 +0000)] 
compilation fix after wxCmdLineEntryDesc changes

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

17 years agowxDataViewCtrl patch from Hartwig
Robert Roebling [Thu, 13 Sep 2007 21:23:48 +0000 (21:23 +0000)] 
wxDataViewCtrl patch from Hartwig

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

17 years agoremove the drag-and-drop compatibility hack for extracting the embedded size of the...
Vadim Zeitlin [Thu, 13 Sep 2007 18:37:00 +0000 (18:37 +0000)] 
remove the drag-and-drop compatibility hack for extracting the embedded size of the object from the beginning of data itself: this fixes bug 1791459 for the trunk

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

17 years agofix SetValue
Paul Cornett [Thu, 13 Sep 2007 17:34:27 +0000 (17:34 +0000)] 
fix SetValue

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

17 years agonon-pch build fix, indentation and whitespace cleanup
Paul Cornett [Thu, 13 Sep 2007 16:41:28 +0000 (16:41 +0000)] 
non-pch build fix, indentation and whitespace cleanup

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

17 years agoadded attribution for wxSYS_DCLICK_TIME time change
Vadim Zeitlin [Thu, 13 Sep 2007 16:02:43 +0000 (16:02 +0000)] 
added attribution for wxSYS_DCLICK_TIME time change

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

17 years agoUse GTK_SPIN_BUTTON() not (GtkSpinButton*)
Robert Roebling [Thu, 13 Sep 2007 14:36:32 +0000 (14:36 +0000)] 
Use GTK_SPIN_BUTTON() not (GtkSpinButton*)

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

17 years ago[ 1793012 ] wxSpinCtrl::SetValue() doesn't update internal counter
Robert Roebling [Thu, 13 Sep 2007 14:27:18 +0000 (14:27 +0000)] 
1793012 ] wxSpinCtrl::SetValue() doesn't update internal counter

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

17 years agoAdd wxDataViewCtrl::GetColumnPosition() stubs
Robert Roebling [Thu, 13 Sep 2007 13:29:19 +0000 (13:29 +0000)] 
Add wxDataViewCtrl::GetColumnPosition() stubs

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

17 years agoAdd wxDataViewCtrl::GetSortingColumn() stubs
Robert Roebling [Thu, 13 Sep 2007 12:57:40 +0000 (12:57 +0000)] 
Add wxDataViewCtrl::GetSortingColumn() stubs

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

17 years agoPatch from Hartwig (use new GetChildren() API)
Robert Roebling [Thu, 13 Sep 2007 12:47:49 +0000 (12:47 +0000)] 
Patch from Hartwig (use new GetChildren() API)

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

17 years agolittle change for Mac build
Robert Roebling [Thu, 13 Sep 2007 12:41:36 +0000 (12:41 +0000)] 
little change for Mac build

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

17 years agoThird update patch for GTK+ print (correcting my device origin search-and-replace...
Robert Roebling [Thu, 13 Sep 2007 12:28:57 +0000 (12:28 +0000)] 
Third update patch for GTK+ print (correcting my device origin search-and-replace mistake)

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

17 years agoSecond update patch for GTK+ print (DrawBitmap fix)
Robert Roebling [Thu, 13 Sep 2007 12:26:20 +0000 (12:26 +0000)] 
Second update patch for GTK+ print (DrawBitmap fix)

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

17 years agoFirst update patch for GTK+ print
Robert Roebling [Thu, 13 Sep 2007 12:23:39 +0000 (12:23 +0000)] 
First update patch for GTK+ print

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

17 years agoremove unused configure tests and macros
Paul Cornett [Thu, 13 Sep 2007 06:24:14 +0000 (06:24 +0000)] 
remove unused configure tests and macros

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

17 years agoepoll typo
Paul Cornett [Thu, 13 Sep 2007 05:42:42 +0000 (05:42 +0000)] 
epoll typo

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

17 years agoget more accurate TLW sizing by using a window decorations cache
Paul Cornett [Thu, 13 Sep 2007 04:36:06 +0000 (04:36 +0000)] 
get more accurate TLW sizing by using a window decorations cache

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

17 years agowarning fix
Paul Cornett [Wed, 12 Sep 2007 17:39:46 +0000 (17:39 +0000)] 
warning fix

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

17 years agoadd wxUSE_TASKBARICON wrapper
Paul Cornett [Wed, 12 Sep 2007 16:48:41 +0000 (16:48 +0000)] 
add wxUSE_TASKBARICON wrapper

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

17 years agocheck that the conversion really succeeds even when wxMBConv_win32::WC2MB() is called...
Vadim Zeitlin [Wed, 12 Sep 2007 00:39:21 +0000 (00:39 +0000)] 
check that the conversion really succeeds even when wxMBConv_win32::WC2MB() is called with NULL buffer

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

17 years agofix assert for bitmaps buttons created without bitmap initially
Vadim Zeitlin [Wed, 12 Sep 2007 00:21:48 +0000 (00:21 +0000)] 
fix assert for bitmaps buttons created without bitmap initially

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

17 years agoFixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel interna...
Václav Slavík [Mon, 10 Sep 2007 22:27:15 +0000 (22:27 +0000)] 
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.

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

17 years agouse wxVector<T> instead of wxList in wxXmlResource code
Václav Slavík [Mon, 10 Sep 2007 22:26:39 +0000 (22:26 +0000)] 
use wxVector<T> instead of wxList in wxXmlResource code

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

17 years agofix to make 'wxAtomicInt i = 0;' work with generic implementation and gcc
Václav Slavík [Mon, 10 Sep 2007 22:15:16 +0000 (22:15 +0000)] 
fix to make 'wxAtomicInt i = 0;' work with generic implementation and gcc

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

17 years agocompilation fix after wxCmdLineEntryDesc changes
Václav Slavík [Mon, 10 Sep 2007 22:13:05 +0000 (22:13 +0000)] 
compilation fix after wxCmdLineEntryDesc changes

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

17 years agoadded a test for wxAtomicDec return value
Václav Slavík [Mon, 10 Sep 2007 22:12:39 +0000 (22:12 +0000)] 
added a test for wxAtomicDec return value

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

17 years agomention that NULL/"" changes also affect struct fields
Vadim Zeitlin [Mon, 10 Sep 2007 22:04:26 +0000 (22:04 +0000)] 
mention that NULL/"" changes also affect struct fields

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

17 years agocompilation fixes for generic implementation of wxAtomicInt32
Václav Slavík [Mon, 10 Sep 2007 21:52:02 +0000 (21:52 +0000)] 
compilation fixes for generic implementation of wxAtomicInt32

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

17 years agoRewrote scaling for GTK+ print
Robert Roebling [Mon, 10 Sep 2007 21:35:45 +0000 (21:35 +0000)] 
Rewrote scaling for GTK+ print

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

17 years agoCompilation
Robert Roebling [Mon, 10 Sep 2007 16:41:16 +0000 (16:41 +0000)] 
Compilation

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

17 years agomap wxFONTENCODING_ISO2022_JP to the correct Windows code page
Vadim Zeitlin [Mon, 10 Sep 2007 15:29:19 +0000 (15:29 +0000)] 
map wxFONTENCODING_ISO2022_JP to the correct Windows code page

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

17 years agofix a warning about casting literal string constants to non-const char *
Vadim Zeitlin [Mon, 10 Sep 2007 14:22:43 +0000 (14:22 +0000)] 
fix a warning about casting literal string constants to non-const char *

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

17 years agocorrected some of 200 compile errors introduced by the latest global search and replace
Robert Roebling [Mon, 10 Sep 2007 14:16:22 +0000 (14:16 +0000)] 
corrected some of 200 compile errors introduced by the latest global search and replace

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

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