X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/810ca882569c59d537f75a982aaac0e218076bb0..1a9a6eed360bc9a263f2ea7c0d470953397de531:/include/wx/ownerdrw.h?ds=sidebyside diff --git a/include/wx/ownerdrw.h b/include/wx/ownerdrw.h index 367802df02..be2ae25d58 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" @@ -33,7 +29,7 @@ // element or one unchangeable bitmap otherwise. // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxOwnerDrawn +class WXDLLIMPEXP_CORE wxOwnerDrawn { public: // ctor & dtor @@ -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 };