X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/msw/private.h 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())