UINT CALLBACK wxColourDialogHookProc(HWND hwnd,
UINT uiMsg,
- WPARAM wParam,
+ WPARAM WXUNUSED(wParam),
LPARAM lParam)
{
if ( uiMsg == WM_INITDIALOG )
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;