1. added wxFont::GetHFONT() const (GetResourceHandle() is not const...)

2. added GetHfont[Of] convenience macros to msw/private.h
3. wxWindow::GetCharWidth/Height() now use correct font


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-27 10:22:06 +00:00
parent 9e677ba35c
commit a750cce7a5
6 changed files with 84 additions and 18 deletions

View File

@@ -289,6 +289,9 @@ private:
#define GetHcursor() ((HCURSOR)GetHCURSOR())
#define GetHcursorOf(cursor) ((HCURSOR)(cursor).GetHCURSOR())
#define GetHfont() ((HFONT)GetHFONT())
#define GetHfontOf(font) ((HFONT)(font).GetHFONT())
#endif // wxUSE_GUI
// ---------------------------------------------------------------------------