#15145 closed defect (fixed)

src/dlmsw.cpp does not compile in msw / mingw32

Reported by: guenter Owned by:
Priority: blocker Milestone: 2.9.5
Component: build Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes

Description

Compile error for src/dlmsw.cpp

"cannot convert 'const wxString' to 'LPCWSTR..."

Solution: Use name.GetData() instead of just name line 380

See attached patch.

Attachments (1)

dlmsw-guenter.patch download (384 bytes) - added by guenter 20 months ago.
patch for dlmsw.cpp

Download all attachments as: .zip

Change History (2)

Changed 20 months ago by guenter

patch for dlmsw.cpp

comment:1 Changed 20 months ago by VZ

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

(In [73808]) Add missing t_str() call to fix wxUSE_STL build after r73792.

Don't rely on implicit conversion from wxString to wxChar* which is not
available in all builds.

Closes #15145.

Note: See TracTickets for help on using tickets.