MinGW fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-01-17 19:08:44 +00:00
parent 5bb52a5ff0
commit 60431236a3
5 changed files with 11 additions and 6 deletions

View File

@ -460,8 +460,8 @@ void wxFileSystem::CleanUpHandlers()
WX_CLEAR_LIST(wxList, m_Handlers);
}
const static wxString g_unixPathString(wxT("/"));
const static wxString g_nativePathString(wxFILE_SEP_PATH);
static const wxString g_unixPathString(wxT("/"));
static const wxString g_nativePathString(wxFILE_SEP_PATH);
// Returns the native path for a file URL
wxFileName wxFileSystem::URLToFileName(const wxString& url)

View File

@ -52,7 +52,8 @@ wxConnectionBase::wxConnectionBase()
}
wxConnectionBase::wxConnectionBase(wxConnectionBase& copy)
: m_connected(copy.m_connected),
: wxObject(),
m_connected(copy.m_connected),
m_buffer(copy.m_buffer),
m_buffersize(copy.m_buffersize),
m_deletebufferwhendone(false)

View File

@ -62,7 +62,7 @@ wxURI::wxURI(const wxString& uri) : m_hostType(wxURI_REGNAME), m_fields(0)
Create(uri);
}
wxURI::wxURI(const wxURI& uri) : m_hostType(wxURI_REGNAME), m_fields(0)
wxURI::wxURI(const wxURI& uri) : wxObject(), m_hostType(wxURI_REGNAME), m_fields(0)
{
Assign(uri);
}

View File

@ -262,7 +262,7 @@ void wxDynamicLibrary::Unload(wxDllType handle)
/* static */
void *wxDynamicLibrary::RawGetSymbol(wxDllType handle, const wxString& name)
{
return ::GetProcAddress(handle, name.ToAscii());
return (void *)::GetProcAddress(handle, name.ToAscii());
}
// ----------------------------------------------------------------------------

View File

@ -25,6 +25,10 @@
#if wxUSE_STACKWALKER
#ifndef WX_PRECOMP
#include "wx/string.h"
#endif
#include "wx/stackwalk.h"
#include "wx/msw/debughlp.h"