Opened 5 years ago

Closed 5 years ago

#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


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 5 years ago.
patch for dlmsw.cpp

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by guenter

patch for dlmsw.cpp

comment:1 Changed 5 years 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.