]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/virtual/virtual.cpp
Removed dummy wxFont == operator implementation (IIRC was needed to compile with...
[wxWidgets.git] / samples / html / virtual / virtual.cpp
index 8d5a4e91de33ad8892b61740e87406022dab68a9..27c1b8a57a8b52fc5a2fd8633fec0c794a22b26b 100644 (file)
@@ -155,6 +155,9 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& location)
    // `Main program' equivalent: the program execution "starts" here
    bool MyApp::OnInit()
    {
    // `Main program' equivalent: the program execution "starts" here
    bool MyApp::OnInit()
    {
+     if ( !wxApp::OnInit() )
+         return false;
+
     // Create the main application window
       MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
          wxDefaultPosition, wxSize(640, 480));
     // Create the main application window
       MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
          wxDefaultPosition, wxSize(640, 480));