Remove unnecessary wxOSX_USE_COCOA guards in Cocoa-only file.
The #if wxOSX_USE_COCOA seems unnecessary in a file that is used in wxOSX/Cocoa only so simply remove it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include "wx/osx/private.h"
|
#include "wx/osx/private.h"
|
||||||
|
|
||||||
#if wxOSX_USE_COCOA
|
|
||||||
wxColour::wxColour(WX_NSColor col)
|
wxColour::wxColour(WX_NSColor col)
|
||||||
{
|
{
|
||||||
size_t noComp = [col numberOfComponents];
|
size_t noComp = [col numberOfComponents];
|
||||||
@@ -38,4 +37,3 @@ WX_NSColor wxColour::OSXGetNSColor()
|
|||||||
{
|
{
|
||||||
return [NSColor colorWithDeviceRed:m_red / 255.0 green:m_green / 255.0 blue:m_blue / 255.0 alpha:m_alpha / 255.0];
|
return [NSColor colorWithDeviceRed:m_red / 255.0 green:m_green / 255.0 blue:m_blue / 255.0 alpha:m_alpha / 255.0];
|
||||||
}
|
}
|
||||||
#endif
|
|
Reference in New Issue
Block a user