]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Thu, 1 Jan 2009 15:17:05 +0000 (15:17 +0000)]
VC6 compilation fix after r57689 (closes #10318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 18:52:32 +0000 (18:52 +0000)]
replace dynamic_cast<> with wxDynamicCast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57697
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 17:31:32 +0000 (17:31 +0000)]
remove tabs added by error in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 31 Dec 2008 17:17:20 +0000 (17:17 +0000)]
Fix for OS X Cocoa build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57694
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 17:07:30 +0000 (17:07 +0000)]
allow the user to pass NULL for the status widths; this was a feature supported by generic and MSW status bar but was not documented; document it; add menu item in the statbar sample for testing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57693
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 15:27:00 +0000 (15:27 +0000)]
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57692
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 14:39:38 +0000 (14:39 +0000)]
customize the rearrange dialog even more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57691
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 14:26:52 +0000 (14:26 +0000)]
make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 14:14:07 +0000 (14:14 +0000)]
added SetLabelText() and EscapeMnemonics()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 13:27:28 +0000 (13:27 +0000)]
added default ctor and Create() to wxRearrangeDialog for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 13:08:12 +0000 (13:08 +0000)]
build fix for wxMSW statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 12:28:05 +0000 (12:28 +0000)]
get rid of the wxListString class in wxStatusBar code; introduce a wxStatusBarPane class which enormously simplifies the code handling stacks/widths/styles of panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 11:50:05 +0000 (11:50 +0000)]
compilation fix for LoadFile(name, type) calls which became ambiguous after the base class LoadFile() unhiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57685
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 30 Dec 2008 23:56:04 +0000 (23:56 +0000)]
document wxEVT_NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 23:30:09 +0000 (23:30 +0000)]
include errno.h for ENOMEM (closes #10309)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 23:19:06 +0000 (23:19 +0000)]
extract AddColumnsItems() from ShowColumnsMenu() to make it possible to reuse it in custom menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 30 Dec 2008 18:22:24 +0000 (18:22 +0000)]
fix documentation for wxList and wxNode; doxygen see them as templates and the @class command confuses it; add link to C++ std::list docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 30 Dec 2008 18:19:49 +0000 (18:19 +0000)]
no real change; make more readable the Aliases section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57673
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 16:36:39 +0000 (16:36 +0000)]
handle exceptions thrown from overridden wxView::OnCreate() gracefully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 15:07:04 +0000 (15:07 +0000)]
handle loss of connection explicitly in Read/Write() to fix socket IO under Unix after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 15:06:34 +0000 (15:06 +0000)]
compilation fix for g++ which doesn't like using wxLogMessage in wxON_BLOCK_SCOPE_EXIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 14:50:23 +0000 (14:50 +0000)]
try reading/writing to/from the socket before blocking on it, this seems more efficient and is required to avoid blocking indefinitely under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 14:49:24 +0000 (14:49 +0000)]
more doc fixes, to wording and to return types ('&'s have been lost)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 14:36:07 +0000 (14:36 +0000)]
try to explain socket flags better (although bad ideas don't become good even when explained correctly...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 13:51:02 +0000 (13:51 +0000)]
prettify and simplify the URL test; use a URL more likely to run a web server than localhost by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 13:18:22 +0000 (13:18 +0000)]
fix memory leak in URL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:53:44 +0000 (12:53 +0000)]
run wxURL test both with and without the event loop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:53:04 +0000 (12:53 +0000)]
added wxURL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:52:38 +0000 (12:52 +0000)]
fix handling of errors due to the other end of the socket being closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:09:06 +0000 (12:09 +0000)]
don't assert if MsgWaitForMultipleObjects() returns WAIT_OBJECT_0 but there are no messages in the queue -- this does happen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:08:00 +0000 (12:08 +0000)]
don't assert if the socket has been closed since the async notification generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:06:54 +0000 (12:06 +0000)]
fix MSVC warning about possibly uninitialized variable in Ellipsize() (which indicated possibly incorrect usage of this function)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 11:45:07 +0000 (11:45 +0000)]
document Initialize/Shutdown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 11:27:41 +0000 (11:27 +0000)]
added wxSocket::ShutdownOutput() (closes #9229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 11:01:28 +0000 (11:01 +0000)]
ensure that WIN32 is defined, winsock2.h relies on it being defined and fails in interesting ways (by silently changing the struct alignment resulting in difficult to diagnose crashes later) if it isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57654
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 00:11:04 +0000 (00:11 +0000)]
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings about unhandled enum value in switch in existing code (including our own sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57653
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 00:07:48 +0000 (00:07 +0000)]
fix compilation due to the fact that wx/socket.h no longer includes system socket headers and so AF_INET (which we don't need here in the first place) is not defined any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 00:01:54 +0000 (00:01 +0000)]
removed not doing anything and not compiling code from DoAssociation()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 23:21:13 +0000 (23:21 +0000)]
no real change; just reordered some implementations before real commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 22:05:33 +0000 (22:05 +0000)]
mention wxEVT_GRID_CELL_CHANGED-related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 29 Dec 2008 17:58:32 +0000 (17:58 +0000)]
Update editor control font centrally, in wxPropertyGrid::RefreshEditor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 16:38:41 +0000 (16:38 +0000)]
documented IsExtensionSupported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 16:06:53 +0000 (16:06 +0000)]
add the HTML string of the selected item to wxSimpleHtmlListBox events (closes #10159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:50:46 +0000 (15:50 +0000)]
list also wxSystemOptions next to wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:50:27 +0000 (15:50 +0000)]
document the wince.dialog.real-ok-cancel option (closes #10242)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 15:20:51 +0000 (15:20 +0000)]
add errno.h to fix Mac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:16:37 +0000 (15:16 +0000)]
fix memory leak while testing for correct Clone() implementation (closes #10304)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:03:39 +0000 (15:03 +0000)]
use a common m_isInsideYield flag instead of static booleans in all ports; add a IsYielding() test which can help to fix unwanted re-entrancies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 14:51:49 +0000 (14:51 +0000)]
build fixes for wxUSE_IPV6==1 under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57636
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 14:35:48 +0000 (14:35 +0000)]
replaced unweildy GAddress functions with wxSockAddressImpl class, similarly to GSocket -> wxSocketImpl transition; share more code between IPv4 and IPv6 branches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57635
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 14:14:39 +0000 (14:14 +0000)]
done various @todo items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57634
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 12:11:48 +0000 (12:11 +0000)]
add the -headerpad_max_install_names option to the screenshotgen utility to fix the buildbot builds on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57633
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 10:41:39 +0000 (10:41 +0000)]
PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 00:39:12 +0000 (00:39 +0000)]
call SetLabel() in Create() in order to run markup/ellipsization-support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 00:37:50 +0000 (00:37 +0000)]
use correct wxELLIPSIZE_* constants after r57625
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57626
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 21:16:00 +0000 (21:16 +0000)]
move Ellipsize() to wxControl so it can be easily used by other controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57625
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 19:50:21 +0000 (19:50 +0000)]
fix miscellaneous doxygen warnings; IMPORTANT: never leave empty lines inside a @beginEventTable/@endEventTable block (or similar blocks); it results in difficult-to-fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57624
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 19:30:43 +0000 (19:30 +0000)]
no real change: rename wxPendingEvents to wxHandlersWithPendingEvents since its current name is misleading; that's not a list of events but a list of event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 19:24:13 +0000 (19:24 +0000)]
refactor wxStaticText::Ellipsize so it's a static public utility function; document it and a couple of other useful functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Dec 2008 14:32:49 +0000 (14:32 +0000)]
implement DispatchTimeout() for wxOSX/Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Dec 2008 14:25:00 +0000 (14:25 +0000)]
implement DispatchTimeout() for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57620
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 11:34:30 +0000 (11:34 +0000)]
no change, just add comment about wxTheColourDatabase deletion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57619
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 11:32:37 +0000 (11:32 +0000)]
restore tabg.h and tabg.cpp for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57618
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 11:06:31 +0000 (11:06 +0000)]
restore tabg.cpp for wxMotif's wxNotebook implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 01:29:37 +0000 (01:29 +0000)]
fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime check for correct implementation of the Clone() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57615
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 22:49:46 +0000 (22:49 +0000)]
move Read/Write() to common code, there was almost nothing platform-specific in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57613
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 22:03:34 +0000 (22:03 +0000)]
wxSocketImpl::Shutdown() doesn't need to be virtual, its implementation can the same in Unix and Win32 versions (events are already disabled by Close() so there is no need to do it again explicitly under Unix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57611
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 21:56:05 +0000 (21:56 +0000)]
don't remove/add back the socket to the list of inputs monitored by the event loop all the time but just leave it there until the socket is destroyed; this should be beneficial from performance point of view (although hard to measure) and also makes the code simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57610
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 21:49:35 +0000 (21:49 +0000)]
remove the now unused Connect_Timeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57609
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 21:48:42 +0000 (21:48 +0000)]
remove the badle defined and apparently unnecessary wxSocketImpl::m_detected field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57608
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 21:30:02 +0000 (21:30 +0000)]
compilation fix: use IsServer() instead of m_server directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57607
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 18:42:33 +0000 (18:42 +0000)]
(blind) fix for unneeded inclusions of headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57606
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 27 Dec 2008 18:37:38 +0000 (18:37 +0000)]
Add Wonderful World of wxWidgets 3.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57605
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 18:35:08 +0000 (18:35 +0000)]
blind fix for wxMac (notebook headers shouldn't be needed by wxStaticText)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57604
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 18:01:59 +0000 (18:01 +0000)]
map EAGAIN to wxSOCKET_WOULDBLOCK too as tit has this meaning for read() (even though it doesn't have it for connect())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57603
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 17:56:03 +0000 (17:56 +0000)]
got rid of wxSocketBase::m_error which could get out of sync with wxSocketImpl::m_error -- one error indicator is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57602
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 27 Dec 2008 17:47:55 +0000 (17:47 +0000)]
don't assert (and then crash) in wxEvent::Clone() checking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57601
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 17:15:22 +0000 (17:15 +0000)]
our sockets are always non-blocking anyhow so throw away all the code dealing with checking if they're blocking; also merge Unix/Win32 versions of connect() and accept() handling as they were almost identical except for the different checking of the return value which was factored out into a platform-specific GetLastError() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57600
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 15:26:22 +0000 (15:26 +0000)]
remove deprecated wxTabCtrl also from makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57598
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 14:58:12 +0000 (14:58 +0000)]
remove the long deprecated wxTabCtrl class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57597
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 14:48:26 +0000 (14:48 +0000)]
fix wxSashEvent, wxFindDialogEvent, wxSplitterEvent to implement Clone() correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57596
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 14:28:46 +0000 (14:28 +0000)]
use accelerators for menu items and stock menu item labels for stock IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57595
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 14:24:37 +0000 (14:24 +0000)]
fix Purpose comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57594
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 14:23:38 +0000 (14:23 +0000)]
Fix wxCalendarEvent and wxTextUrlEvent event classes implementing Clone() correctly (as pointed out by the new runtime check)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57593
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 14:21:35 +0000 (14:21 +0000)]
don't use backspace as accelerator; at least GTK+ doesn't like it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57592
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 13:46:31 +0000 (13:46 +0000)]
name also QueueEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57591
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 13:46:00 +0000 (13:46 +0000)]
do not document Clone() overloads only for some classes; Clone() is reimplemented in all event classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57590
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 13:42:14 +0000 (13:42 +0000)]
remove wxClassInfo::InitializeClasses docs; that function does not exist anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57589
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 13:40:49 +0000 (13:40 +0000)]
fix wxTimerEvent and wxTreeCtrl to use IMPLEMENT_DYNAMIC_CLASS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57588
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 13:38:40 +0000 (13:38 +0000)]
implement a runtime check to test if wxEvent::Clone is implemented correctly for all wxWidgets events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57587
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 11:41:30 +0000 (11:41 +0000)]
make the test really use the different socket flags and disable the use of wxSOCKET_NOWAIT as some tests fail in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57586
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 11:39:46 +0000 (11:39 +0000)]
set m_closed to true when we get connection lost notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57585
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 11:22:59 +0000 (11:22 +0000)]
more CPPUNIT_ASSERT replacements with CPPUNIT_ASSERT_EQUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57584
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 11:14:10 +0000 (11:14 +0000)]
also include wxSocket test in the GUI test as different event loop implementations may be used for console and GUI apps resulting in different bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57583
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 11:12:47 +0000 (11:12 +0000)]
make the test really use the event loop in its second half (this already was the intention before but it didn't work correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57582
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Dec 2008 11:01:39 +0000 (11:01 +0000)]
implement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to not use wxEventLoopImpl which it doesn't need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57581
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 27 Dec 2008 10:20:33 +0000 (10:20 +0000)]
do not use @b when referencing to functions; use final () to enable doxygen autolink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57580
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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