fixed VC6 warnings about non-dllexported members in dllexported classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,8 +150,17 @@ private:
|
||||
#endif // wxUSE_UNICODE && !wxUSE_UTF8_LOCALE_ONLY
|
||||
|
||||
private:
|
||||
#ifdef __VISUALC__
|
||||
// "struct 'ConvertedBuffer<T>' needs to have dll-interface to be used by
|
||||
// clients of class 'wxString'" - this is private, we don't care
|
||||
#pragma warning (disable:4251)
|
||||
#endif
|
||||
wxCharBuffer m_char;
|
||||
wxWCharBuffer m_wchar;
|
||||
#ifdef __VISUALC__
|
||||
#pragma warning (default:4251)
|
||||
#endif
|
||||
|
||||
// NB: we can use a pointer here, because wxFormatString is only used
|
||||
// as function argument, so it has shorter life than the string
|
||||
// passed to the ctor
|
||||
|
Reference in New Issue
Block a user