]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
common rtti in fontcmn.cpp
[wxWidgets.git] / src / msw / cursor.cpp
index a83979575821a74ca425ef2e8a8eb76c4e847675..bfa5771d24376db14d670c0a33870775bcd0aa91 100644 (file)
@@ -236,12 +236,12 @@ wxCursor::wxCursor(const wxString& filename,
     switch ( kind )
     {
         case wxBITMAP_TYPE_CUR_RESOURCE:
-            hcursor = ::LoadCursor(wxGetInstance(), filename.fn_str());
+            hcursor = ::LoadCursor(wxGetInstance(), filename.t_str());
             break;
 
 #ifndef __WXWINCE__
         case wxBITMAP_TYPE_CUR:
-            hcursor = ::LoadCursorFromFile(filename.fn_str());
+            hcursor = ::LoadCursorFromFile(filename.t_str());
             break;
 #endif