]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/doc.cpp
Simplified html reading because previous one caused conflicts in wxUSE_STL=1.
[wxWidgets.git] / demos / dbbrowse / doc.cpp
index b16d76bd0121389957a2352a8133a5924a574871..2500fe611f1d8ebb522d7d018f0c8a90d802ef37 100644 (file)
@@ -144,9 +144,11 @@ bool MainDoc::OnInitView()
     //  return false;
     OnInitODBC();
     //---------------------------------------------------------------------------------------
+#if wxUSE_STATUSBAR
     Temp0.Printf(_("-I-> MainDoc::OnInitView() - End - %d DSN's found"),i_DSN);
     p_MainFrame->SetStatusText(Temp0, 0);
     wxLogMessage(Temp0);
+#endif // wxUSE_STATUSBAR
     return true;
 }