git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9357
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
chooseColorStruct.lCustData = (LPARAM)this;
chooseColorStruct.lpfnHook = wxColourDialogHookProc;
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;
// Do the modal dialog
bool success = ::ChooseColor(&(chooseColorStruct)) != 0;