GetPixel isn't returning RGBColor anymore, so change call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2008-04-03 11:47:44 +00:00
parent 056ccb81e0
commit ed6e7f8cfe

View File

@ -47,8 +47,9 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
int wxColourDialog::ShowModal()
{
RGBColor currentColor = *((RGBColor*)m_colourData.m_dataColour.GetPixel()) ;
RGBColor currentColor ;
m_colourData.m_dataColour.GetRGBColor( currentColor );
NColorPickerInfo info;
OSStatus err ;
memset(&info, 0, sizeof(info)) ;