]> git.saurik.com Git - wxWidgets.git/commitdiff
removed wxVERSION_* macros
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 16 Oct 1999 12:24:28 +0000 (12:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 16 Oct 1999 12:24:28 +0000 (12:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlpars.cpp
src/html/m_pre.cpp

index d3f772440f2458b476968303b4d59ef1546c5699..806d4bb5b5016913ad0c40582f05ff6c352e7d23 100644 (file)
@@ -137,11 +137,7 @@ void wxHtmlParser::AddTagHandler(wxHtmlTagHandler *handler)
     wxString s(handler -> GetSupportedTags());
     wxStringTokenizer tokenizer(s, ", ");
 
-#if (wxVERSION_NUMBER < 2100)
-    while (tokenizer.HasMoreToken())
-#else
     while (tokenizer.HasMoreTokens())
-#endif
         m_HandlersHash.Put(tokenizer.NextToken(), handler);
 
     if (m_HandlersList.IndexOf(handler) == wxNOT_FOUND)
index 25e24cf402e34c440050131f63d0d09350cb4632..8412ee06eda7f9f5d8828793693d3ac0bed109fb 100644 (file)
@@ -66,11 +66,7 @@ wxHtmlPRECell::wxHtmlPRECell(const wxString& s, wxDC& dc) : wxHtmlCell()
     m_Width = m_Height = 0;
 
     i = 0;
-#if (wxVERSION_NUMBER < 2100)
-    while (tokenizer.HasMoreToken()) {
-#else
     while (tokenizer.HasMoreTokens()) {
-#endif
         if (i % 10 == 0) m_Text = (wxString**) realloc(m_Text, sizeof(wxString*) * (i + 10));
         tmp = tokenizer.NextToken();
         tmp.Replace("&nbsp;", " ", TRUE);