From: Vadim Zeitlin Date: Sun, 25 Nov 2001 00:21:19 +0000 (+0000) Subject: added GetHpalette[Of] macros X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1816a07003767dae4f60b9a5331a26e9ea0258e8?ds=inline added GetHpalette[Of] macros git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index d643ce0773..25d0b5d786 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -332,6 +332,9 @@ private: #define GetHfont() ((HFONT)GetHFONT()) #define GetHfontOf(font) ((HFONT)(font).GetHFONT()) +#define GetHpalette() ((HPALETTE)GetHPALETTE()) +#define GetHpaletteOf(pal) ((HPALETTE)(pal)->GetHPALETTE()) + #define GetHrgn() ((HRGN)GetHRGN()) #define GetHrgnOf(rgn) ((HRGN)(rgn).GetHRGN())