]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpbest.cpp
wxWizardPage(Simple) can do two-phase creation now
[wxWidgets.git] / src / msw / helpbest.cpp
index 3c8df8327a528fc0a73150e2353150286524a6ab..01667e799c674d03a7e979d029260f276162db3a 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include "wx/filefn.h"
 #endif
 
 #include "wx/filefn.h"
+#include "wx/log.h"
 
 #if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) && wxUSE_WXHTML_HELP
 #include "wx/msw/helpchm.h"
 
 #if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) && wxUSE_WXHTML_HELP
 #include "wx/msw/helpchm.h"
@@ -93,8 +94,9 @@ wxString wxBestHelpController::GetValidFilename( const wxString& filename ) cons
         default:
             // we CAN'T get here
             wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") );
         default:
             // we CAN'T get here
             wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") );
-            return wxEmptyString;
     }
     }
+
+    return wxEmptyString;
 }
 
 #endif
 }
 
 #endif