Index: core/include/fxge/fx_ge_win32.h |
diff --git a/core/include/fxge/fx_ge_win32.h b/core/include/fxge/fx_ge_win32.h |
index 311d355ef7f30ee5db45da20a347c72d583f16f5..d39a8071e3be5a1f5a8a592897f8fbe0ef3a5a70 100644 |
--- a/core/include/fxge/fx_ge_win32.h |
+++ b/core/include/fxge/fx_ge_win32.h |
@@ -38,7 +38,7 @@ public: |
static CFX_DIBitmap* LoadFromFile(FX_LPCSTR filename) |
{ |
- return LoadFromFile(CFX_WideString::FromLocal(filename)); |
+ return LoadFromFile(CFX_WideString::FromLocal(filename).c_str()); |
} |
static CFX_DIBitmap* LoadDIBitmap(WINDIB_Open_Args_ args); |