]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agomade all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly...
Vadim Zeitlin [Wed, 16 Jan 2008 01:39:44 +0000 (01:39 +0000)] 
made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)

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

16 years agofixing leopard configure for universal_binary when no minimal sys given
Stefan Csomor [Tue, 15 Jan 2008 19:24:52 +0000 (19:24 +0000)] 
fixing leopard configure for universal_binary when no minimal sys given

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

16 years agodon't give out an error when using --cflags followed by a list of libraries; this...
Francesco Montorsi [Tue, 15 Jan 2008 18:06:28 +0000 (18:06 +0000)] 
don't give out an error when using --cflags followed by a list of libraries; this happens for example in the WX_CONFIG_CHECK macro in wxwin.m4

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

16 years agoadded unit tests for decoding invalid base64 strings; corrected bugs exposed by them
Vadim Zeitlin [Tue, 15 Jan 2008 16:56:17 +0000 (16:56 +0000)] 
added unit tests for decoding invalid base64 strings; corrected bugs exposed by them

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

16 years agofixed wxHTML parser to not assert on invalid HTML input (unclosed tags)
Václav Slavík [Tue, 15 Jan 2008 12:13:54 +0000 (12:13 +0000)] 
fixed wxHTML parser to not assert on invalid HTML input (unclosed tags)

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

16 years agofixed wxXmlResource::GetText() in ANSI build to correctly convert the string to curre...
Václav Slavík [Mon, 14 Jan 2008 22:36:42 +0000 (22:36 +0000)] 
fixed wxXmlResource::GetText() in ANSI build to correctly convert the string to current locale's charset

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

16 years agorename wxBK_BUTTONBAR to wxTBK_BUTTONBAR as it's wxToolBook-specific and documented it
Vadim Zeitlin [Mon, 14 Jan 2008 22:23:01 +0000 (22:23 +0000)] 
rename wxBK_BUTTONBAR to wxTBK_BUTTONBAR as it's wxToolBook-specific and documented it

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

16 years agoadded wxTBK_HORZ_LAYOUT (heavily modified patch 1855678)
Vadim Zeitlin [Mon, 14 Jan 2008 22:17:46 +0000 (22:17 +0000)] 
added wxTBK_HORZ_LAYOUT (heavily modified patch 1855678)

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

16 years agomake XPM data pointer parameter fully const
Paul Cornett [Mon, 14 Jan 2008 18:16:37 +0000 (18:16 +0000)] 
make XPM data pointer parameter fully const

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

16 years agoavoid GCC warning about type-punned pointer breaking strict aliasing rules
Paul Cornett [Mon, 14 Jan 2008 18:15:28 +0000 (18:15 +0000)] 
avoid GCC warning about type-punned pointer breaking strict aliasing rules

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

16 years agofixed setting BUILD variable in any case (not only when DEBUG=auto)
Francesco Montorsi [Mon, 14 Jan 2008 13:35:37 +0000 (13:35 +0000)] 
fixed setting BUILD variable in any case (not only when DEBUG=auto)

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

16 years agofixed the WX_VERSION name clash renaming the variable in major.minor form as WX_RELEASE
Francesco Montorsi [Mon, 14 Jan 2008 13:31:58 +0000 (13:31 +0000)] 
fixed the WX_VERSION name clash renaming the variable in major.minor form as WX_RELEASE

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

16 years agoadded AC_SUBST for EXTRALIBS_STC which was missing and caused wx-config to print...
Francesco Montorsi [Mon, 14 Jan 2008 11:18:30 +0000 (11:18 +0000)] 
added AC_SUBST for EXTRALIBS_STC which was missing and caused wx-config to print @EXTRALIBS_STC@ on the output line of --libs option

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

16 years agoPartial impl of auto resizing columns
Robert Roebling [Mon, 14 Jan 2008 11:04:57 +0000 (11:04 +0000)] 
Partial impl of auto resizing columns

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

16 years agoset mime-type to correct image/x-xpixmap for XPM files instead of wrong x-pixmap...
Vadim Zeitlin [Sun, 13 Jan 2008 22:17:36 +0000 (22:17 +0000)] 
set mime-type to correct image/x-xpixmap for XPM files instead of wrong x-pixmap used by the last commit

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

16 years agoset mime-type to image/x-pixmap to allow generation of diffs for XPM files
Vadim Zeitlin [Sun, 13 Jan 2008 20:39:23 +0000 (20:39 +0000)] 
set mime-type to image/x-pixmap to allow generation of diffs for XPM files

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

16 years agoImproved wxDataViewSpinCtrlRenderer under OS X
Robert Roebling [Sun, 13 Jan 2008 14:09:47 +0000 (14:09 +0000)] 
Improved wxDataViewSpinCtrlRenderer under OS X

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

16 years agoReapplied patch for drawing background of custom items
Robert Roebling [Sun, 13 Jan 2008 13:38:11 +0000 (13:38 +0000)] 
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

