Compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -124,6 +124,11 @@
|
||||
#include <windows.h>
|
||||
#include "wx/msw/mslu.h"
|
||||
|
||||
// for _getcwd
|
||||
#ifdef __MINGW32__
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
// sys/cygwin.h is needed for cygwin_conv_to_full_win32_path()
|
||||
//
|
||||
// note that it must be included after <windows.h>
|
||||
@@ -1493,7 +1498,7 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
|
||||
if ( needsANSI )
|
||||
#endif // wxUSE_UNICODE
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
ok = _getcwd(cbuf, sz) != NULL;
|
||||
#elif defined(__WXMAC__) && !defined(__DARWIN__)
|
||||
FSSpec cwdSpec ;
|
||||
|
@@ -27,6 +27,8 @@
|
||||
#include "wx/utils.h"
|
||||
#include "wx/list.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/choicdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/helpbase.h"
|
||||
|
@@ -67,7 +67,9 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
|
||||
{
|
||||
m_dialogStyle = style;
|
||||
|
||||
#if wxUSE_STATIC_BITMAP
|
||||
bool is_pda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA);
|
||||
#endif
|
||||
|
||||
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
|
@@ -49,6 +49,7 @@
|
||||
#include <oleacc.h>
|
||||
#include <winable.h>
|
||||
|
||||
#include "wx/msw/winundef.h"
|
||||
#include "wx/msw/ole/oleutils.h"
|
||||
|
||||
#ifndef CHILDID_SELF
|
||||
@@ -79,7 +80,7 @@ class wxIEnumVARIANT : public IEnumVARIANT
|
||||
{
|
||||
public:
|
||||
wxIEnumVARIANT(const wxVariant& variant);
|
||||
~wxIEnumVARIANT() { }
|
||||
virtual ~wxIEnumVARIANT() { }
|
||||
|
||||
DECLARE_IUNKNOWN_METHODS;
|
||||
|
||||
|
Reference in New Issue
Block a user