Commit Graph

42719 Commits

Author SHA1 Message Date
Julian Smart
634bb98a30 Corrections to bitmap handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 10:30:51 +00:00
Paul Cornett
7dea20f60a don't use the same parameter name twice, HP compiler actually checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 06:00:45 +00:00
Paul Cornett
364ab6cc8a build fix for !wxUSE_THREADS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 06:00:22 +00:00
Julian Smart
3384e744dd Colour correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 20:39:23 +00:00
Julian Smart
529e125df4 Fixed GetInfo to use the current language.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 15:55:32 +00:00
Julian Smart
e0214f1f25 Don't ignore path when prompting for file in SaveAs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:56:22 +00:00
Vadim Zeitlin
1606607aa9 STL build compilation fix (remove useless cast of wxString to const wxChar*)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:39:03 +00:00
Vadim Zeitlin
1153f54c0e compilation fix after _() changes; also don't use wxChar for purely ASCII strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:35:11 +00:00
Robert Roebling
aaf4caeedc Corrected docs of ::release and ::reset in smart pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 09:27:26 +00:00
Paul Cornett
94eff479bf avoid undefined behavior from token paste resulting in more than one token
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 07:35:14 +00:00
Paul Cornett
162e998c2f check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 04:08:33 +00:00
Robin Dunn
c6ed07281f Remove WXDLLIMPEXP_BASE from the declaration of wxList_SortFunction
to resolve link errors with MSVC 7.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 22:41:28 +00:00
Robert Roebling
a60b0ddc20 Added the conversion to unspecfied_bool to all smart pointers, added T& operator* to wxObjectDataPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 22:02:12 +00:00
Vadim Zeitlin
b3a029f0bb fix LaTeX error (escape underscores); don't abuse bold face
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 19:30:34 +00:00
Vadim Zeitlin
60f0cf4e12 test Clear() in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 19:27:57 +00:00
Vadim Zeitlin
e52cd41e5d resolve ambiguity between 2 inherited versions of Clear() in wxSimpleHtmlListBox (see bug 1836384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 19:24:08 +00:00
Vadim Zeitlin
8df2696160 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
2008-01-08 19:08:58 +00:00
Robert Roebling
2ef989c972 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
2008-01-08 17:57:27 +00:00
Vadim Zeitlin
1e9192d04c 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
2008-01-08 14:23:20 +00:00
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