]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agorestore SetSelection(-1, -1) behaviour which was broken during wxTextEntry refactoring
Vadim Zeitlin [Tue, 8 Jan 2008 19:08:58 +0000 (19:08 +0000)] 
restore SetSelection(-1, -1) behaviour which was broken during wxTextEntry refactoring

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

16 years agoLast part from weak ref patch for event sink disconnection
Robert Roebling [Tue, 8 Jan 2008 17:57:27 +0000 (17:57 +0000)] 
Last part from weak ref patch for event sink disconnection

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

16 years agoadd conversion to unspecified_bool_type to allow writing if(weakref)
Vadim Zeitlin [Tue, 8 Jan 2008 14:23:20 +0000 (14:23 +0000)] 
add conversion to unspecified_bool_type to allow writing if(weakref)

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

16 years agocompilation fix for !HAVE_STRPTIME case after ParseXXX() changes
Vadim Zeitlin [Tue, 8 Jan 2008 13:57:27 +0000 (13:57 +0000)] 
compilation fix for !HAVE_STRPTIME case after ParseXXX() changes

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

16 years agocompilation fix after wxWindowIDRef changes
Vadim Zeitlin [Tue, 8 Jan 2008 13:50:09 +0000 (13:50 +0000)] 
compilation fix after wxWindowIDRef changes

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

16 years agodocs
Robert Roebling [Tue, 8 Jan 2008 12:26:48 +0000 (12:26 +0000)] 
docs

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

16 years agomention some more changes
Robert Roebling [Tue, 8 Jan 2008 11:01:26 +0000 (11:01 +0000)] 
mention some more changes

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

16 years agoI assume ptr_scpd.h and ptr_shrd.h should only be in BASE_CMN_HDR and not in GUI_CMN_HDR
Robert Roebling [Tue, 8 Jan 2008 10:55:54 +0000 (10:55 +0000)] 
I assume ptr_scpd.h and ptr_shrd.h should only be in BASE_CMN_HDR and not in GUI_CMN_HDR

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

16 years agoAdded wxSharedPtr<T>
Robert Roebling [Tue, 8 Jan 2008 10:51:28 +0000 (10:51 +0000)] 
Added wxSharedPtr<T>

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

16 years agoUpdated wxTrackable to patch Weak references for wx - part 2
Robert Roebling [Tue, 8 Jan 2008 09:58:44 +0000 (09:58 +0000)] 
Updated wxTrackable to patch Weak references for wx - part 2

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

16 years agoUpdated wxWeakRef<T> to patch Weak references for wx - part 2, removed T*() and added...
Robert Roebling [Tue, 8 Jan 2008 09:55:21 +0000 (09:55 +0000)] 
Updated wxWeakRef<T> to patch Weak references for wx - part 2, removed T*() and added T* get(), other minor docs corr

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

16 years agospeed up ReadWord by using more efficient separator searching
Paul Cornett [Tue, 8 Jan 2008 06:05:07 +0000 (06:05 +0000)] 
speed up ReadWord by using more efficient separator searching

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

16 years agospeed up drawing text window in UTF8 build (something like 40 times faster in debug)
Paul Cornett [Tue, 8 Jan 2008 05:46:49 +0000 (05:46 +0000)] 
speed up drawing text window in UTF8 build (something like 40 times faster in debug)

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

16 years agoSTL build fix
Vadim Zeitlin [Tue, 8 Jan 2008 00:37:50 +0000 (00:37 +0000)] 
STL build fix

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

16 years agocompilation fix for STL build; also don't pass unknown string potentially containing...
Vadim Zeitlin [Tue, 8 Jan 2008 00:32:35 +0000 (00:32 +0000)] 
compilation fix for STL build; also don't pass unknown string potentially containing percent signs to printf-like functions

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

16 years agoCheck wxUSE_DATAVIEWCTRL
Robin Dunn [Tue, 8 Jan 2008 00:10:31 +0000 (00:10 +0000)] 
Check wxUSE_DATAVIEWCTRL

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

16 years agodoc syntax errors
Robert Roebling [Mon, 7 Jan 2008 19:58:12 +0000 (19:58 +0000)] 
doc syntax errors

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

16 years agoinitialize wxMSWSystemMenuFontModule stuff on demand only, there is no need to create...
Vadim Zeitlin [Mon, 7 Jan 2008 19:04:45 +0000 (19:04 +0000)] 
initialize wxMSWSystemMenuFontModule stuff on demand only, there is no need to create menu font if we never use owner-drawn menu items

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

