// 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
wxStringTokenizer() { m_retdelims = FALSE;}
virtual ~wxStringTokenizer();
- int CountTokens() count;
+ int CountTokens() const;
bool HasMoreTokens();
wxString NextToken();
}
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;
{
}
-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++ )
{
{
wxString p_string = m_string;
bool found = TRUE;
- int pos, count = 1;
+ int pos, count = 1;
if (p_string.Length() == 0)
return 0;
return count;
}
-bool wxStringTokenizer::HasMoreToken()
+bool wxStringTokenizer::HasMoreTokens()
{
return !m_string.IsEmpty();
}
// needed to fix leading whitespace / mult. delims bugs
-void wxStringTokenizer::EatLeadingDelims()
+void wxStringTokenizer::EatLeadingDelims()
{
int pos;