]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/private/fswatcher.h
Force wide char environment version initialization in wxGetEnvMap().
[wxWidgets.git] / include / wx / private / fswatcher.h
index 286fba854728c3eeb17e8ad9d0f296e67f47a1a7..e106e6c926fcccc0f5ab4d9126ab837e4daa0750 100644 (file)
@@ -23,7 +23,7 @@
     #define wxFSWatchEntry wxFSWatchEntryKq
     WX_DECLARE_STRING_HASH_MAP(wxSharedPtr<wxFSWatchEntry>,wxFSWatchEntries);
     #include "wx/unix/private/fswatcher_kqueue.h"
-#elif defined(__WXMSW__)
+#elif defined(__WINDOWS__)
     class wxFSWatchEntryMSW;
     #define wxFSWatchEntry wxFSWatchEntryMSW
     WX_DECLARE_STRING_HASH_MAP(wxSharedPtr<wxFSWatchEntry>,wxFSWatchEntries);
@@ -52,7 +52,7 @@ public:
         wxCHECK_MSG( m_watches.find(winfo.GetPath()) == m_watches.end(), false,
                      "Path '%s' is already watched");
 
-        // conctruct watch entry
+        // construct watch entry
         wxSharedPtr<wxFSWatchEntry> watch(new wxFSWatchEntry(winfo));
 
         if (!DoAdd(watch))