]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialup/nettest.cpp
Build the new docs as part of the automated build
[wxWidgets.git] / samples / dialup / nettest.cpp
index 775527ec30b7c33f6e0885ddebfa66fe730e1bf4..2c0034e022829290120060a9828d66ee471a8710 100644 (file)
@@ -170,7 +170,9 @@ bool MyApp::OnInit()
     {
         wxLogError(wxT("The sample can't run on this system."));
 
+#if wxUSE_LOG
         wxLog::GetActiveTarget()->Flush();
+#endif // wxUSE_LOG
 
         // do it here, OnExit() won't be called
         delete m_dial;