X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/511ac294daea69d4bae9644db2fb272c712e059c..bc55104d9ab0b0b835644f17a152b4fbbfa8c7b9:/include/wx/os2/private.h diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index 6217e7394a..77c409132e 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 @@ -255,7 +269,8 @@ WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd); WXDLLEXPORT void wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font); WXDLLEXPORT void wxFillLogFont( LOGFONT* pLogFont ,PFACENAMEDESC pFaceName - ,HPS hPS + ,HPS* phPS + ,bool* pbInternalPS ,long* pflId ,wxString& sFaceName ,wxFont* pFont