Opened 5 years ago

Closed 5 years ago

#15395 closed build error (fixed)

[MSW] Small compilation fix when wxUSE_MSGBOX_HOOK set to 0

Reported by: markusj Owned by:
Priority: lowest Milestone:
Component: wxMSW Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes


When setting wxUSE_MSGBOX_HOOK = 0 in msw/msgdlg.cpp the following code does not compile any longer:

return wxNativeFontInfo(ncm.lfMessageFont);

The patch moves one #include out of the "#if wxUSE_MSGBOX_HOOK"

Attachments (1)

msgdlg.patch download (442 bytes) - added by markusj 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by markusj

comment:1 Changed 5 years ago by VZ

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

(In [74643]) Compilation fix for wxMSW with wxUSE_MSGBOX_HOOK==0.

Include wx/fontutil.h unconditionally, it's needed outside message box hook

Closes #15395.

Note: See TracTickets for help on using tickets.