]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menuitem.h
Correct a typo in DoAutoCompleteCustom() stub in wxMSW.
[wxWidgets.git] / include / wx / msw / menuitem.h
index e885b980191fc9b7472d99f1dbddcf057b061322..21be80c38f3e81fbcfc3395b3f48ae3f5a7690c6 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        menuitem.h
+// Name:        wx/msw/menuitem.h
 // Purpose:     wxMenuItem class
 // Author:      Vadim Zeitlin
 // Modified by:
@@ -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: