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:
Robin Dunn 2001-02-12 20:30:00 +00:00
parent 829c421b93
commit cf75c1b4fb

View File

@ -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;