Possibly to allow including both os2/private.h and GUI's private.h for
X11 based builds on OS/2. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_PRIVATE_H_
|
#ifndef _WX_OS2_PRIVATE_H_
|
||||||
#define _WX_PRIVATE_H_
|
#define _WX_OS2_PRIVATE_H_
|
||||||
|
|
||||||
#define INCL_BASE
|
#define INCL_BASE
|
||||||
#define INCL_PM
|
#define INCL_PM
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
#define INCL_WINSYS
|
#define INCL_WINSYS
|
||||||
#define INCL_SHLERRORS
|
#define INCL_SHLERRORS
|
||||||
#include <os2.h>
|
#include <os2.h>
|
||||||
#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) && !defined(FCF_CLOSEBUTTON)
|
#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) && !defined(HAVE_SPBCDATA)
|
||||||
/* struct missing in "os2emx.h" - luckily FCF_CLOSEBUTTON was added in the
|
|
||||||
same version of os2emx.h as SPBCDATA type, so we can do the test above. */
|
|
||||||
typedef struct _SPBCDATA {
|
typedef struct _SPBCDATA {
|
||||||
ULONG cbSize; /* Size of control block. */
|
ULONG cbSize; /* Size of control block. */
|
||||||
ULONG ulTextLimit; /* Entryfield text limit. */
|
ULONG ulTextLimit; /* Entryfield text limit. */
|
||||||
|
Reference in New Issue
Block a user