Fixed compile errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,12 @@
|
|||||||
|
|
||||||
// this one if used by wxPaintDC only
|
// this one if used by wxPaintDC only
|
||||||
struct WXDLLEXPORT wxPaintDCInfo;
|
struct WXDLLEXPORT wxPaintDCInfo;
|
||||||
|
|
||||||
|
#undef WXDLLEXPORTLOCAL
|
||||||
|
#define WXDLLEXPORTLOCAL WXDLLEXPORT
|
||||||
WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
|
WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
|
||||||
|
#undef WXDLLEXPORTLOCAL
|
||||||
|
#define WXDLLEXPORTLOCAL
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// DC classes
|
// DC classes
|
||||||
|
@@ -29,7 +29,7 @@ public:
|
|||||||
wxStringTokenizer() { m_retdelims = FALSE;}
|
wxStringTokenizer() { m_retdelims = FALSE;}
|
||||||
virtual ~wxStringTokenizer();
|
virtual ~wxStringTokenizer();
|
||||||
|
|
||||||
int CountTokens() count;
|
int CountTokens() const;
|
||||||
bool HasMoreTokens();
|
bool HasMoreTokens();
|
||||||
|
|
||||||
wxString NextToken();
|
wxString NextToken();
|
||||||
@@ -47,7 +47,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
off_t FindDelims(const wxString& str, const wxString& delims);
|
off_t FindDelims(const wxString& str, const wxString& delims) const;
|
||||||
void EatLeadingDelims();
|
void EatLeadingDelims();
|
||||||
|
|
||||||
wxString m_string, m_delims;
|
wxString m_string, m_delims;
|
||||||
|
@@ -35,7 +35,7 @@ wxStringTokenizer::~wxStringTokenizer()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
off_t wxStringTokenizer::FindDelims(const wxString& str, const wxString& delims)
|
off_t wxStringTokenizer::FindDelims(const wxString& str, const wxString& delims) const
|
||||||
{
|
{
|
||||||
for ( int i = 0; i < str.Length(); i++ )
|
for ( int i = 0; i < str.Length(); i++ )
|
||||||
{
|
{
|
||||||
@@ -77,7 +77,7 @@ int wxStringTokenizer::CountTokens() const
|
|||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxStringTokenizer::HasMoreToken()
|
bool wxStringTokenizer::HasMoreTokens()
|
||||||
{
|
{
|
||||||
return !m_string.IsEmpty();
|
return !m_string.IsEmpty();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user