]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agouse ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for...
Vadim Zeitlin [Sun, 16 Sep 2007 10:24:45 +0000 (10:24 +0000)] 
use ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for it to the sample

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

17 years agocheck whether clipping region is empty, not whether it's null; disable USE_PAINT_REGI...
Vadim Zeitlin [Sat, 15 Sep 2007 23:52:02 +0000 (23:52 +0000)] 
check whether clipping region is empty, not whether it's null; disable USE_PAINT_REGION which seems to be more harmful than useful (part of patch 1716763)

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

17 years agofix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch...
Vadim Zeitlin [Sat, 15 Sep 2007 23:43:03 +0000 (23:43 +0000)] 
fix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch 1716763)

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

17 years agofix the bug with not showing all the text in the text control even if there is enough...
Vadim Zeitlin [Sat, 15 Sep 2007 23:35:18 +0000 (23:35 +0000)] 
fix the bug with not showing all the text in the text control even if there is enough space (replaces patch 1716758)

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

17 years agocorrected m_strings array creation broken by last changes
Vadim Zeitlin [Sat, 15 Sep 2007 22:30:00 +0000 (22:30 +0000)] 
corrected m_strings array creation broken by last changes

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

17 years agoImplement wxWindow::SetFocusIgnoringChildren for GTK+
Robert Roebling [Sat, 15 Sep 2007 22:06:22 +0000 (22:06 +0000)] 
Implement wxWindow::SetFocusIgnoringChildren for GTK+

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

17 years agowxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes
Vadim Zeitlin [Sat, 15 Sep 2007 21:23:19 +0000 (21:23 +0000)] 
wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes

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

17 years agoCorrect GetLabelItemRect to not include image (as per 2.8 branch)
Robert Roebling [Sat, 15 Sep 2007 11:05:38 +0000 (11:05 +0000)] 
Correct GetLabelItemRect to not include image (as per 2.8 branch)

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

17 years agoRemove redundant test later in keypress handling
Robert Roebling [Sat, 15 Sep 2007 10:31:38 +0000 (10:31 +0000)] 
Remove redundant test later in keypress handling

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

17 years agoOnly send keypress events to focus widget, not its parents
Robert Roebling [Sat, 15 Sep 2007 10:29:26 +0000 (10:29 +0000)] 
Only send keypress events to focus widget, not its parents

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

17 years agolet GtkRange clamp scroll position
Paul Cornett [Sat, 15 Sep 2007 02:58:14 +0000 (02:58 +0000)] 
let GtkRange clamp scroll position

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

17 years agoget rid of the built-in drop target in rich text controls before setting the user...
Vadim Zeitlin [Sat, 15 Sep 2007 01:09:01 +0000 (01:09 +0000)] 
get rid of the built-in drop target in rich text controls before setting the user-defined one as otherwise it fails

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

17 years agoalways NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input...
Vadim Zeitlin [Sat, 15 Sep 2007 00:36:16 +0000 (00:36 +0000)] 
always NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input length, even if the input is not NUL-terminated (part of patch 1795174)

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

17 years agofix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug...
Vadim Zeitlin [Sat, 15 Sep 2007 00:32:54 +0000 (00:32 +0000)] 
fix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug 1792727, part of patch 1795174)

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

17 years agouse wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)
Vadim Zeitlin [Sat, 15 Sep 2007 00:18:56 +0000 (00:18 +0000)] 
use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)

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

17 years agoalways return positive pixel size, even for negative LOGFONT height values
Vadim Zeitlin [Sat, 15 Sep 2007 00:17:58 +0000 (00:17 +0000)] 
always return positive pixel size, even for negative LOGFONT height values

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

17 years agofix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8...
Vadim Zeitlin [Sat, 15 Sep 2007 00:16:58 +0000 (00:16 +0000)] 
fix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8: as it overrides From/ToWChar(), wxMBConvUTF8 needs to do it (instead of deprecated MB2WC/WC2MB) as well

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

17 years agoundo revision 48162 as it broke unit tests
Vadim Zeitlin [Sat, 15 Sep 2007 00:03:47 +0000 (00:03 +0000)] 
undo revision 48162 as it broke unit tests

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

17 years agofix a couple of harmless warnings in MSVC build
Vadim Zeitlin [Fri, 14 Sep 2007 23:33:46 +0000 (23:33 +0000)] 
fix a couple of harmless warnings in MSVC build

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

17 years agofix wxCmdLineEntryDesc compilation after latest changes
Vadim Zeitlin [Fri, 14 Sep 2007 23:26:06 +0000 (23:26 +0000)] 
fix wxCmdLineEntryDesc compilation after latest changes

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

17 years agomention that support for reading alpha from TIFF images was added (rev 47204)
Vadim Zeitlin [Fri, 14 Sep 2007 23:22:07 +0000 (23:22 +0000)] 
mention that support for reading alpha from TIFF images was added (rev 47204)

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

17 years agoreverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile...
Vadim Zeitlin [Fri, 14 Sep 2007 21:05:12 +0000 (21:05 +0000)] 
reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead

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

17 years agoImplement wxDataViewCtrl::GetSortingColumn() and related code for GTK+
Robert Roebling [Fri, 14 Sep 2007 21:02:18 +0000 (21:02 +0000)] 
Implement wxDataViewCtrl::GetSortingColumn() and related code for GTK+

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

17 years agoadded WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnin...
Vadim Zeitlin [Fri, 14 Sep 2007 21:02:09 +0000 (21:02 +0000)] 
added WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnings about non DLL-exported templates

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

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