Commit Graph

42700 Commits

Author SHA1 Message Date
Vadim Zeitlin
070895565e 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
2008-01-08 13:57:27 +00:00
Vadim Zeitlin
3a41bb47bf compilation fix after wxWindowIDRef changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 13:50:09 +00:00
Robert Roebling
72636c1509 docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 12:26:48 +00:00
Robert Roebling
69d0fe8315 mention some more changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 11:01:26 +00:00
Robert Roebling
4992d455fb 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
2008-01-08 10:55:54 +00:00
Robert Roebling
5200ca361e Added wxSharedPtr<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 10:51:28 +00:00
Robert Roebling
7d23dd2812 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
2008-01-08 09:58:44 +00:00
Robert Roebling
9dd5ff5baa 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
2008-01-08 09:55:21 +00:00
Paul Cornett
c22eea9c9f 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
2008-01-08 06:05:07 +00:00
Paul Cornett
1663ec5f74 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
2008-01-08 05:46:49 +00:00
Vadim Zeitlin
3aac0d765c STL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 00:37:50 +00:00
Vadim Zeitlin
9a95832822 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
2008-01-08 00:32:35 +00:00
Robin Dunn
7fc2ce00f7 Check wxUSE_DATAVIEWCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 00:10:31 +00:00
Robert Roebling
0155f1644a doc syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 19:58:12 +00:00
Vadim Zeitlin
fb582e40cc 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
2008-01-07 19:04:45 +00:00
Vadim Zeitlin
5e0ebb716a 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
2008-01-07 19:02:26 +00:00
Vadim Zeitlin
55e04bbd7e 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
2008-01-07 18:50:07 +00:00
Vadim Zeitlin
117f566fcc 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
2008-01-07 18:46:14 +00:00
Vadim Zeitlin
52b90aa7ab 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
2008-01-07 18:43:23 +00:00
Robert Roebling
e39d30c05b 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
2008-01-07 15:12:46 +00:00
Robert Roebling
a27555e453 [ 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
2008-01-07 13:02:51 +00:00
Robert Roebling
2861eaee45 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 12:18:34 +00:00
Robert Roebling
6d0f32ddb8 Commit correct docs for wxwxScopedPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 12:10:14 +00:00
Robert Roebling
89969a9128 Templatize wxScopedPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 12:09:22 +00:00
Robert Roebling
a6acecec40 Added docs to wxTrackable and wxWeakRef<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 10:59:02 +00:00
Václav Slavík
2712e31795 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
2008-01-07 10:27:35 +00:00
Vadim Zeitlin
52ca4ec419 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
2008-01-07 01:54:33 +00:00
Vadim Zeitlin
fb25206791 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
2008-01-07 01:46:42 +00:00
Vadim Zeitlin
fcd47970b8 correct wrong last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:36:24 +00:00
Vadim Zeitlin
3371873669 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
2008-01-07 01:35:28 +00:00
Vadim Zeitlin
ac2b78257b removed useless inclusion of wx/datetime.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:33:20 +00:00
Vadim Zeitlin
6a147dfefd compilation fix after wxDateTime::ParseFormat() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:20:45 +00:00
Vadim Zeitlin
71ebd60b06 make wxDateTime::ParseXXX() functions char*-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 00:17:45 +00:00
Vadim Zeitlin
b7c746d017 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
2008-01-06 22:57:09 +00:00
Stefan Neis
f90913e2ac 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
2008-01-06 22:47:01 +00:00
Stefan Neis
2c24e7adf0 Adopted OS/2 to DC reorganisation (r50348).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:37:10 +00:00
Vadim Zeitlin
b5343e065a 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
2008-01-06 22:27:01 +00:00
Vadim Zeitlin
91a2809da0 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
2008-01-06 22:23:20 +00:00
Vadim Zeitlin
75a29ef15c added configure option for wxUSE_AUTOID_MANAGEMENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 21:01:38 +00:00
Vadim Zeitlin
1e9a3d4b67 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
2008-01-06 20:37:57 +00:00
Vadim Zeitlin
7920be660b PCH-less compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 19:00:52 +00:00
Vadim Zeitlin
9978ac8e4f 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
2008-01-06 19:00:09 +00:00
Michael Wetherell
808ac867cf 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
2008-01-06 18:26:02 +00:00
Michael Wetherell
86d7db7325 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
2008-01-06 18:24:34 +00:00
Vadim Zeitlin
db7035e48a added wxWeakRef<T> (slightly modified patch 1860953)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 18:01:28 +00:00
Vadim Zeitlin
7ba4004452 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
2008-01-06 17:04:09 +00:00
Vadim Zeitlin
5a8561fc55 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
2008-01-06 17:01:05 +00:00
Vadim Zeitlin
4b8af4ac87 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
2008-01-06 15:26:16 +00:00
Vadim Zeitlin
695f550bfa 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
2008-01-06 15:05:57 +00:00
Vadim Zeitlin
8084f8b7c6 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
2008-01-06 14:49:11 +00:00