Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#include <strings.h> // for strcasecmp()
|
||||
#endif // HAVE_STRCASECMP_IN_STRINGS_H
|
||||
|
||||
#ifdef __PALMOS__
|
||||
#ifdef __WXPALMOS__
|
||||
#include <StringMgr.h>
|
||||
#endif
|
||||
|
||||
@@ -1357,8 +1357,8 @@ class WXDLLIMPEXP_BASE wxStringBufferLength
|
||||
public:
|
||||
wxStringBufferLength(wxString& str, size_t lenWanted = 1024)
|
||||
: m_str(str), m_buf(NULL), m_len(0), m_lenSet(false)
|
||||
{
|
||||
m_buf = m_str.GetWriteBuf(lenWanted);
|
||||
{
|
||||
m_buf = m_str.GetWriteBuf(lenWanted);
|
||||
wxASSERT(m_buf != NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user