From 74707ecf7c05981237c113f9fa567bf947f13805 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 20 Jan 2002 21:53:18 +0000 Subject: [PATCH] - Added definition for struct SPBCDATA (missing in EMX). - Added forward declaration of wxString. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/os2/private.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index 6217e7394a..6810116050 100644 --- a/include/wx/os2/private.h +++ b/include/wx/os2/private.h @@ -20,11 +20,25 @@ #define INCL_WINSYS #define INCL_SHLERRORS #include +#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) +/* struct missing in "os2emx.h" */ + typedef struct _SPBCDATA { + ULONG cbSize; /* Size of control block. */ + ULONG ulTextLimit; /* Entryfield text limit. */ + LONG lLowerLimit; /* Spin lower limit (numeric only). */ + LONG lUpperLimit; /* Spin upper limit (numeric only). */ + ULONG idMasterSpb; /* ID of the servant's master spinbutton. */ + PVOID pHWXCtlData; /* Handwriting control data structure flag. */ + } SPBCDATA; + + typedef SPBCDATA *PSPBCDATA; +#endif #include "wx/fontenc.h" class WXDLLEXPORT wxFont; class WXDLLEXPORT wxWindow; +class WXDLLEXPORT wxString; // --------------------------------------------------------------------------- // private constants -- 2.45.2