Vadim Zeitlin
|
6e7fd3ca03
|
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
|
2008-12-26 22:58:20 +00:00 |
|
Vadim Zeitlin
|
952f427728
|
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 22:51:51 +00:00 |
|
Vadim Zeitlin
|
00414faf34
|
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
|
2008-12-26 22:50:50 +00:00 |
|
Vadim Zeitlin
|
9af42efda6
|
added wxEventLoop::DispatchTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 22:28:34 +00:00 |
|
Vadim Zeitlin
|
aa8cbe0b64
|
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
|
2008-12-26 22:27:02 +00:00 |
|
Vadim Zeitlin
|
22185a1f15
|
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
|
2008-12-26 20:20:46 +00:00 |
|
Jaakko Salli
|
f521bae665
|
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
|
2008-12-26 18:46:08 +00:00 |
|
Vadim Zeitlin
|
2f1c8faf2c
|
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
|
2008-12-26 14:39:04 +00:00 |
|
Vadim Zeitlin
|
5c1193e090
|
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
|
2008-12-26 14:33:52 +00:00 |
|
Vadim Zeitlin
|
78014c105d
|
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
|
2008-12-26 13:42:30 +00:00 |
|
Francesco Montorsi
|
6b6663be88
|
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
|
2008-12-26 12:24:18 +00:00 |
|
Vadim Zeitlin
|
74a3342702
|
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
|
2008-12-26 00:01:17 +00:00 |
|
Robert Roebling
|
1a27a87d53
|
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
|
2008-12-25 22:05:29 +00:00 |
|
Robert Roebling
|
e66a89eda9
|
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
|
2008-12-25 20:40:24 +00:00 |
|
Vadim Zeitlin
|
5b90e570c9
|
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
|
2008-12-25 20:28:14 +00:00 |
|
Vadim Zeitlin
|
c6b1063250
|
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
|
2008-12-25 20:27:35 +00:00 |
|
Vadim Zeitlin
|
e8d9821d75
|
remove the ugly INSTANCE macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 20:06:53 +00:00 |
|
Vadim Zeitlin
|
d8abb95f4a
|
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
|
2008-12-25 20:03:15 +00:00 |
|
Vadim Zeitlin
|
9508a3e9a0
|
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
|
2008-12-25 19:52:00 +00:00 |
|
Vadim Zeitlin
|
de4c659eda
|
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
|
2008-12-25 19:33:33 +00:00 |
|
Vadim Zeitlin
|
f2c94e8af5
|
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
|
2008-12-25 19:32:12 +00:00 |
|
Vadim Zeitlin
|
116de99148
|
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
|
2008-12-25 19:12:43 +00:00 |
|
Vadim Zeitlin
|
2606716181
|
rename gsockmsw files to sockmsw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 19:10:46 +00:00 |
|
Vadim Zeitlin
|
b158f13e16
|
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
|
2008-12-25 18:49:29 +00:00 |
|
Vadim Zeitlin
|
bb20575e6e
|
rename gsockmsw files to sockmsw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 18:41:13 +00:00 |
|
Vadim Zeitlin
|
78c369345d
|
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
|
2008-12-25 18:37:20 +00:00 |
|
Vadim Zeitlin
|
c80e740726
|
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
|
2008-12-25 18:32:09 +00:00 |
|
Vadim Zeitlin
|
07792edb2e
|
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
|
2008-12-25 18:29:08 +00:00 |
|
Vadim Zeitlin
|
e03e94b037
|
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
|
2008-12-25 17:03:20 +00:00 |
|
Vadim Zeitlin
|
b0e87e57c3
|
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
|
2008-12-25 16:47:33 +00:00 |
|
Vadim Zeitlin
|
e4de7a7759
|
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
|
2008-12-25 13:10:55 +00:00 |
|
Vadim Zeitlin
|
9f2968ad0b
|
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
|
2008-12-25 13:03:24 +00:00 |
|
Vadim Zeitlin
|
0aa619b532
|
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
|
2008-12-25 12:45:59 +00:00 |
|
Vadim Zeitlin
|
6ecc02f354
|
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
|
2008-12-25 12:41:01 +00:00 |
|
Vadim Zeitlin
|
040745d7fc
|
don't use deprecated OnScroll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 12:38:58 +00:00 |
|
Vadim Zeitlin
|
bc448be341
|
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
|
2008-12-25 12:27:20 +00:00 |
|
Vadim Zeitlin
|
bca1504431
|
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
|
2008-12-25 12:23:28 +00:00 |
|
Vadim Zeitlin
|
fcdd533591
|
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
|
2008-12-24 23:46:13 +00:00 |
|
Vadim Zeitlin
|
1ddb6d2857
|
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
|
2008-12-24 21:58:05 +00:00 |
|
Vadim Zeitlin
|
938161a6a4
|
compilation fix after wxScrollHelperNative renaming to wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 17:13:20 +00:00 |
|
Vadim Zeitlin
|
29e1398fa0
|
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
|
2008-12-24 16:43:30 +00:00 |
|
Vadim Zeitlin
|
69e9752529
|
provide generic implementation for ShowScrollbars() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 16:11:02 +00:00 |
|
Vadim Zeitlin
|
6362d82b3e
|
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
|
2008-12-24 15:58:37 +00:00 |
|
Robert Roebling
|
a805de23ff
|
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
|
2008-12-24 15:45:34 +00:00 |
|
Vadim Zeitlin
|
0b0f6f87d5
|
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
|
2008-12-24 15:11:00 +00:00 |
|
Vadim Zeitlin
|
9675a49d4e
|
add example of synchronizing 2 scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 14:55:49 +00:00 |
|
Paul Cornett
|
11d8dfd2fb
|
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
|
2008-12-24 07:51:15 +00:00 |
|
Vadim Zeitlin
|
6a5a7fba9d
|
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
|
2008-12-24 01:28:55 +00:00 |
|
Vadim Zeitlin
|
16a6495db3
|
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
|
2008-12-24 00:41:23 +00:00 |
|
Vadim Zeitlin
|
636a53b35f
|
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
|
2008-12-24 00:35:53 +00:00 |
|