X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86de7616de6aa6f28451d82dc3f59aef1b087960..2e907fab47d506f5c8096b4a7675d9bd4216320e:/include/wx/os2/private.h diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index d4bdf02be6..d42540d24b 100644 --- a/include/wx/os2/private.h +++ b/include/wx/os2/private.h @@ -14,8 +14,11 @@ #ifndef _WX_PRIVATE_H_ #define _WX_PRIVATE_H_ -#define INCL_DOS +#define INCL_BASE #define INCL_PM +#define INCL_GPI +#define INCL_WINSYS +#define INCL_SHLERRORS #include class WXDLLEXPORT wxFont; @@ -171,9 +174,16 @@ WXDLLEXPORT void wxSetInstance(HINSTANCE hInst); WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd); -WXDLLEXPORT void wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font); -WXDLLEXPORT void wxFillLogFont(LOGFONT *logFont, wxFont *font); -WXDLLEXPORT wxFont wxCreateFontFromLogFont(LOGFONT *logFont); +WXDLLEXPORT void wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font); +WXDLLEXPORT void wxFillLogFont( LOGFONT* pLogFont + ,PFACENAMEDESC pFaceName + ,const wxFont* pFont + ); +WXDLLEXPORT wxFont wxCreateFontFromLogFont( LOGFONT* pLogFont + ,PFONTMETRICS pFM + ,PFACENAMEDESC pFace + ); +WXDLLEXPORT int wxGpiStrcmp(char* s0, char* s1); WXDLLEXPORT void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos); WXDLLEXPORT void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos); @@ -194,6 +204,9 @@ WXDLLEXPORT extern wxString wxGetWindowClass(WXHWND hWnd); // is, for mainly historical reasons, signed) WXDLLEXPORT extern WXWORD wxGetWindowId(WXHWND hWnd); +// Convert a PM Error code to a string +WXDLLEXPORT extern wxString wxPMErrorToStr(ERRORID vError); + // Does this window style specify any border? inline bool wxStyleHasBorder(long style) {