From f84a986cfc6e512240b77fcdfbacc769b8a0cd02 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 19 Dec 2006 05:43:19 +0000 Subject: [PATCH] fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/colour.h | 2 +- src/mac/carbon/colour.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/carbon/colour.h b/include/wx/mac/carbon/colour.h index 4053598903..9acf4d42b9 100644 --- a/include/wx/mac/carbon/colour.h +++ b/include/wx/mac/carbon/colour.h @@ -31,7 +31,7 @@ public: // accessors bool Ok() const { return IsOk(); } - bool IsOk() const {return m_isInit; } + bool IsOk() const; unsigned char Red() const { return m_red; } unsigned char Green() const { return m_green; } diff --git a/src/mac/carbon/colour.cpp b/src/mac/carbon/colour.cpp index 2572be337b..6a3562c3d4 100644 --- a/src/mac/carbon/colour.cpp +++ b/src/mac/carbon/colour.cpp @@ -63,3 +63,9 @@ void wxColour::FromRGBColor( WXCOLORREF* color ) m_blue = col->blue >> 8; m_green = col->green >> 8; } + +bool wxColour::IsOk() const +{ + return m_isInit; +} + -- 2.45.2