summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h
blob: 57f49cb1730038f2d7facfb88423131a74a63c2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

$FreeBSD: ports/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h,v 1.4 2006/10/14 08:52:28 marcus Exp $

--- include/wx/wxchar.h.orig    Sun Sep 15 21:19:48 2002
+++ include/wx/wxchar.h Sat Oct 26 18:06:12 2002
@@ -554,10 +554,10 @@
 #endif // wxUSE_WCHAR_T
 
 // checks whether the passed in pointer is NULL and if the string is empty
-inline bool wxIsEmpty(const wxChar *p) { return !p || !*p; }
+WXDLLEXPORT inline bool wxIsEmpty(const wxChar *p) { return !p || !*p; }
 
 // safe version of strlen() (returns 0 if passed NULL pointer)
-inline size_t wxStrlen(const wxChar *psz) { return psz ? wxStrlen_(psz) : 0; }
+WXDLLEXPORT inline size_t wxStrlen(const wxChar *psz) { return psz ? wxStrlen_(psz) : 0; }
 
 WXDLLEXPORT bool wxOKlibc(); // for internal use