- HACCEL hAccel =
-#if defined(__WIN32__) && !defined(__TWIN32__)
-#ifdef UNICODE
- ::LoadAcceleratorsW(wxGetInstance(), (const wxChar *)resource);
-#else
- ::LoadAcceleratorsA(wxGetInstance(), (const char *)resource);
-#endif
-#else
- ::LoadAccelerators(wxGetInstance(), (const wxChar *)resource);
-#endif