added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-19 01:02:28 +00:00
parent 6f7f0d0a2d
commit 4f167b46b4
21 changed files with 367 additions and 220 deletions

View File

@@ -1202,17 +1202,20 @@ public:
// implicit conversion to C string
operator wxCStrData() const { return c_str(); }
// these operators conflict with operators for conversion to std::string,
// so they must be disabled in STL build:
// the first two operators conflict with operators for conversion to
// std::string and they must be disabled in STL build; the next one only
// makes sense if conversions to char* are also defined and not defining it
// in STL build also helps us to get more clear error messages for the code
// which relies on implicit conversion to char* in STL build
#if !wxUSE_STL
operator const char*() const { return c_str(); }
operator const wchar_t*() const { return c_str(); }
#endif
// implicit conversion to untyped pointer for compatibility with previous
// wxWidgets versions: this is the same as conversion to const char * so it
// may fail!
operator const void*() const { return c_str(); }
#endif // wxUSE_STL
// identical to c_str(), for MFC compatibility
const wxCStrData GetData() const { return c_str(); }