X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa4919edd16047bb9590658f7a9fbe50fc659bc1..6cab632f3251ae1117d24544813f47c6597a3b34:/include/wx/msw/menuitem.h?ds=inline diff --git a/include/wx/msw/menuitem.h b/include/wx/msw/menuitem.h index e885b98019..4cfc3d058b 100644 --- a/include/wx/msw/menuitem.h +++ b/include/wx/msw/menuitem.h @@ -19,6 +19,8 @@ #if wxUSE_OWNER_DRAWN #include "wx/ownerdrw.h" #include "wx/bitmap.h" + + struct tagRECT; #endif // ---------------------------------------------------------------------------- @@ -107,6 +109,7 @@ public: const wxBitmap& GetDisabledBitmap() const { return m_bmpDisabled; } + int MeasureAccelWidth() const; // override wxOwnerDrawn base class virtuals virtual wxString GetName() const; @@ -117,6 +120,10 @@ protected: virtual void GetFontToUse(wxFont& font) const; virtual void GetColourToUse(wxODStatus stat, wxColour& colText, wxColour& colBack) const; +private: + // helper function for draw std menu check mark + void DrawStdCheckMark(WXHDC hdc, const tagRECT* rc, wxODStatus stat); + #endif // wxUSE_OWNER_DRAWN private: