X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/810ca882569c59d537f75a982aaac0e218076bb0..29fbbf8967e4c4b3174a4bc45a9007b92ecb0de7:/include/wx/ownerdrw.h?ds=sidebyside diff --git a/include/wx/ownerdrw.h b/include/wx/ownerdrw.h index 367802df02..fb6ac27c1c 100644 --- a/include/wx/ownerdrw.h +++ b/include/wx/ownerdrw.h @@ -16,10 +16,6 @@ #if wxUSE_OWNER_DRAWN -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "ownerdrw.h" -#endif - #include "wx/bitmap.h" #include "wx/colour.h" #include "wx/font.h" @@ -157,7 +153,8 @@ private: static size_t ms_nLastMarginWidth; // handy for aligning all items bool m_bCheckable, // used only for menu or check listbox items - m_bOwnerDrawn; // true if something is non standard + m_bOwnerDrawn, // true if something is non standard + m_isMenuItem; // true if this is a menu item wxFont m_font; // font to use for drawing wxColour m_colText, // color ----"---"---"---- @@ -167,7 +164,6 @@ private: m_bmpDisabled; size_t m_nHeight, // font height - m_nMinHeight, // minimum height, as determined by user's system settings m_nMarginWidth; // space occupied by bitmap to the left of the item };