more changes to make wx compile without implicit wxString->char* conversion (for STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,12 +254,12 @@ wxCursor::wxCursor(const wxString& filename,
|
||||
switch ( kind )
|
||||
{
|
||||
case wxBITMAP_TYPE_CUR_RESOURCE:
|
||||
hcursor = ::LoadCursor(wxGetInstance(), filename);
|
||||
hcursor = ::LoadCursor(wxGetInstance(), filename.fn_str());
|
||||
break;
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
case wxBITMAP_TYPE_CUR:
|
||||
hcursor = ::LoadCursorFromFile(filename);
|
||||
hcursor = ::LoadCursorFromFile(filename.fn_str());
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user