]> git.saurik.com Git - wxWidgets.git/commit
Add wxMessageDialog::GetEffectiveIcon() and use it in all ports.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Mar 2010 13:18:23 +0000 (13:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Mar 2010 13:18:23 +0000 (13:18 +0000)
commita4578b0ceda90e103620894d3aa86284178ab1cd
treeb86954a28243c0ebbc4ca4798a29b0f24eb124ab
parent5eb342f9a2db32648294001b030ae6cab4995234
Add wxMessageDialog::GetEffectiveIcon() and use it in all ports.

Remove code duplication and inconsistencies among different ports by using a
single function in the base class for the determination of the effective icon
style to use, correctly handling both wxICON_NONE and the absence of any
wxICON_XXX styles.

Closes #11822.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msgdlg.h
src/cocoa/msgdlg.mm
src/gtk/msgdlg.cpp
src/msw/msgdlg.cpp
src/os2/msgdlg.cpp
src/osx/carbon/msgdlg.cpp
src/palmos/msgdlg.cpp