]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/colordlg.cpp
Added a SetFont method that behaves like SetLabel does with respect to
[wxWidgets.git] / src / msw / colordlg.cpp
index 3480911ad955be934d8f5b1a729fcdb673d597f7..8fc614cff74c147a1c6b6482fa58bf797cd8fb1f 100644 (file)
@@ -128,8 +128,8 @@ int wxColourDialog::ShowModal()
     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;