applied patch 446014 (misc mingw fixes from Mattia)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,6 +37,12 @@
|
||||
#endif
|
||||
#endif // Win32
|
||||
|
||||
#if defined(__WXMSW__) || defined(__WIN32__)
|
||||
#if !defined(__WINDOWS__)
|
||||
#define __WINDOWS__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __WXWINE__
|
||||
#ifndef __WIN32__
|
||||
#define __WIN32__
|
||||
|
@@ -331,6 +331,8 @@ public:
|
||||
// return TRUE if the item is selected
|
||||
bool IsSelected(long index)
|
||||
{ return GetItemState(index, wxLIST_STATE_SELECTED) != 0; }
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxListView)
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -3,11 +3,11 @@
|
||||
#ifndef _WX_MSW_GCCPRIV_H_
|
||||
#define _WX_MSW_GCCPRIV_H_
|
||||
|
||||
#if defined( __MINGW32__ )
|
||||
//#include <_mingw.h>
|
||||
#if __MINGW32_MAJOR_VERSION >= 1
|
||||
#ifndef HAVE_W32API_H
|
||||
#define HAVE_W32API_H
|
||||
#if defined( __MINGW32__ ) && !defined( HAVE_W32API_H )
|
||||
#if ( __GNUC__ > 2 ) || ( ( __GNUC__ == 2 ) && ( __GNUC_MINOR__ >= 95 ) )
|
||||
#include <_mingw.h>
|
||||
#if __MINGW32_MAJOR_VERSION >= 1
|
||||
#define HAVE_W32API_H
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user