]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoAdd Wonderful World of wxWidgets 3.0.
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

15 years agoblind fix for wxMac (notebook headers shouldn't be needed by wxStaticText)
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

15 years agomap EAGAIN to wxSOCKET_WOULDBLOCK too as tit has this meaning for read() (even though...
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

15 years agogot rid of wxSocketBase::m_error which could get out of sync with wxSocketImpl::m_err...
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

15 years agodon't assert (and then crash) in wxEvent::Clone() checking code
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

15 years agoour sockets are always non-blocking anyhow so throw away all the code dealing with...
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

15 years agoremove deprecated wxTabCtrl also from makefiles
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

15 years agoremove the long deprecated wxTabCtrl class
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

15 years agofix wxSashEvent, wxFindDialogEvent, wxSplitterEvent to implement Clone() correctly
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

15 years agouse accelerators for menu items and stock menu item labels for stock IDs
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

15 years agofix Purpose comment
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

15 years agoFix wxCalendarEvent and wxTextUrlEvent event classes implementing Clone() correctly...
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

15 years agodon't use backspace as accelerator; at least GTK+ doesn't like it
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

15 years agoname also QueueEvent
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

15 years agodo not document Clone() overloads only for some classes; Clone() is reimplemented...
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

15 years agoremove wxClassInfo::InitializeClasses docs; that function does not exist anymore
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

15 years agofix wxTimerEvent and wxTreeCtrl to use IMPLEMENT_DYNAMIC_CLASS macro
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

15 years agoimplement a runtime check to test if wxEvent::Clone is implemented correctly for...
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

15 years agomake the test really use the different socket flags and disable the use of wxSOCKET_N...
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

15 years agoset m_closed to true when we get connection lost notification
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

15 years agomore CPPUNIT_ASSERT replacements with CPPUNIT_ASSERT_EQUAL
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

15 years agoalso include wxSocket test in the GUI test as different event loop implementations...
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

15 years agomake the test really use the event loop in its second half (this already was the...
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

15 years agoimplement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to...
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

15 years agodo not use @b when referencing to functions; use final () to enable doxygen autolink
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

15 years agouse HasFlag(wxXX) instead of GetWindowStyle() & wxXX; it's more readable
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

15 years agoautolink CreateButtonSizer
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

15 years agoalso initialize option value length before calling getsockopt()
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

15 years agoinitialize name length before calling getsockname()
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

15 years agomove generic DispatchTimeout() implementation in the header as evtloopcmn.cpp is...
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

15 years agotest sockets both with and without event loop
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

15 years agoPCH-less compilation fix
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

15 years agouse DispatchTimeout() and/or select() with timeout instead of polling loop in wxSocke...
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

15 years agoadded wxEventLoop::DispatchTimeout()
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

15 years agoreturn true if we did anything in NotifyExpired()
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

15 years agoremove m_use_events from Unix wxSocket implementation, we always need asynchronous...
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

15 years agoHave wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on...
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

15 years agowe don't need to use select() in DoWait() if we're receiving notifications about...
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

15 years agoremember the events we were notified about in OnRequest() (not used yet but necessary...
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

15 years agodon't use function syntax which /bin/sh doesn't grok
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

15 years agodon't use dot in brackets as doxygen renders dot with a line break
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

15 years agocorrect typo in one of the last changes
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

15 years agoOnly test for centre flag of minor direction and ignore the other in wxBoxSizer ...
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

15 years agoAvoid redraw artifacts from the border after resizing
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

15 years agouse INVALID_SOCKET instead of -1 to avoid signed/unsigned comparison warning
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

15 years agorefactor Input/Output_Timeout: don't duplicate the same code in MSW/Unix code and...
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

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