Now uses CC_FULLOPEN if m_colourData.GetChooseFull()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
829c421b93
commit
cf75c1b4fb
@ -128,8 +128,8 @@ int wxColourDialog::ShowModal()
|
||||
chooseColorStruct.lCustData = (LPARAM)this;
|
||||
chooseColorStruct.lpfnHook = wxColourDialogHookProc;
|
||||
|
||||
if (!m_colourData.GetChooseFull())
|
||||
chooseColorStruct.Flags |= CC_PREVENTFULLOPEN;
|
||||
if (m_colourData.GetChooseFull())
|
||||
chooseColorStruct.Flags |= CC_FULLOPEN;
|
||||
|
||||
// Do the modal dialog
|
||||
bool success = ::ChooseColor(&(chooseColorStruct)) != 0;
|
||||
|
Loading…
Reference in New Issue
Block a user