]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dib.cpp
Fix wxMSW compilation in wxUSE_STL==1 case.
[wxWidgets.git] / src / msw / dib.cpp
index 9ea25315bf37dff7fd9006d80be6c2cefbf89013..be10fcf0470dc2cddcc0abff76a9520d6c6dff4f 100644 (file)
@@ -280,7 +280,7 @@ bool wxDIB::Load(const wxString& filename)
     m_handle = (HBITMAP)::LoadImage
                          (
                             wxGetInstance(),
-                            filename.fn_str(),
+                            filename.t_str(),
                             IMAGE_BITMAP,
                             0, 0, // don't specify the size
                             LR_CREATEDIBSECTION | LR_LOADFROMFILE