16 years agoMention wxSizer::Fit() change and wxWrapSizer
Robert Roebling [Sun, 13 Jan 2008 13:10:58 +0000 (13:10 +0000)] 
Mention wxSizer::Fit() change and wxWrapSizer

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

16 years agowxSizer::Fit() now sets client size
Robert Roebling [Sun, 13 Jan 2008 13:08:30 +0000 (13:08 +0000)] 
wxSizer::Fit() now sets client size

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

16 years agouse wxSizer::Fit() for sizing the dialog
Robert Roebling [Sun, 13 Jan 2008 13:07:26 +0000 (13:07 +0000)] 
use wxSizer::Fit() for sizing the dialog

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

16 years agoAlways invoke default action even if dclick is caught from wxListBox (as per wxMSW...
Robert Roebling [Sun, 13 Jan 2008 13:04:24 +0000 (13:04 +0000)] 
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

16 years agoRemove double entry of wxTrackable
Robert Roebling [Sun, 13 Jan 2008 12:05:50 +0000 (12:05 +0000)] 
Remove double entry of wxTrackable

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

16 years agoI still think that's needed ...
Stefan Csomor [Sun, 13 Jan 2008 11:16:44 +0000 (11:16 +0000)] 
I still think that's needed ...

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

16 years agorebaked and regenerated everything after the latest changes (wxWeakRef &c)
Vadim Zeitlin [Sun, 13 Jan 2008 02:48:17 +0000 (02:48 +0000)] 
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

16 years agoprevent explicitly set client size from being changed when frame extents become known
Paul Cornett [Sun, 13 Jan 2008 02:00:27 +0000 (02:00 +0000)] 
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

16 years agoignore vc*_msw* build directories
Vadim Zeitlin [Sun, 13 Jan 2008 01:17:55 +0000 (01:17 +0000)] 
ignore vc*_msw* build directories

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

16 years agocompilation fixes for VC6
Vadim Zeitlin [Sun, 13 Jan 2008 01:13:03 +0000 (01:13 +0000)] 
compilation fixes for VC6

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

16 years agoimprovements to wxWeakRef and related classes
Vadim Zeitlin [Sun, 13 Jan 2008 01:12:13 +0000 (01:12 +0000)] 
improvements to wxWeakRef and related classes

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

16 years agoadd useful headers for meta-programming checks (part of patch 1860953)
Vadim Zeitlin [Sun, 13 Jan 2008 01:09:40 +0000 (01:09 +0000)] 
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

16 years agocall OnExec() taking wxString argument from OnExecute() by default
Vadim Zeitlin [Sat, 12 Jan 2008 21:04:10 +0000 (21:04 +0000)] 
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

16 years agoadded tests for FromAscii/Unicode() (length parameter); cleaned up ctors test
Vadim Zeitlin [Sat, 12 Jan 2008 20:58:03 +0000 (20:58 +0000)] 
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

16 years agofix bug introduced in wxRegion::DoUnionWithRect() in r41429 which broke refreshing...
Vadim Zeitlin [Sat, 12 Jan 2008 20:28:56 +0000 (20:28 +0000)] 
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

16 years agoSome wxOS2 compilation fixes after wxDC changes
Stefan Neis [Sat, 12 Jan 2008 18:30:14 +0000 (18:30 +0000)] 
Some wxOS2 compilation fixes after wxDC changes

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

16 years agoinitialize m_totalProportion in wxBoxSizer ctor
Paul Cornett [Sat, 12 Jan 2008 17:45:41 +0000 (17:45 +0000)] 
initialize m_totalProportion in wxBoxSizer ctor

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

16 years agoFixed compilation.
Stefan Neis [Sat, 12 Jan 2008 15:38:59 +0000 (15:38 +0000)] 
Fixed compilation.

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

16 years agobetter documentation for wxWindow::SetSizerAndFit()
Vadim Zeitlin [Sat, 12 Jan 2008 15:25:02 +0000 (15:25 +0000)] 
better documentation for wxWindow::SetSizerAndFit()

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

16 years agoImplemented wxGDIObject::Create/CloneGDIRefData() for the relevant classes.
Stefan Neis [Sat, 12 Jan 2008 15:05:15 +0000 (15:05 +0000)] 
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

16 years agoInvoke default action if dclick event after <ENTER> not handled in wxListBox, added...
Robert Roebling [Sat, 12 Jan 2008 14:59:17 +0000 (14:59 +0000)] 
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

16 years agoBlind compilation fixes.
Stefan Neis [Sat, 12 Jan 2008 14:31:29 +0000 (14:31 +0000)] 
Blind compilation fixes.

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

16 years agoRemoved constructor already defined in header.
Stefan Neis [Sat, 12 Jan 2008 10:57:13 +0000 (10:57 +0000)] 
Removed constructor already defined in header.

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

16 years agoderive wxColourBase from wxObject on os2 as well
Stefan Neis [Sat, 12 Jan 2008 00:10:23 +0000 (00:10 +0000)] 
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

16 years agofixed memory leak in wxXmlResource introduced when fixing wxVector<> usage (patch...
Václav Slavík [Fri, 11 Jan 2008 22:46:26 +0000 (22:46 +0000)] 
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

16 years agoAdded wxRect::Intersect() documentation (patch 1868322 from Laurent Humbertclaude).
Bryan Petty [Fri, 11 Jan 2008 18:33:00 +0000 (18:33 +0000)] 
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

16 years agoupdates for OpenVMS compile support
Jouk Jansen [Fri, 11 Jan 2008 12:31:03 +0000 (12:31 +0000)] 
updates for OpenVMS compile support

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

16 years agoinclude/wx/x11/cursor.h needs definition of wxcolour
Jouk Jansen [Fri, 11 Jan 2008 12:26:23 +0000 (12:26 +0000)] 
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

16 years agocompute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling...
Paul Cornett [Thu, 10 Jan 2008 17:48:33 +0000 (17:48 +0000)] 
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

16 years agoUse SetFocusIgnoringChildren()
Robert Roebling [Thu, 10 Jan 2008 15:03:30 +0000 (15:03 +0000)] 
Use SetFocusIgnoringChildren()

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

16 years agoApplied [ 1867939 ] fixes for wxTreeCtrl crashes when exiting from label editing...
Robert Roebling [Thu, 10 Jan 2008 14:58:21 +0000 (14:58 +0000)] 
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

16 years agoSimplified code and applied [ 1867939 ] fixes for wxTreeCtrl crashes when exiting...
Robert Roebling [Thu, 10 Jan 2008 14:35:30 +0000 (14:35 +0000)] 
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

16 years agoFix for VC++ 6 error
Julian Smart [Thu, 10 Jan 2008 12:10:03 +0000 (12:10 +0000)] 
Fix for VC++ 6 error

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

16 years agoCorrections to bitmap handling
Julian Smart [Thu, 10 Jan 2008 10:30:51 +0000 (10:30 +0000)] 
Corrections to bitmap handling

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

16 years agodon't use the same parameter name twice, HP compiler actually checks
Paul Cornett [Thu, 10 Jan 2008 06:00:45 +0000 (06:00 +0000)] 
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

16 years agobuild fix for !wxUSE_THREADS
Paul Cornett [Thu, 10 Jan 2008 06:00:22 +0000 (06:00 +0000)] 
build fix for !wxUSE_THREADS

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

16 years agoColour correction
Julian Smart [Wed, 9 Jan 2008 20:39:23 +0000 (20:39 +0000)] 
Colour correction

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

16 years agoFixed GetInfo to use the current language.
Julian Smart [Wed, 9 Jan 2008 15:55:32 +0000 (15:55 +0000)] 
Fixed GetInfo to use the current language.

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

16 years agoDon't ignore path when prompting for file in SaveAs()
Julian Smart [Wed, 9 Jan 2008 14:56:22 +0000 (14:56 +0000)] 
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

16 years agoSTL build compilation fix (remove useless cast of wxString to const wxChar*)
Vadim Zeitlin [Wed, 9 Jan 2008 14:39:03 +0000 (14:39 +0000)] 
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

16 years agocompilation fix after _() changes; also don't use wxChar for purely ASCII strings
Vadim Zeitlin [Wed, 9 Jan 2008 14:35:11 +0000 (14:35 +0000)] 
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

16 years agoCorrected docs of ::release and ::reset in smart pointers
Robert Roebling [Wed, 9 Jan 2008 09:27:26 +0000 (09:27 +0000)] 
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

16 years agoavoid undefined behavior from token paste resulting in more than one token
Paul Cornett [Wed, 9 Jan 2008 07:35:14 +0000 (07:35 +0000)] 
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

16 years agocheck for self-assignment in operator=
Paul Cornett [Wed, 9 Jan 2008 04:08:33 +0000 (04:08 +0000)] 
check for self-assignment in operator=

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

16 years agoRemove WXDLLIMPEXP_BASE from the declaration of wxList_SortFunction
Robin Dunn [Tue, 8 Jan 2008 22:41:28 +0000 (22:41 +0000)] 
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

16 years agoAdded the conversion to unspecfied_bool to all smart pointers, added T& operator...
Robert Roebling [Tue, 8 Jan 2008 22:02:12 +0000 (22:02 +0000)] 
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

16 years agofix LaTeX error (escape underscores); don't abuse bold face
Vadim Zeitlin [Tue, 8 Jan 2008 19:30:34 +0000 (19:30 +0000)] 
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

16 years agotest Clear() in the sample
Vadim Zeitlin [Tue, 8 Jan 2008 19:27:57 +0000 (19:27 +0000)] 
test Clear() in the sample

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

16 years agoresolve ambiguity between 2 inherited versions of Clear() in wxSimpleHtmlListBox...
Vadim Zeitlin [Tue, 8 Jan 2008 19:24:08 +0000 (19:24 +0000)] 
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

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