git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 
 #if wxUSE_FSVOLUME
 
+#include "wx/arrstr.h"
+
 // the volume flags
 enum
 {
 #endif // wxUSE_FSVOLUME
 
 #endif // _WX_FSVOLUME_H_
-
 
 #else
                     p->pad_char;
 
+#if wxUSE_WCHAR_T
                 if (type == wxPAT_WCHAR) {
                     // user passed a character explicitely indicated as Unicode...
                     const wchar_t buf[2] = { p->pad_wchar, 0 };
                     val = wxString(buf, wxConvLibc)[0u];
                 }
+#endif
 #endif
 
                 size_t i;
 #else
                     p->pad_pchar;
 
+#if wxUSE_WCHAR_T
                 if (type == wxPAT_PWCHAR) {
                     // user passed a string explicitely indicated as Unicode...
                     val = wxString(p->pad_pwchar, wxConvLibc);
                 }
+#endif
 #endif
                 int len;
 
 
 
 #if wxUSE_FSVOLUME
 
+#include "wx/volume.h"
+
 #ifndef WX_PRECOMP
     #if wxUSE_GUI
         #include "wx/icon.h"
 #endif // WX_PRECOMP
 
 #include "wx/arrstr.h"
-#include "wx/volume.h"
+#include "wx/hashmap.h"
 
 #include <VFSMgr.h>
 #include <PalmTypesCompatibility.h>
 #endif // wxUSE_GUI
 
 #endif // wxUSE_FSVOLUME
-
 
     return NULL;
 }
 
+bool wxGetKeyState(wxKeyCode key)
+{
+    wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key !=
+        WXK_MBUTTON, wxT("can't use wxGetKeyState() for mouse buttons"));
+
+    // TODO
+
+    return false;
+}
+
 // ----------------------------------------------------------------------------
 // constructors and such
 // ----------------------------------------------------------------------------