16 years agoadded wxNativeFontInfo() ctor from LOGFONT, this is convenient for MSW code
Vadim Zeitlin [Mon, 7 Jan 2008 19:02:26 +0000 (19:02 +0000)] 
added wxNativeFontInfo() ctor from LOGFONT, this is convenient for MSW code

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

16 years agoadjust the minimal menu item height to be lesser than the menubar height; some code...
Vadim Zeitlin [Mon, 7 Jan 2008 18:50:07 +0000 (18:50 +0000)] 
adjust the minimal menu item height to be lesser than the menubar height; some code cleanup

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

16 years agodon't use wxSubwindows with a single element to store the dummy radio item, store...
Vadim Zeitlin [Mon, 7 Jan 2008 18:46:14 +0000 (18:46 +0000)] 
don't use wxSubwindows with a single element to store the dummy radio item, store it in radiobox itself (patch 1866053)

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

16 years agocheck that HWNDs are non-NULL before doing anything with them (part of patch 1866053)
Vadim Zeitlin [Mon, 7 Jan 2008 18:43:23 +0000 (18:43 +0000)] 
check that HWNDs are non-NULL before doing anything with them (part of patch 1866053)

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

16 years agoCorrect wxObjectDataPtr<> assignment from *T to not increase the ref count
Robert Roebling [Mon, 7 Jan 2008 15:12:46 +0000 (15:12 +0000)] 
Correct wxObjectDataPtr<> assignment from *T to not increase the ref count

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

16 years ago[ 1865141 ] wxNotebook::DeletePage can result in invalid page selection
Robert Roebling [Mon, 7 Jan 2008 13:02:51 +0000 (13:02 +0000)] 
1865141 ] wxNotebook::DeletePage can result in invalid page selection

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

16 years agotypo
Robert Roebling [Mon, 7 Jan 2008 12:18:34 +0000 (12:18 +0000)] 
typo

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

16 years agoCommit correct docs for wxwxScopedPtr
Robert Roebling [Mon, 7 Jan 2008 12:10:14 +0000 (12:10 +0000)] 
Commit correct docs for wxwxScopedPtr

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

16 years agoTemplatize wxScopedPtr
Robert Roebling [Mon, 7 Jan 2008 12:09:22 +0000 (12:09 +0000)] 
Templatize wxScopedPtr

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

16 years agoAdded docs to wxTrackable and wxWeakRef<T>
Robert Roebling [Mon, 7 Jan 2008 10:59:02 +0000 (10:59 +0000)] 
Added docs to wxTrackable and wxWeakRef<T>

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

16 years agodon't call wxString::Len() from operator==; use IsSameAs() instead of move the length...
Václav Slavík [Mon, 7 Jan 2008 10:27:35 +0000 (10:27 +0000)] 
don't call wxString::Len() from operator==; use IsSameAs() instead of move the length check to there (for non-UTF8 builds)

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

16 years agostore ids of sub-items directly in wxSubwindows instead of using a parallel data...
Vadim Zeitlin [Mon, 7 Jan 2008 01:54:33 +0000 (01:54 +0000)] 
store ids of sub-items directly in wxSubwindows instead of using a parallel data structure (patch 1865577)

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

16 years agocompilation fix for MSVC: remove implicit wxStringImpl::iterator conversion to pointe...
Vadim Zeitlin [Mon, 7 Jan 2008 01:46:42 +0000 (01:46 +0000)] 
compilation fix for MSVC: remove implicit wxStringImpl::iterator conversion to pointer as otherwise built-in operator+(void *, size_t) conflicts with our operator taking ptrdiff_t

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

16 years agocorrect wrong last commit
Vadim Zeitlin [Mon, 7 Jan 2008 01:36:24 +0000 (01:36 +0000)] 
correct wrong last commit

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

16 years agoadded another ParseFormat() overload for better backwards compatibility
Vadim Zeitlin [Mon, 7 Jan 2008 01:35:28 +0000 (01:35 +0000)] 
added another ParseFormat() overload for better backwards compatibility

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

16 years agoremoved useless inclusion of wx/datetime.h
Vadim Zeitlin [Mon, 7 Jan 2008 01:33:20 +0000 (01:33 +0000)] 
removed useless inclusion of wx/datetime.h

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

16 years agocompilation fix after wxDateTime::ParseFormat() changes
Vadim Zeitlin [Mon, 7 Jan 2008 01:20:45 +0000 (01:20 +0000)] 
compilation fix after wxDateTime::ParseFormat() changes

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

