Opened 5 years ago

Closed 5 years ago

#15193 closed build error (fixed)

Failed to build after disable wxUSE_ACCEL

Reported by: sprinfall@… Owned by:
Priority: normal Milestone:
Component: build Version: 2.9.4
Keywords: Cc:
Blocked By: Blocking:
Patch: no


In the following two places, I think wxUSE_HOTKEY should be used instead of wxUSE_ACCEL.

// include/wx/msw/window.h, L354
#if wxUSE_ACCEL // Should be wxUSE_HOTKEY
    bool HandleHotKey(WXWPARAM wParam, WXLPARAM lParam);
// src/msw/window.cpp, L7311
#if wxUSE_ACCEL // Should be wxUSE_HOTKEY

bool wxWindowMSW::HandleHotKey(WXWPARAM wParam, WXLPARAM lParam)

Change History (1)

comment:1 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [73948]) Fix wrong wxUSE_ACCEL around wxUSE_HOTKEY-related code in wxMSW.

Closes #15193.

Note: See TracTickets for help on using tickets.