wxWidgets.git
15 years agoremove the ugly INSTANCE macro
Vadim Zeitlin [Thu, 25 Dec 2008 20:06:53 +0000 (20:06 +0000)] 
remove the ugly INSTANCE macro

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

15 years agomore wxSocket code wx-ification: use wxDynamicLibrary instead of raw Win32 calls
Vadim Zeitlin [Thu, 25 Dec 2008 20:03:15 +0000 (20:03 +0000)] 
more wxSocket code wx-ification: use wxDynamicLibrary instead of raw Win32 calls

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

15 years agomingw32 typedef's and not define's SOCKET so test for __WXMSW__ before redefining...
Vadim Zeitlin [Thu, 25 Dec 2008 19:52:00 +0000 (19:52 +0000)] 
mingw32 typedef's and not define's SOCKET so test for __WXMSW__ before redefining it ourselves

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

15 years agoremove USE_SYS_TYPES_FD_SET definition which is already present in include/wx/msw...
Vadim Zeitlin [Thu, 25 Dec 2008 19:33:33 +0000 (19:33 +0000)] 
remove USE_SYS_TYPES_FD_SET definition which is already present in include/wx/msw/private/sockmsw.h

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

15 years agouse wxCriticalSection instead of CRITICAL_SECTION and, more importantly, wxCSLocker...
Vadim Zeitlin [Thu, 25 Dec 2008 19:32:12 +0000 (19:32 +0000)] 
use wxCriticalSection instead of CRITICAL_SECTION and, more importantly, wxCSLocker instead of manually entering/leaving it

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

15 years agomerge msw/gsocket.cpp into msw/sockmsw.cpp
Vadim Zeitlin [Thu, 25 Dec 2008 19:12:43 +0000 (19:12 +0000)] 
merge msw/gsocket.cpp into msw/sockmsw.cpp

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

15 years agorename gsockmsw files to sockmsw
Vadim Zeitlin [Thu, 25 Dec 2008 19:10:46 +0000 (19:10 +0000)] 
rename gsockmsw files to sockmsw

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

