From 527f168b34279ce38c89df6f089c4b179498044a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Apr 2012 18:10:21 +0000 Subject: [PATCH] No real changes, just add extra brackets to wxGTK_CONV() macro. These brackets are probably not really necessary but add them just in case they can help with parsing some strange expressions and for consistency with the other wxGTK_CONV_XXX() macros. See #14035. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index 96deaf28b3..728a24e1b1 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/private.h @@ -28,7 +28,7 @@ extern const gchar *wx_pango_version_check(int major, int minor, int micro); #if wxUSE_UNICODE - #define wxGTK_CONV(s) s.utf8_str() + #define wxGTK_CONV(s) (s).utf8_str() #define wxGTK_CONV_ENC(s, enc) wxGTK_CONV((s)) #define wxGTK_CONV_FONT(s, font) wxGTK_CONV((s)) #define wxGTK_CONV_SYS(s) wxGTK_CONV((s)) -- 2.45.2