Commit Graph

42903 Commits

Author SHA1 Message Date
Robert Roebling
360b068ca2 Reapplied patch for drawing background of custom items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:38:11 +00:00
Robert Roebling
711b238d9b Mention wxSizer::Fit() change and wxWrapSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:10:58 +00:00
Robert Roebling
c30199bfdd wxSizer::Fit() now sets client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:08:30 +00:00
Robert Roebling
1fd012c366 use wxSizer::Fit() for sizing the dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:07:26 +00:00
Robert Roebling
9f400412e4 Always invoke default action even if dclick is caught from wxListBox (as per wxMSW and wxMAC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:04:24 +00:00
Robert Roebling
00ad5bdde4 Remove double entry of wxTrackable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 12:05:50 +00:00
Stefan Csomor
17a1e84615 I still think that's needed ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 11:16:44 +00:00
Vadim Zeitlin
6490a288bb rebaked and regenerated everything after the latest changes (wxWeakRef &c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 02:48:17 +00:00
Paul Cornett
428f841bd0 prevent explicitly set client size from being changed when frame extents become known
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 02:00:27 +00:00
Vadim Zeitlin
30de1d4d09 ignore vc*_msw* build directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 01:17:55 +00:00
Vadim Zeitlin
5098c258b2 compilation fixes for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 01:13:03 +00:00
Vadim Zeitlin
cc6ceca789 improvements to wxWeakRef and related classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 01:12:13 +00:00
Vadim Zeitlin
0fb0ecc452 add useful headers for meta-programming checks (part of patch 1860953)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 01:09:40 +00:00
Vadim Zeitlin
022a8a5af2 call OnExec() taking wxString argument from OnExecute() by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 21:04:10 +00:00
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