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:
@@ -47,8 +47,9 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
|
|||||||
|
|
||||||
int wxColourDialog::ShowModal()
|
int wxColourDialog::ShowModal()
|
||||||
{
|
{
|
||||||
RGBColor currentColor = *((RGBColor*)m_colourData.m_dataColour.GetPixel()) ;
|
RGBColor currentColor ;
|
||||||
|
|
||||||
|
m_colourData.m_dataColour.GetRGBColor( currentColor );
|
||||||
NColorPickerInfo info;
|
NColorPickerInfo info;
|
||||||
OSStatus err ;
|
OSStatus err ;
|
||||||
memset(&info, 0, sizeof(info)) ;
|
memset(&info, 0, sizeof(info)) ;
|
||||||
|
Reference in New Issue
Block a user