]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/chm.cpp
Move code that does not need realized GdkWinow out of realize handler
[wxWidgets.git] / src / html / chm.cpp
index 3d6ad7d60ce4a764414ed96b2f00870898bea81d..cf3e04925e4e00b57f7c1bc470c5029af35b6c8e 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     CHM (Help) support for wxHTML
 // Author:      Markus Sinner
 // Copyright:   (c) 2003 Herd Software Development
-// CVS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -563,7 +562,6 @@ void
 wxChmInputStream::CreateHHPStream()
 {
     wxFileName file;
-    bool topic = false;
     bool hhc = false;
     bool hhk = false;
     wxInputStream *i;
@@ -631,7 +629,6 @@ wxChmInputStream::CreateHHPStream()
                     break;
                 case 2: // DEFAULT_TOPIC
                     tmp = "Default Topic=";
-                    topic = true;
                     break;
                 case 3: // TITLE
                     tmp = "Title=";