]> git.saurik.com Git - wxWidgets.git/commit - src/generic/filepickerg.cpp
Use correct style for the dialog shown by generic file/dir pickers.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Mar 2010 19:37:08 +0000 (19:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Mar 2010 19:37:08 +0000 (19:37 +0000)
commit8eca1205e2ddc9b24289c655b609ebdbd7bb853e
tree2780db6c455a5d00ab7b13e354afea356956821e
parent49e714e127fb21392772f0f61bed7efe5e73cf2a
Use correct style for the dialog shown by generic file/dir pickers.

The picker styles don't make sense for the button so we don't use them when
creating the button but we do need to somehow use the style the picker was
created with to create an appropriate dialog when it's clicked.

Fix the problem by simply storing the style in a member variable and using it
instead of wxWindow::m_windowStyle.

Closes #11635.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/filepickerg.h
src/generic/filepickerg.cpp