Call wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Apr 2007 22:18:35 +0000 (22:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Apr 2007 22:18:35 +0000 (22:18 +0000)
commit94aff5ff86189e39b7a95fc62e886374c060a2cf
treec84b05b59f810e28aa8304847779dfd577c9297a
parenta78a8f7fd53efeffddabedd8aa0655abddaba210
Call wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
it in wxButton implementations in (almost) all ports; changed its return type
to "wxWindow *" from "void" to accommodate the ports needing the old default
item (replaces part of patch 1696563)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
34 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
include/wx/button.h
include/wx/gtk/bmpbuttn.h
include/wx/gtk/button.h
include/wx/gtk1/bmpbuttn.h
include/wx/gtk1/button.h
include/wx/mac/carbon/button.h [copied from include/wx/palmos/button.h with 53% similarity]
include/wx/motif/button.h
include/wx/msw/bmpbuttn.h
include/wx/msw/button.h
include/wx/os2/bmpbuttn.h
include/wx/os2/button.h
include/wx/palmos/bmpbuttn.h
include/wx/palmos/button.h
include/wx/univ/button.h
src/common/btncmn.cpp [new file with mode: 0644]
src/gtk/bmpbuttn.cpp
src/gtk/button.cpp
src/gtk1/bmpbuttn.cpp
src/gtk1/button.cpp
src/motif/button.cpp
src/msw/bmpbuttn.cpp
src/msw/button.cpp
src/os2/bmpbuttn.cpp
src/os2/button.cpp
src/palmos/bmpbuttn.cpp
src/palmos/button.cpp
src/univ/button.cpp