16 years agomake wxDateTime::ParseXXX() functions char*-friendly
Vadim Zeitlin [Mon, 7 Jan 2008 00:17:45 +0000 (00:17 +0000)] 
make wxDateTime::ParseXXX() functions char*-friendly

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

16 years agoadded WX_ASSERT_MESSAGE macro to simply using CPPUNIT_ASSERT_MESSAGE with wxString...
Vadim Zeitlin [Sun, 6 Jan 2008 22:57:09 +0000 (22:57 +0000)] 
added WX_ASSERT_MESSAGE macro to simply using CPPUNIT_ASSERT_MESSAGE with wxString::Format()

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

16 years agoAllow using socket from both wxBase and wxCore (adopting to changes from r50831)
Stefan Neis [Sun, 6 Jan 2008 22:47:01 +0000 (22:47 +0000)] 
Allow using socket from both wxBase and wxCore (adopting to changes from r50831)
Use Unix' gsocketiohandler files for wxBase.

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

16 years agoAdopted OS/2 to DC reorganisation (r50348).
Stefan Neis [Sun, 6 Jan 2008 22:37:10 +0000 (22:37 +0000)] 
Adopted OS/2 to DC reorganisation (r50348).

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

16 years agoonly provide ptrdiff_t versions of verious operator+/- working with iterators instead...
Vadim Zeitlin [Sun, 6 Jan 2008 22:27:01 +0000 (22:27 +0000)] 
only provide ptrdiff_t versions of verious operator+/- working with iterators instead of overloads for both int and size_t: this seems to be enough and the existing overloads were not enough for 64 bit builds where expressions such as iter+(ptr2-ptr1) didn't compile without extra casts

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

