]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/pgmctrl.cpp
Cookie is not for dummy initialization due to condition of setting it. Source cleaning.
[wxWidgets.git] / demos / dbbrowse / pgmctrl.cpp
index c5893e9d5d9a5da1acb2c656ccd4df00426c5bcd..e4e40333d3b8057c353b1d301808484eb84c334a 100644 (file)
@@ -137,7 +137,9 @@ void PgmCtrl::OnSelChanged(wxMouseEvent& WXUNUSED(event))
 {
     int i;
     Temp0.Empty();   Temp1.Empty();
+#if wxUSE_STATUSBAR
     pDoc->p_MainFrame->SetStatusText(Temp0,0);
+#endif // wxUSE_STATUSBAR
     // Get the Information that we need
     wxTreeItemId itemId = GetSelection();
     TreeData *item = (TreeData *)GetItemData(itemId);