From d3478e2cf1aa9adf7a33f8794130d72cb7e2f540 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 5 Apr 2006 17:10:01 +0000 Subject: [PATCH] Mac compilation fix after last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/strconv.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index ed3d444868..7f39682ee0 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -2504,8 +2504,6 @@ public: virtual wxMBConv *Clone() const { return new wxMBConv_cocoa(*this); } - bool IsOk() const - bool IsOk() const { return m_encoding != kCFStringEncodingInvalidId && @@ -2669,9 +2667,8 @@ public: return res ; } - virtual wxMBConv *Clone() const { return wxMBConv_mac(*this); } + virtual wxMBConv *Clone() const { return new wxMBConv_mac(*this); } - bool IsOk() const bool IsOk() const { return m_MB2WC_converter != NULL && m_WC2MB_converter != NULL ; } -- 2.47.2