]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/virtual/virtual.cpp
Added missing includes
[wxWidgets.git] / samples / html / virtual / virtual.cpp
index 75d9193dfbb2dd438b52f91570051b919c2b32f5..5e1f9da2c7a67b20acfd2428778a3ba88c8cdd61 100644 (file)
@@ -4,11 +4,6 @@
 //              demonstrates virtual file systems feature
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma implementation "test.cpp"
-    #pragma interface "test.cpp"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -202,11 +197,15 @@ wxHtmlWindow *html;
     // ... and attach this menu bar to the frame
       SetMenuBar(menuBar);
    
+#if wxUSE_STATUSBAR
       CreateStatusBar(2);
+#endif // wxUSE_STATUSBAR
 
       html = new wxHtmlWindow(this);
       html -> SetRelatedFrame(this, _("VFS Demo: '%s'"));
+#if wxUSE_STATUSBAR
       html -> SetRelatedStatusBar(1);
+#endif // wxUSE_STATUSBAR
       html -> LoadPage(wxT("start.htm"));
    }