]>
git.saurik.com Git - wxWidgets.git/log
Francesco Montorsi [Sat, 27 Dec 2008 10:15:28 +0000 (10:15 +0000)]
use HasFlag(wxXX) instead of GetWindowStyle() & wxXX; it's more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57579
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 10:14:18 +0000 (10:14 +0000)]
autolink CreateButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57578
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 00:21:28 +0000 (00:21 +0000)]
also initialize option value length before calling getsockopt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57577
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 00:19:37 +0000 (00:19 +0000)]
initialize name length before calling getsockname()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57576
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 00:04:57 +0000 (00:04 +0000)]
move generic DispatchTimeout() implementation in the header as evtloopcmn.cpp is part of wxBase and so can't define a method of a wxCore class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57575
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 22:58:20 +0000 (22:58 +0000)]
test sockets both with and without event loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57574
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 22:51:51 +0000 (22:51 +0000)]
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57573
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 22:50:50 +0000 (22:50 +0000)]
use DispatchTimeout() and/or select() with timeout instead of polling loop in wxSocket::DoWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57572
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 22:28:34 +0000 (22:28 +0000)]
added wxEventLoop::DispatchTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57571
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 22:27:02 +0000 (22:27 +0000)]
return true if we did anything in NotifyExpired()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57570
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 20:20:46 +0000 (20:20 +0000)]
remove m_use_events from Unix wxSocket implementation, we always need asynchronous socket notifications now (and this was always the case under Windows anyhow), even if we don't always generate wx events corresponding to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57569
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 26 Dec 2008 18:46:08 +0000 (18:46 +0000)]
Have wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on property's modified-status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57568
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 14:39:04 +0000 (14:39 +0000)]
we don't need to use select() in DoWait() if we're receiving notifications about changes on our socket anyhow, this makes the code less efficient and, most importantly, much more confusing than necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57566
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 14:33:52 +0000 (14:33 +0000)]
remember the events we were notified about in OnRequest() (not used yet but necessary for upcoming changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57565
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 13:42:30 +0000 (13:42 +0000)]
don't use function syntax which /bin/sh doesn't grok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57564
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 26 Dec 2008 12:24:18 +0000 (12:24 +0000)]
don't use dot in brackets as doxygen renders dot with a line break
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57563
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Dec 2008 00:01:17 +0000 (00:01 +0000)]
correct typo in one of the last changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57562
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 25 Dec 2008 22:05:29 +0000 (22:05 +0000)]
Only test for centre flag of minor direction and ignore the other in wxBoxSizer (as before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57561
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 25 Dec 2008 20:40:24 +0000 (20:40 +0000)]
Avoid redraw artifacts from the border after resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57560
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 25 Dec 2008 20:28:14 +0000 (20:28 +0000)]
use INVALID_SOCKET instead of -1 to avoid signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57559
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 25 Dec 2008 20:27:35 +0000 (20:27 +0000)]
refactor Input/Output_Timeout: don't duplicate the same code in MSW/Unix code and also don't duplicate it for input and output, one function is enough for both
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57558
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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