]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/fswatcher/fswatcher.cpp
Allow using either single or multi line wxTextCtrl in keyboard sample.
[wxWidgets.git] / samples / fswatcher / fswatcher.cpp
index 37f7c31c0d1d66d7950da2c71cfc263c7fac52d3..890fd45ff5003b322ae5277e42eb9d83b4a0a6e8 100644 (file)
@@ -420,7 +420,7 @@ void MyFrame::OnRemove(wxCommandEvent& WXUNUSED(event))
     if (idx == -1)
         return;
 
-    bool ret;
+    bool ret = false;
     wxString path = m_filesList->GetItemText(idx).Mid(6);
 
     // This will tell wxFileSystemWatcher whether to dereference symlinks