X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4ca5c8c7b1c87e5989a3638f665061aef8e2732..2a039701a8aebaf8eb7e7cbc408dbb994661975f:/include/wx/os2/private.h diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index 74c0a023d6..56dbccab5f 100644 --- a/include/wx/os2/private.h +++ b/include/wx/os2/private.h @@ -120,7 +120,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxCanvasClassNameNR; // standard icons from the resources // --------------------------------------------------------------------------- -#if wxUSE_GUI +#ifdef __WXPM__ WXDLLEXPORT_DATA(extern HICON) wxSTD_FRAME_ICON; WXDLLEXPORT_DATA(extern HICON) wxSTD_MDIPARENTFRAME_ICON; @@ -130,7 +130,7 @@ WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDIPARENTFRAME_ICON; WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON; WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; -#endif // wxUSE_GUI +#endif // --------------------------------------------------------------------------- // this defines a CASTWNDPROC macro which casts a pointer to the type of a @@ -187,7 +187,7 @@ typedef MRESULT (APIENTRY * WndProcCast) (HWND, ULONG, MPARAM, MPARAM); // Scale font to get edit control height #define EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy) (3*(cy)/2) -#if wxUSE_GUI +#ifdef __WXPM__ // Generic subclass proc, for panel item moving/sizing and intercept // EDIT control VK_RETURN messages @@ -282,7 +282,7 @@ static inline MRESULT MySendMsg(HWND hwnd, ULONG ulMsgid, } #define WinSendMsg MySendMsg -#if wxUSE_GUI +#ifdef __WXPM__ WXDLLEXPORT void wxDrawBorder( HPS hPS ,RECTL& rRect @@ -370,6 +370,6 @@ WXDLLEXPORT extern wxBitmap wxDisableBitmap( const wxBitmap& rBmp WXDLLEXPORT extern COLORREF wxColourToRGB(const wxColour& rColor); -#endif // wxUSE_GUI +#endif // __WXPM__ #endif // _WX_PRIVATE_H_