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
|
||||
struct WXDLLEXPORT wxPaintDCInfo;
|
||||
|
||||
#undef WXDLLEXPORTLOCAL
|
||||
#define WXDLLEXPORTLOCAL WXDLLEXPORT
|
||||
WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
|
||||
#undef WXDLLEXPORTLOCAL
|
||||
#define WXDLLEXPORTLOCAL
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// DC classes
|
||||
|
@@ -29,7 +29,7 @@ public:
|
||||
wxStringTokenizer() { m_retdelims = FALSE;}
|
||||
virtual ~wxStringTokenizer();
|
||||
|
||||
int CountTokens() count;
|
||||
int CountTokens() const;
|
||||
bool HasMoreTokens();
|
||||
|
||||
wxString NextToken();
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
off_t FindDelims(const wxString& str, const wxString& delims);
|
||||
off_t FindDelims(const wxString& str, const wxString& delims) const;
|
||||
void EatLeadingDelims();
|
||||
|
||||
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++ )
|
||||
{
|
||||
@@ -77,7 +77,7 @@ int wxStringTokenizer::CountTokens() const
|
||||
return count;
|
||||
}
|
||||
|
||||
bool wxStringTokenizer::HasMoreToken()
|
||||
bool wxStringTokenizer::HasMoreTokens()
|
||||
{
|
||||
return !m_string.IsEmpty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user