X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..3cb99894576612e347480d43c5f2e2550b6151cf:/src/mac/colordlg.cpp diff --git a/src/mac/colordlg.cpp b/src/mac/colordlg.cpp index 134e40f445..3c8411319b 100644 --- a/src/mac/colordlg.cpp +++ b/src/mac/colordlg.cpp @@ -51,13 +51,13 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) int wxColourDialog::ShowModal() { Point where ; - RGBColor currentColor = *((RGBColor*)m_colourData.dataColour.GetPixel()) , newColor ; + RGBColor currentColor = *((RGBColor*)m_colourData.m_dataColour.GetPixel()) , newColor ; where.h = where.v = -1; if (GetColor( where, "\pSelect a new palette color.", ¤tColor, &newColor )) { - m_colourData.dataColour.Set( (WXCOLORREF*) &newColor ) ; + m_colourData.m_dataColour.Set( (WXCOLORREF*) &newColor ) ; return wxID_OK; } else