15 years agoavoid bakefile warnings about actions unsupported in MSVS formats by not using them...
Vadim Zeitlin [Thu, 25 Dec 2008 18:49:29 +0000 (18:49 +0000)] 
avoid bakefile warnings about actions unsupported in MSVS formats by not using them in this case (this doesn't change the generated project files anyhow)

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

15 years agorename gsockmsw files to sockmsw
Vadim Zeitlin [Thu, 25 Dec 2008 18:41:13 +0000 (18:41 +0000)] 
rename gsockmsw files to sockmsw

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

15 years agoreverted f57547, NET_PLATFORM_HDR is used inside msvc-header
Vadim Zeitlin [Thu, 25 Dec 2008 18:37:20 +0000 (18:37 +0000)] 
reverted f57547, NET_PLATFORM_HDR is used inside msvc-header

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

15 years agoremove NET_PLATFORM_HDR which was unused and is unneeded
Vadim Zeitlin [Thu, 25 Dec 2008 18:32:09 +0000 (18:32 +0000)] 
remove NET_PLATFORM_HDR which was unused and is unneeded

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

15 years agouse void pointers, not char ones, in socket IO functions
Vadim Zeitlin [Thu, 25 Dec 2008 18:29:08 +0000 (18:29 +0000)] 
use void pointers, not char ones, in socket IO functions

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

15 years agofix wxURL::GetInputStream() for URLs with special characters in credentials (closes...
Vadim Zeitlin [Thu, 25 Dec 2008 17:03:20 +0000 (17:03 +0000)] 
fix wxURL::GetInputStream() for URLs with special characters in credentials (closes #10265)

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

15 years agouse wxSUPPRESS_DOLOG_HIDE_WARNING to suppress warnings about hiding base class DoLog...
Vadim Zeitlin [Thu, 25 Dec 2008 16:47:33 +0000 (16:47 +0000)] 
use wxSUPPRESS_DOLOG_HIDE_WARNING to suppress warnings about hiding base class DoLog() overloads

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

15 years agodon't use the client data for storing wxOwnerDrawn in wxCheckListbox implementation...
Vadim Zeitlin [Thu, 25 Dec 2008 13:10:55 +0000 (13:10 +0000)] 
don't use the client data for storing wxOwnerDrawn in wxCheckListbox implementation as we already store them in internal array anyhow, this allows the user to use his own client data with wxCheckListbox (#10290)

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

15 years agomake colours used by list and tree controls more consistent with the system theme...
Vadim Zeitlin [Thu, 25 Dec 2008 13:03:24 +0000 (13:03 +0000)] 
make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)

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

15 years agounhide the second wxTextAreaBase::HitTest() overload to suppress a warning about it
Vadim Zeitlin [Thu, 25 Dec 2008 12:45:59 +0000 (12:45 +0000)] 
unhide the second wxTextAreaBase::HitTest() overload to suppress a warning about it

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

15 years agofix/suppress warning about hiding base class Load(wxURI,wxURI) overload
Vadim Zeitlin [Thu, 25 Dec 2008 12:41:01 +0000 (12:41 +0000)] 
fix/suppress warning about hiding base class Load(wxURI,wxURI) overload

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

15 years agodon't use deprecated OnScroll()
Vadim Zeitlin [Thu, 25 Dec 2008 12:38:58 +0000 (12:38 +0000)] 
don't use deprecated OnScroll()

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

15 years agomake Scroll() itself virtual too as existing code might override it (but new code...
Vadim Zeitlin [Thu, 25 Dec 2008 12:27:20 +0000 (12:27 +0000)] 
make Scroll() itself virtual too as existing code might override it (but new code should override DoScroll() only); use the same access in the derived classes as in wxScrollHelperBase

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

15 years agodeprecate OnScroll() which existed for compatibility only even before
Vadim Zeitlin [Thu, 25 Dec 2008 12:23:28 +0000 (12:23 +0000)] 
deprecate OnScroll() which existed for compatibility only even before

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

15 years agohandle correctly never/always shown scrollbars in GetClientSize()
Vadim Zeitlin [Wed, 24 Dec 2008 23:46:13 +0000 (23:46 +0000)] 
handle correctly never/always shown scrollbars in GetClientSize()

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

15 years agoallow passing -1 range to SetScrollbar() to indicate the the scrollbar should be...
Vadim Zeitlin [Wed, 24 Dec 2008 21:58:05 +0000 (21:58 +0000)] 
allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be disabled and use this to implement wxSHOW_SB_ALWAYS in the generic wxScrollHelper

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

15 years agocompilation fix after wxScrollHelperNative renaming to wxScrollHelper
Vadim Zeitlin [Wed, 24 Dec 2008 17:13:20 +0000 (17:13 +0000)] 
compilation fix after wxScrollHelperNative renaming to wxScrollHelper

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

15 years agofurther untangle generic and native GTK implementations of wxScrollHelper: use the...
Vadim Zeitlin [Wed, 24 Dec 2008 16:43:30 +0000 (16:43 +0000)] 
further untangle generic and native GTK implementations of wxScrollHelper: use the standard wxScrollHelperBase/wxScrollHelper naming convention and move the stuff unused by GTK in the generic implementation

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

15 years agoprovide generic implementation for ShowScrollbars() too
Vadim Zeitlin [Wed, 24 Dec 2008 16:11:02 +0000 (16:11 +0000)] 
provide generic implementation for ShowScrollbars() too

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

15 years agoadd wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic...
Vadim Zeitlin [Wed, 24 Dec 2008 15:58:37 +0000 (15:58 +0000)] 
add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic implementation coming soon)

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

15 years agoMark alpha a static data (not to be freed), too
Robert Roebling [Wed, 24 Dec 2008 15:45:34 +0000 (15:45 +0000)] 
Mark alpha a static data (not to be freed), too

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

15 years agoadd convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2...
Vadim Zeitlin [Wed, 24 Dec 2008 15:11:00 +0000 (15:11 +0000)] 
add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2 int[ pointer]s

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

15 years agoadd example of synchronizing 2 scrolled windows
Vadim Zeitlin [Wed, 24 Dec 2008 14:55:49 +0000 (14:55 +0000)] 
add example of synchronizing 2 scrolled windows

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

15 years agofix saving/restoring size when WM supports _NET_FRAME_EXTENTS but not _NET_REQUEST_FR...
Paul Cornett [Wed, 24 Dec 2008 07:51:15 +0000 (07:51 +0000)] 
fix saving/restoring size when WM supports _NET_FRAME_EXTENTS but not _NET_REQUEST_FRAME_EXTENTS

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

15 years agoreorganize scroll sample to make it possible to understand what it does both when...
Vadim Zeitlin [Wed, 24 Dec 2008 01:28:55 +0000 (01:28 +0000)] 
reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one

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

15 years agocall wxFlexGridSizer::AddGrowableRow() only when the sizer has enough rows for the...
Vadim Zeitlin [Wed, 24 Dec 2008 00:41:23 +0000 (00:41 +0000)] 
call wxFlexGridSizer::AddGrowableRow() only when the sizer has enough rows for the indices to be valid

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

15 years agocorrect the direction of the comparison between the number of columns/rows and the...
Vadim Zeitlin [Wed, 24 Dec 2008 00:35:53 +0000 (00:35 +0000)] 
correct the direction of the comparison between the number of columns/rows and the number of items (#10294)

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

15 years agoalso call AddGrowableRow/Col() for wxGridBagSizer
Vadim Zeitlin [Wed, 24 Dec 2008 00:29:38 +0000 (00:29 +0000)] 
also call AddGrowableRow/Col() for wxGridBagSizer

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

15 years agocall wxFlexGridSizer::AddGrowableRow/Col() only after creating the sizer children...
Vadim Zeitlin [Tue, 23 Dec 2008 22:33:08 +0000 (22:33 +0000)] 
call wxFlexGridSizer::AddGrowableRow/Col() only after creating the sizer children, otherwise row/col index could be out of range (#10294)

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

15 years agoDon't allow concurrent requests, check return message of async request
Robert Roebling [Tue, 23 Dec 2008 20:46:46 +0000 (20:46 +0000)] 
Don't allow concurrent requests, check return message of async request

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

15 years agoFixed crash when expanding/collapsing categories too quickly (re-entrancy issue)
Jaakko Salli [Tue, 23 Dec 2008 20:09:19 +0000 (20:09 +0000)] 
Fixed crash when expanding/collapsing categories too quickly (re-entrancy issue)

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

15 years agoAdded grid event classes to the events group in docs.
Bryan Petty [Tue, 23 Dec 2008 16:38:30 +0000 (16:38 +0000)] 
Added grid event classes to the events group in docs.

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

15 years agoFixed a VC6 warning (hopefully)
Jaakko Salli [Tue, 23 Dec 2008 15:33:28 +0000 (15:33 +0000)] 
Fixed a VC6 warning (hopefully)

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

15 years agodon't use \u escapes, VC6 doesn't understand them
Vadim Zeitlin [Tue, 23 Dec 2008 15:32:51 +0000 (15:32 +0000)] 
don't use \u escapes, VC6 doesn't understand them

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

15 years agoset correct properties for the new files
Vadim Zeitlin [Tue, 23 Dec 2008 15:29:28 +0000 (15:29 +0000)] 
set correct properties for the new files

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

15 years agowxDataViewCtrl::IsExpanded should work now under OS X, as well
Robert Roebling [Tue, 23 Dec 2008 14:57:19 +0000 (14:57 +0000)] 
wxDataViewCtrl::IsExpanded should work now under OS X, as well

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

15 years agoAdd wxDataViewCtrl::ExpandAncestors() and call it from both EnsureVisible() and Select()
Robert Roebling [Tue, 23 Dec 2008 14:56:07 +0000 (14:56 +0000)] 
Add wxDataViewCtrl::ExpandAncestors() and call it from both EnsureVisible() and Select()

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

15 years agoAdded pseudo-asynchronous clipboard implemenation to all ports excepts for GTK+
Robert Roebling [Tue, 23 Dec 2008 12:05:06 +0000 (12:05 +0000)] 
Added pseudo-asynchronous clipboard implemenation to all ports excepts for GTK+

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

15 years agoreverted yet another accidental commit of testing code in r57505
Vadim Zeitlin [Tue, 23 Dec 2008 00:35:18 +0000 (00:35 +0000)] 
reverted yet another accidental commit of testing code in r57505

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

15 years agoverify that we don't have more items than our number of rows/columns allows (See...
Vadim Zeitlin [Tue, 23 Dec 2008 00:21:29 +0000 (00:21 +0000)] 
verify that we don't have more items than our number of rows/columns allows (See #10294)

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

15 years agouse wxFlexGridSizer correctly (fixes #10294)
Vadim Zeitlin [Tue, 23 Dec 2008 00:20:33 +0000 (00:20 +0000)] 
use wxFlexGridSizer correctly (fixes #10294)

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

15 years agosplit wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency...
Vadim Zeitlin [Mon, 22 Dec 2008 22:58:49 +0000 (22:58 +0000)] 
split wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency with all the other controls; provide access to new/old value of the cell in the event object

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

15 years agono changes, just don't use "any more" thrice in a row
Vadim Zeitlin [Mon, 22 Dec 2008 22:44:03 +0000 (22:44 +0000)] 
no changes, just don't use "any more" thrice in a row

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

15 years agouse CanSetValueAs() instead of CanGetValueAs() in wxGridCellBoolEditor::EndEdit
Vadim Zeitlin [Mon, 22 Dec 2008 21:42:13 +0000 (21:42 +0000)] 
use CanSetValueAs() instead of CanGetValueAs() in wxGridCellBoolEditor::EndEdit

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

15 years agocorrect Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)
Vadim Zeitlin [Mon, 22 Dec 2008 19:50:17 +0000 (19:50 +0000)] 
correct Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)

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

15 years agonon-pch build fixes
Paul Cornett [Mon, 22 Dec 2008 17:11:15 +0000 (17:11 +0000)] 
non-pch build fixes

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

15 years agoAdded clipboard sample check to configure.in, other changes after rebaking with Bakef...
Robert Roebling [Mon, 22 Dec 2008 14:03:09 +0000 (14:03 +0000)] 
Added clipboard sample check to configure.in, other changes after rebaking with Bakefile 0.25

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

15 years agoundid change accidentally committed as part of r57093 but which didn't have anything...
Vadim Zeitlin [Mon, 22 Dec 2008 13:34:12 +0000 (13:34 +0000)] 
undid change accidentally committed as part of r57093 but which didn't have anything to do with it and resulted in #10253

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

15 years agofix typo in r57455 which totally broke modal dialogs display (close #10291)
Vadim Zeitlin [Mon, 22 Dec 2008 12:03:04 +0000 (12:03 +0000)] 
fix typo in r57455 which totally broke modal dialogs display (close #10291)

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

15 years agorebake after correction typo in wx/generic/headerctrlg.h name
Vadim Zeitlin [Mon, 22 Dec 2008 11:52:30 +0000 (11:52 +0000)] 
rebake after correction typo in wx/generic/headerctrlg.h name

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

15 years agoRegen after adding clipboard sample
Robert Roebling [Sun, 21 Dec 2008 22:36:27 +0000 (22:36 +0000)] 
Regen after adding clipboard sample

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

15 years agoRegen using newest bakefile
Robert Roebling [Sun, 21 Dec 2008 22:35:48 +0000 (22:35 +0000)] 
Regen using newest bakefile

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

15 years agoAdded bakefiles makefiles
Robert Roebling [Sun, 21 Dec 2008 22:22:14 +0000 (22:22 +0000)] 
Added bakefiles makefiles

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

15 years agoForgot to commit
Robert Roebling [Sun, 21 Dec 2008 22:17:16 +0000 (22:17 +0000)] 
Forgot to commit

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

15 years agoAdded experimental async clipboard format query
Robert Roebling [Sun, 21 Dec 2008 22:15:50 +0000 (22:15 +0000)] 
Added experimental async clipboard format query

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

15 years agoAdded clipboard sample
Robert Roebling [Sun, 21 Dec 2008 22:13:54 +0000 (22:13 +0000)] 
Added clipboard sample

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

15 years agoAdded clipbaord sample
Robert Roebling [Sun, 21 Dec 2008 22:12:21 +0000 (22:12 +0000)] 
Added clipbaord sample

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

15 years agofix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)
Vadim Zeitlin [Sun, 21 Dec 2008 12:16:06 +0000 (12:16 +0000)] 
fix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)

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

15 years agocorrect wrong #endif position which prevented ListCtrlTestCase::ItemRect() from being...
Vadim Zeitlin [Sun, 21 Dec 2008 02:58:41 +0000 (02:58 +0000)] 
correct wrong #endif position which prevented ListCtrlTestCase::ItemRect() from being compiled under non-MSW

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

15 years agoreally fix the length of the string returned by wxConvertStringToOle() (#10056)
Vadim Zeitlin [Sun, 21 Dec 2008 02:57:06 +0000 (02:57 +0000)] 
really fix the length of the string returned by wxConvertStringToOle() (#10056)

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

15 years agofix for compilation with newer DMC headers (see #10112)
Vadim Zeitlin [Sun, 21 Dec 2008 02:48:45 +0000 (02:48 +0000)] 
fix for compilation with newer DMC headers (see #10112)

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

15 years agoadd popup sample to the workspace (fixes #10162)
Vadim Zeitlin [Sun, 21 Dec 2008 02:44:00 +0000 (02:44 +0000)] 
add popup sample to the workspace (fixes #10162)

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

15 years agofix unused variable warning (part of #10162)
Vadim Zeitlin [Sun, 21 Dec 2008 02:41:59 +0000 (02:41 +0000)] 
fix unused variable warning (part of #10162)

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

15 years agoclose the handle returned by OpenProcessToken() (fixes #10129)
Vadim Zeitlin [Sun, 21 Dec 2008 02:34:34 +0000 (02:34 +0000)] 
close the handle returned by OpenProcessToken() (fixes #10129)

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

15 years agodon't show assert message boxes in debug build but throw an exception if an assert...
Vadim Zeitlin [Sun, 21 Dec 2008 02:28:55 +0000 (02:28 +0000)] 
don't show assert message boxes in debug build but throw an exception if an assert unexpectedly fails; do check that expected asserts are generated

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

15 years agofix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)
Vadim Zeitlin [Sun, 21 Dec 2008 02:13:58 +0000 (02:13 +0000)] 
fix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)

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

15 years agoadd wxLogLastError() calls if Shell_NotifyIcon() fails (closes #10222)
Vadim Zeitlin [Sun, 21 Dec 2008 01:43:56 +0000 (01:43 +0000)] 
add wxLogLastError() calls if Shell_NotifyIcon() fails (closes #10222)

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

15 years agoremove m_endModalCalled flag, it seems to be unnecessary
Vadim Zeitlin [Sun, 21 Dec 2008 01:37:39 +0000 (01:37 +0000)] 
remove m_endModalCalled flag, it seems to be unnecessary

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

15 years agodon't restore the focus manually after closing the dialog, default Windows behaviour...
Vadim Zeitlin [Sun, 21 Dec 2008 01:33:15 +0000 (01:33 +0000)] 
don't restore the focus manually after closing the dialog, default Windows behaviour seems to work just fine now (see #10240)

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

15 years agoreplace wxPostEvent with wxQueueEvent and update the thread sample description (the...
Francesco Montorsi [Sat, 20 Dec 2008 21:29:20 +0000 (21:29 +0000)] 
replace wxPostEvent with wxQueueEvent and update the thread sample description (the sample doesn't shows usage of wxMutexGuiEnter/Leave)

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

15 years agomention multi-core systems and wxThread::GetCPUCount
Francesco Montorsi [Sat, 20 Dec 2008 21:26:25 +0000 (21:26 +0000)] 
mention multi-core systems and wxThread::GetCPUCount

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

15 years agoFully conform to the documented statement according to which names of properties...
Jaakko Salli [Sat, 20 Dec 2008 16:01:13 +0000 (16:01 +0000)] 
Fully conform to the documented statement according to which names of properties with non-root, non-category parent are not stored in the per-page hash map.

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

15 years agoFixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChi...
Jaakko Salli [Sat, 20 Dec 2008 15:47:05 +0000 (15:47 +0000)] 
Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()

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

15 years agoCall Expand on an item's parent chain in EnsureVisible
Robert Roebling [Sat, 20 Dec 2008 15:11:38 +0000 (15:11 +0000)] 
Call Expand on an item's parent chain in EnsureVisible

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

15 years agoFixes #10288: wxDataViewCtrl missing selection change event
Robert Roebling [Fri, 19 Dec 2008 17:26:29 +0000 (17:26 +0000)] 
Fixes #10288: wxDataViewCtrl missing selection change event

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

15 years agoadd missing header to dfb
Chris Elliott [Fri, 19 Dec 2008 16:46:26 +0000 (16:46 +0000)] 
add missing header to dfb

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

15 years agoImplemented wxBitmapToggleButton generically for now
Robert Roebling [Fri, 19 Dec 2008 16:04:31 +0000 (16:04 +0000)] 
Implemented wxBitmapToggleButton generically for now

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

15 years agowxImage::ConvertToBitmap() doesn't exist anymore
Robert Roebling [Fri, 19 Dec 2008 15:43:17 +0000 (15:43 +0000)] 
wxImage::ConvertToBitmap() doesn't exist anymore

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

15 years agoMention wxRearrangeCtrl, wxFileCtrl
Robert Roebling [Fri, 19 Dec 2008 13:57:17 +0000 (13:57 +0000)] 
Mention wxRearrangeCtrl, wxFileCtrl

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Fri, 19 Dec 2008 13:36:33 +0000 (13:36 +0000)] 
Update OpenVMS compile support

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

15 years agodefine USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)
Vadim Zeitlin [Fri, 19 Dec 2008 09:58:49 +0000 (09:58 +0000)] 
define USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Fri, 19 Dec 2008 09:45:15 +0000 (09:45 +0000)] 
Update OpenVMS compile support

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

15 years agoCorrect AssignTempFile docs
Robert Roebling [Thu, 18 Dec 2008 21:26:34 +0000 (21:26 +0000)] 
Correct AssignTempFile docs

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

15 years agoAdded missing g to file name of headerctrlg.h
Robert Roebling [Thu, 18 Dec 2008 20:27:05 +0000 (20:27 +0000)] 
Added missing g to file name of headerctrlg.h

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

15 years agoRecalculate display (and scrollbars etc) before calling EnsureVisible()
Robert Roebling [Thu, 18 Dec 2008 16:38:23 +0000 (16:38 +0000)] 
Recalculate display (and scrollbars etc) before calling EnsureVisible()

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

15 years agoMinor stream class changes
Robert Roebling [Wed, 17 Dec 2008 22:42:05 +0000 (22:42 +0000)] 
Minor stream class changes

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

15 years agoCorrect wxDataViewCtrl::IsExpanded and add test for it
Robert Roebling [Wed, 17 Dec 2008 22:26:40 +0000 (22:26 +0000)] 
Correct wxDataViewCtrl::IsExpanded and add test for it

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

15 years agoimplement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)
Vadim Zeitlin [Wed, 17 Dec 2008 22:19:41 +0000 (22:19 +0000)] 
implement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)

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

15 years agoVC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves
Vadim Zeitlin [Wed, 17 Dec 2008 15:22:16 +0000 (15:22 +0000)] 
VC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves

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

15 years agodon't scroll to the child which gets focus if it is already fully visible; more impor...
Vadim Zeitlin [Wed, 17 Dec 2008 14:46:09 +0000 (14:46 +0000)] 
don't scroll to the child which gets focus if it is already fully visible; more importantly, don't do anything if we can't make it fully visible anyhow (fixes bug in the comment 13 of #9563)

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

15 years agoadd u to file and lib path
Chris Elliott [Wed, 17 Dec 2008 14:34:11 +0000 (14:34 +0000)] 
add u to file and lib path

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

15 years agocast both ints to doubles for the X and Y scale factors
Chris Elliott [Wed, 17 Dec 2008 14:21:57 +0000 (14:21 +0000)] 
cast both ints to doubles for the X and Y scale factors

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

15 years agouse GetFileAttributes() to check for readonly files under Win9x, the NT method doesn...
Vadim Zeitlin [Wed, 17 Dec 2008 14:19:43 +0000 (14:19 +0000)] 
use GetFileAttributes() to check for readonly files under Win9x, the NT method doesn't seem to work there (see #4111)

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