From: Vadim Zeitlin Date: Sun, 8 Feb 2004 14:27:56 +0000 (+0000) Subject: added GetHbrush() and GetHbrushOf() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ee50eab8d9262fcef22d8d7a9e2faa578dd0403b added GetHbrush() and GetHbrushOf() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index ebd628a9df..0093b502b5 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -461,6 +461,9 @@ private: #define GetHaccel() ((HACCEL)GetHACCEL()) #define GetHaccelOf(table) ((HACCEL)((table).GetHACCEL())) +#define GetHbrush() ((HPEN)GetResourceHandle()) +#define GetHbrushOf(brush) ((HPEN)(brush).GetResourceHandle()) + #define GetHmenu() ((HMENU)GetHMenu()) #define GetHmenuOf(menu) ((HMENU)menu->GetHMenu())