16 years agoset DEFAULT_wxUSE_AUTOID_MANAGEMENT to no under non-MSW platforms (required moving...
Vadim Zeitlin [Sun, 6 Jan 2008 22:23:20 +0000 (22:23 +0000)] 
set DEFAULT_wxUSE_AUTOID_MANAGEMENT to no under non-MSW platforms (required moving the toolkit detection earlier in configure)

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

16 years agoadded configure option for wxUSE_AUTOID_MANAGEMENT
Vadim Zeitlin [Sun, 6 Jan 2008 21:01:38 +0000 (21:01 +0000)] 
added configure option for wxUSE_AUTOID_MANAGEMENT

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

16 years agofix type in --enable-ico_cur help string
Vadim Zeitlin [Sun, 6 Jan 2008 20:37:57 +0000 (20:37 +0000)] 
fix type in --enable-ico_cur help string

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

16 years agoPCH-less compilation fix after last commit
Vadim Zeitlin [Sun, 6 Jan 2008 19:00:52 +0000 (19:00 +0000)] 
PCH-less compilation fix after last commit

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

16 years agofix crash in wxExecuteModule::OnExit() (never noticed before because it wasn't execut...
Vadim Zeitlin [Sun, 6 Jan 2008 19:00:09 +0000 (19:00 +0000)] 
fix crash in wxExecuteModule::OnExit() (never noticed before because it wasn't executed until the last commit)

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

16 years agoFix day names which were off by one (buildbot uses 0 for monday).
Michael Wetherell [Sun, 6 Jan 2008 18:26:02 +0000 (18:26 +0000)] 
Fix day names which were off by one (buildbot uses 0 for monday).

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

16 years agoMove a couple of builds as thier usual machines are down.
Michael Wetherell [Sun, 6 Jan 2008 18:24:34 +0000 (18:24 +0000)] 
Move a couple of builds as thier usual machines are down.

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

16 years agoadded wxWeakRef<T> (slightly modified patch 1860953)
Vadim Zeitlin [Sun, 6 Jan 2008 18:01:28 +0000 (18:01 +0000)] 
added wxWeakRef<T> (slightly modified patch 1860953)

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

16 years agosmall tweak to the close icon (patch 1674689)
Vadim Zeitlin [Sun, 6 Jan 2008 17:04:09 +0000 (17:04 +0000)] 
small tweak to the close icon (patch 1674689)

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

16 years agofix wxExecute thread shutdown and free wxExecuteData even if the associated process...
Vadim Zeitlin [Sun, 6 Jan 2008 17:01:05 +0000 (17:01 +0000)] 
fix wxExecute thread shutdown and free wxExecuteData even if the associated process is still running (bug 1863908); fix memory leaks when the asynchronously launched processes are still running in the sample too

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

16 years agoreturn false from Dispatch() if gtk_main_quit() was called (patch 1864846)
Vadim Zeitlin [Sun, 6 Jan 2008 15:26:16 +0000 (15:26 +0000)] 
return false from Dispatch() if gtk_main_quit() was called (patch 1864846)

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

16 years agouse wxFlexGridSizer for layout of the labels in the progress dialog (patch 1829312...
Vadim Zeitlin [Sun, 6 Jan 2008 15:05:57 +0000 (15:05 +0000)] 
use wxFlexGridSizer for layout of the labels in the progress dialog (patch 1829312); minor cleanup

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

16 years agoadd check for wxUSE_AUTOID_MANAGEMENT being defined
Vadim Zeitlin [Sun, 6 Jan 2008 14:49:11 +0000 (14:49 +0000)] 
add check for wxUSE_AUTOID_MANAGEMENT being defined

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

16 years agoadd support of wxTE_PROCESS_ENTER (1/2 of patch 1831995)
Vadim Zeitlin [Sun, 6 Jan 2008 14:45:46 +0000 (14:45 +0000)] 
add support of wxTE_PROCESS_ENTER (1/2 of patch 1831995)

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

16 years agouse wxWindowIDRef to transparently implement auto-generated ids ref-counting (slightl...
Vadim Zeitlin [Sun, 6 Jan 2008 14:38:44 +0000 (14:38 +0000)] 
use wxWindowIDRef to transparently implement auto-generated ids ref-counting (slightly modified patch 1835458)

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

16 years agodon't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded...
Vadim Zeitlin [Sun, 6 Jan 2008 13:14:41 +0000 (13:14 +0000)] 
don't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded as a lesser evil (see Gentoo bug 203389)

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

16 years agodisable eVC makefiles for sockets (no CLI targets possible on this platform)
Václav Slavík [Sun, 6 Jan 2008 10:25:39 +0000 (10:25 +0000)] 
disable eVC makefiles for sockets (no CLI targets possible on this platform)

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

16 years agoadd wxDL_QUIET flag; use RawGetSymbol() instead of GetSymbol() in wxDL_INIT_FUNC...
Vadim Zeitlin [Sun, 6 Jan 2008 01:30:58 +0000 (01:30 +0000)] 
add wxDL_QUIET flag; use RawGetSymbol() instead of GetSymbol() in wxDL_INIT_FUNC to avoid error messages for missing functions (this is also consistent with wxDL_INIT_FUNC_AW)

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

16 years agodraw the bitmap manually under Win9x and 2000 because they don't support alpha transp...
Vadim Zeitlin [Sun, 6 Jan 2008 00:51:38 +0000 (00:51 +0000)] 
draw the bitmap manually under Win9x and 2000 because they don't support alpha transparency (but wxDC::DrawBitmap() does) (modified patch 1761598)

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

16 years agofix comparison of BYTE variable with -1 after last commit
Vadim Zeitlin [Sun, 6 Jan 2008 00:27:41 +0000 (00:27 +0000)] 
fix comparison of BYTE variable with -1 after last commit

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

16 years agoremoved extra default clause accidentally added by last commit
Vadim Zeitlin [Sat, 5 Jan 2008 21:00:10 +0000 (21:00 +0000)] 
removed extra default clause accidentally added by last commit

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

16 years agoexplicitly request that RPM spec files have Unix line endings with bakefile 0.2.3
Václav Slavík [Sat, 5 Jan 2008 19:54:21 +0000 (19:54 +0000)] 
explicitly request that RPM spec files have Unix line endings with bakefile 0.2.3

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

16 years agoclean up wxEvtHandler::m_eventsLocker weirdness: there is no need to allocate it...
Vadim Zeitlin [Sat, 5 Jan 2008 19:07:52 +0000 (19:07 +0000)] 
clean up wxEvtHandler::m_eventsLocker weirdness: there is no need to allocate it dynamically (as it's always done anyhow), this removes the need for ClearEventLocker() and OS/2 #ifdefs

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

16 years agofix handling of OEM VKs in wxCharCodeWXToMSW() (patch 1810940)
Vadim Zeitlin [Sat, 5 Jan 2008 18:59:09 +0000 (18:59 +0000)] 
fix handling of OEM VKs in wxCharCodeWXToMSW() (patch 1810940)

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

16 years agomeaning of left/right keys should be inversed in RTL locale (patch 1863866)
Vadim Zeitlin [Sat, 5 Jan 2008 18:53:12 +0000 (18:53 +0000)] 
meaning of left/right keys should be inversed in RTL locale (patch 1863866)

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

16 years agocorrect handling of positive quality values (2nd part of patch 1851381)
Vadim Zeitlin [Sat, 5 Jan 2008 18:44:36 +0000 (18:44 +0000)] 
correct handling of positive quality values (2nd part of patch 1851381)

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

16 years agomore fixes to handling of the resolution chosen in GTK print dialog (patch 1864504)
Vadim Zeitlin [Sat, 5 Jan 2008 18:41:59 +0000 (18:41 +0000)] 
more fixes to handling of the resolution chosen in GTK print dialog (patch 1864504)

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

16 years agodon't remove handlers from wxPendingEvents list, they now do it themselves when they...
Vadim Zeitlin [Sat, 5 Jan 2008 17:37:17 +0000 (17:37 +0000)] 
don't remove handlers from wxPendingEvents list, they now do it themselves when they don't have any more events or are destroyed (should have been part of r51021)

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

16 years agoprocess one event at once in wxEvtHandler::ProcessPendingEvents() to prevent crashes...
Vadim Zeitlin [Sat, 5 Jan 2008 17:29:20 +0000 (17:29 +0000)] 
process one event at once in wxEvtHandler::ProcessPendingEvents() to prevent crashes when a (pending) event handler destroys the event handler object itself; only add the event handler to wxPendingEvents list if it's not already there (and explicitly mention that an object can be present in this list only once in the comment) (replaces patch 1837719)

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

16 years agomove Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently...
Vadim Zeitlin [Sat, 5 Jan 2008 00:21:31 +0000 (00:21 +0000)] 
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes

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

16 years agocompilation fix (remove default ctor already implemented by DEFINE_STD_WXCOLOUR_CONST...
Vadim Zeitlin [Sat, 5 Jan 2008 00:04:34 +0000 (00:04 +0000)] 
compilation fix (remove default ctor already implemented by DEFINE_STD_WXCOLOUR_CONSTRUCTORS); make copy ctor inline and remove empty dtor

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

16 years agocompilation fix for wxUSE_DISPLAY==0
Vadim Zeitlin [Sat, 5 Jan 2008 00:02:29 +0000 (00:02 +0000)] 
compilation fix for wxUSE_DISPLAY==0

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

16 years agoset resolution of print preview from print data (modified patch 1851381)
Vadim Zeitlin [Thu, 3 Jan 2008 22:21:04 +0000 (22:21 +0000)] 
set resolution of print preview from print data (modified patch 1851381)

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

16 years agoAlways write end record unless one has already been written.
Michael Wetherell [Thu, 3 Jan 2008 17:09:10 +0000 (17:09 +0000)] 
Always write end record unless one has already been written.

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

16 years agofix for last commit: didn't work if mask was white
Paul Cornett [Thu, 3 Jan 2008 06:58:11 +0000 (06:58 +0000)] 
fix for last commit: didn't work if mask was white

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

16 years agoFix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second...
Paul Cornett [Thu, 3 Jan 2008 05:28:22 +0000 (05:28 +0000)] 
Fix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second-most frequent color.
Simplify color cursor code.

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

16 years agodon't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
Vadim Zeitlin [Thu, 3 Jan 2008 01:13:44 +0000 (01:13 +0000)] 
don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)

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

16 years agoalso scroll vertically if necessary in MoveToItem() when the control is in a non...
Vadim Zeitlin [Thu, 3 Jan 2008 00:52:42 +0000 (00:52 +0000)] 
also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)

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

16 years agono changes, just updated the URL of KB article in a comment
Vadim Zeitlin [Thu, 3 Jan 2008 00:05:15 +0000 (00:05 +0000)] 
no changes, just updated the URL of KB article in a comment

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

16 years agoUse realloc() and placement new to manage vector's memory instead of
Václav Slavík [Wed, 2 Jan 2008 22:58:29 +0000 (22:58 +0000)] 
Use realloc() and placement new to manage vector's memory instead of
copying objects in T[] array. This is both more efficient and
matches std::vector<> semantics (erase() destroys the object immediately,
T doesn't have to be default-constructible).

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

16 years agoSuppressed the themed border by defining GetDefaultBorder
Julian Smart [Wed, 2 Jan 2008 21:39:10 +0000 (21:39 +0000)] 
Suppressed the themed border by defining GetDefaultBorder
Set custom background style

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

16 years agodon't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow...
Vadim Zeitlin [Wed, 2 Jan 2008 21:27:31 +0000 (21:27 +0000)] 
don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)

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

16 years agodon't lock the gs_prevCS critical section recursively (replaces patch 1857581)
Vadim Zeitlin [Wed, 2 Jan 2008 21:18:15 +0000 (21:18 +0000)] 
don't lock the gs_prevCS critical section recursively (replaces patch 1857581)

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

16 years agoallow creating empty ZIP archives (patch 1861030)
Vadim Zeitlin [Wed, 2 Jan 2008 20:31:31 +0000 (20:31 +0000)] 
allow creating empty ZIP archives (patch 1861030)

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

16 years agoremoved wxSTRING_TEXT() macro in favour of wxS()
Václav Slavík [Wed, 2 Jan 2008 17:33:31 +0000 (17:33 +0000)] 
removed wxSTRING_TEXT() macro in favour of wxS()

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

16 years agoreorder the methods in alphabetical order (patch 1861348)
Vadim Zeitlin [Wed, 2 Jan 2008 16:53:07 +0000 (16:53 +0000)] 
reorder the methods in alphabetical order (patch 1861348)

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

16 years agoremove redundant m_buffer_size member (patch 1861348)
Vadim Zeitlin [Wed, 2 Jan 2008 16:51:53 +0000 (16:51 +0000)] 
remove redundant m_buffer_size member (patch 1861348)

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

16 years agoadded wxS(); use it in a couple of places
Vadim Zeitlin [Wed, 2 Jan 2008 16:31:38 +0000 (16:31 +0000)] 
added wxS(); use it in a couple of places

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

16 years agoBlind fix for typo in 50972.
Stefan Neis [Wed, 2 Jan 2008 13:09:17 +0000 (13:09 +0000)] 
Blind fix for typo in 50972.

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

16 years agoMissing header.
Michael Wetherell [Wed, 2 Jan 2008 08:04:30 +0000 (08:04 +0000)] 
Missing header.

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

16 years agodo VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing...
Vadim Zeitlin [Tue, 1 Jan 2008 20:38:33 +0000 (20:38 +0000)] 
do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files

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

16 years agoCentreOnScreen() is in wxTLW, not wxWindow (bug 1861670)
Vadim Zeitlin [Tue, 1 Jan 2008 20:04:12 +0000 (20:04 +0000)] 
CentreOnScreen() is in wxTLW, not wxWindow (bug 1861670)

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

17 years agoEnsure AutoComp items with no type will set the item's image index to -1.
Robin Dunn [Mon, 31 Dec 2007 20:12:42 +0000 (20:12 +0000)] 
Ensure AutoComp items with no type will set the item's image index to -1.

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

17 years agoensure that gsockmsw.obj is linked in, it was optimized away by MSVC linker resulting...
Vadim Zeitlin [Mon, 31 Dec 2007 10:32:21 +0000 (10:32 +0000)] 
ensure that gsockmsw.obj is linked in, it was optimized away by MSVC linker resulting in socket manager not being initialized

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

17 years agoremoved support for Salford compiler (which was almost certainly broken anyhow) ...
Vadim Zeitlin [Mon, 31 Dec 2007 10:05:00 +0000 (10:05 +0000)] 
removed support for Salford compiler (which was almost certainly broken anyhow) (patch 1861133)

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

17 years agofixed incorrect use of wxVector<> in wxXRC
Václav Slavík [Mon, 31 Dec 2007 09:45:19 +0000 (09:45 +0000)] 
fixed incorrect use of wxVector<> in wxXRC

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

17 years agouse iterator in wxTextBuffer::Translate() instead of c_str()
Václav Slavík [Mon, 31 Dec 2007 08:58:05 +0000 (08:58 +0000)] 
use iterator in wxTextBuffer::Translate() instead of c_str()

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

17 years agoRemove declaration of wxScaledFontList wxHashMap, as that's used only in gtk1 port
Mart Raudsepp [Mon, 31 Dec 2007 06:49:23 +0000 (06:49 +0000)] 
Remove declaration of wxScaledFontList wxHashMap, as that's used only in gtk1 port

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

17 years agofix leak when creating wxCURSOR_BLANK
Paul Cornett [Mon, 31 Dec 2007 06:45:20 +0000 (06:45 +0000)] 
fix leak when creating wxCURSOR_BLANK

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

17 years agofix bug with parsing negative time zones in ParseRfc822Date()
Vadim Zeitlin [Sun, 30 Dec 2007 23:35:40 +0000 (23:35 +0000)] 
fix bug with parsing negative time zones in ParseRfc822Date()

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