From c1d048baa580ffba1ca72967559ade52987a166f Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Tue, 18 Aug 2009 18:21:04 +0000 Subject: [PATCH] changes --- include/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/macros.h b/include/macros.h index cbabdbf788..81f90ca3e8 100644 --- a/include/macros.h +++ b/include/macros.h @@ -9,7 +9,7 @@ #define CONV_TO_UTF8( wxstring ) ( (const char*) wxConvCurrent->cWX2MB( wxstring ) ) #define CONV_FROM_UTF8( utf8string ) ( wxConvCurrent->cMB2WC( utf8string ) ) #else -#define CONV_TO_UTF8( wxstring ) ( (const char*) ( wxstring.c_str() ) ) +#define CONV_TO_UTF8( wxstring ) ( (const char*) ( (wxstring).c_str() ) ) #define CONV_FROM_UTF8( utf8string ) (utf8string) #endif