]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/test/test.cpp
minor clean up
[wxWidgets.git] / samples / html / test / test.cpp
index faaf91d0f9742d52429c8932795c6b401f8ff527..cd299a8bf38d8947bc002cff69227947541e7ef6 100644 (file)
     #include <wx/wx.h>
 #endif
 
-#include <wx/image.h>
-#include <wx/html/htmlwin.h>
-#include <wx/html/htmlproc.h>
-#include <wx/fs_inet.h>
+#include "wx/image.h"
+#include "wx/html/htmlwin.h"
+#include "wx/html/htmlproc.h"
+#include "wx/fs_inet.h"
+#include "wx/filedlg.h"
 
 // ----------------------------------------------------------------------------
 // private classes
@@ -75,7 +76,6 @@ class BoldProcessor : public wxHtmlProcessor
             r.Replace(wxT("<B>"), wxEmptyString);
             r.Replace(wxT("</b>"), wxEmptyString);
             r.Replace(wxT("</B>"), wxEmptyString);
-            printf("called\n");
             return r;
         }       
 };
@@ -130,6 +130,8 @@ class BoldProcessor : public wxHtmlProcessor
    // `Main program' equivalent: the program execution "starts" here
    bool MyApp::OnInit()
    {
+     wxLog::AddTraceMask(wxT("strconv"));
+   
      wxInitAllImageHandlers();
      #if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
      wxFileSystem::AddHandler(new wxInternetFSHandler);
@@ -229,5 +231,4 @@ void MyFrame::OnProcessor(wxCommandEvent& WXUNUSED(event))
 {
     m_Processor->Enable(!m_Processor->IsEnabled());
     m_Html->LoadPage(m_Html->GetOpenedPage());
-    printf("%i\n", m_Processor->IsEnabled());
 }