Commit Graph

42739 Commits

Author SHA1 Message Date
Vadim Zeitlin
f312f981b5 added tests for FromAscii/Unicode() (length parameter); cleaned up ctors test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 20:58:03 +00:00
Vadim Zeitlin
b61df4aa5f fix bug introduced in wxRegion::DoUnionWithRect() in r41429 which broke refreshing/repainting in wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 20:28:56 +00:00
Stefan Neis
7c71eb6a26 Some wxOS2 compilation fixes after wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 18:30:14 +00:00
Paul Cornett
2a818b7a73 initialize m_totalProportion in wxBoxSizer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 17:45:41 +00:00
Stefan Neis
cb1e81d4cf Fixed compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 15:38:59 +00:00
Vadim Zeitlin
702a26fded better documentation for wxWindow::SetSizerAndFit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 15:25:02 +00:00
Stefan Neis
4b3f61d14c Implemented wxGDIObject::Create/CloneGDIRefData() for the relevant classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 15:05:15 +00:00
Robert Roebling
a625c5b6c0 Invoke default action if dclick event after <ENTER> not handled in wxListBox, added test to dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 14:59:17 +00:00
Stefan Neis
d2ce59e9bb Blind compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 14:31:29 +00:00
Stefan Neis
0df0e6efdc Removed constructor already defined in header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 10:57:13 +00:00
Stefan Neis
2c0b3fd14c derive wxColourBase from wxObject on os2 as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 00:10:23 +00:00
Václav Slavík
f8b1df0b15 fixed memory leak in wxXmlResource introduced when fixing wxVector<> usage (patch #1869602)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 22:46:26 +00:00
Bryan Petty
d5706f3ee8 Added wxRect::Intersect() documentation (patch 1868322 from Laurent Humbertclaude).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 18:33:00 +00:00
Jouk Jansen
2395c7a18b updates for OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 12:31:03 +00:00
Jouk Jansen
f2a0f3a80b include/wx/x11/cursor.h needs definition of wxcolour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 12:26:23 +00:00
Paul Cornett
8466fc74fa compute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 17:48:33 +00:00
Robert Roebling
c93c8b188d Use SetFocusIgnoringChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 15:03:30 +00:00
Robert Roebling
a8a8915453 Applied [ 1867939 ] fixes for wxTreeCtrl crashes when exiting from label editing to wxListCtrl as well and made code more similar to wxTreeCtrl' code doing the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 14:58:21 +00:00
Robert Roebling
d0e2c75cfa Simplified code and applied [ 1867939 ] fixes for wxTreeCtrl crashes when exiting from label editing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 14:35:30 +00:00
Julian Smart
82b6efd2c2 Fix for VC++ 6 error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 12:10:03 +00:00
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