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:
Stefan Neis
2005-06-26 13:25:39 +00:00
parent d008a4a6bb
commit 93599ac045

View File

@@ -11,8 +11,8 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PRIVATE_H_
#define _WX_PRIVATE_H_
#ifndef _WX_OS2_PRIVATE_H_
#define _WX_OS2_PRIVATE_H_
#define INCL_BASE
#define INCL_PM
@@ -20,9 +20,7 @@
#define INCL_WINSYS
#define INCL_SHLERRORS
#include <os2.h>
#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) && !defined(FCF_CLOSEBUTTON)
/* 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. */
#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) && !defined(HAVE_SPBCDATA)
typedef struct _SPBCDATA {
ULONG cbSize; /* Size of control block. */
ULONG ulTextLimit; /* Entryfield text limit. */