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