git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25217
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( rc != -1 )
{
// we can't do much better without Unicode support in libc...
if ( rc != -1 )
{
// we can't do much better without Unicode support in libc...
- if ( fprintf(stream, "%s", s.mb_str()) == -1 )
+ if ( fprintf(stream, "%s",
+#if wxUSE_UNICODE
+ s.mb_str().data()
+#else
+ s.c_str()
+#endif
+ ) == -1 )
// wxModalEventLoop depends on this (so we can't just use ON_BLOCK_EXIT or
// something similar here)
#if wxUSE_EXCEPTIONS
// wxModalEventLoop depends on this (so we can't just use ON_BLOCK_EXIT or
// something similar here)
#if wxUSE_EXCEPTIONS
- bool retryAfterException;
+ bool retryAfterException = false;
do {
retryAfterException=false;
#endif
do {
retryAfterException=false;
#endif
#include "wx/volume.h"
#include <shellapi.h>
#include "wx/volume.h"
#include <shellapi.h>
#include "wx/msw/missing.h"
#if wxUSE_BASE
#include "wx/msw/missing.h"
#if wxUSE_BASE