]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/accelcmn.cpp
Fix wxRichToolTip compilation under MSW without PCH and recent SDK headers.
[wxWidgets.git] / src / common / accelcmn.cpp
index 5df35dc39f3122043117d111d12298c48bb12b3a..a90fdda01df1d6b96c59aee46dd5c2d958e2f06b 100644 (file)
 #if wxUSE_ACCEL
 
 #ifndef WX_PRECOMP
+    #include "wx/accel.h"
     #include "wx/string.h"
     #include "wx/intl.h"
     #include "wx/log.h"
-    #include "wx/accel.h"
     #include "wx/crt.h"
 #endif //WX_PRECOMP
 
+wxAcceleratorTable wxNullAcceleratorTable;
+
 // ============================================================================
 // wxAcceleratorEntry implementation
 // ============================================================================
@@ -340,7 +342,7 @@ wxString wxAcceleratorEntry::ToString() const
                  // build as they're only defined for the ASCII range (or EOF)
                  wxIsascii(code) &&
 #endif // ANSI
-                    wxIsalnum(code) )
+                    wxIsprint(code) )
             {
                 text << (wxChar)code;
             }