X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5705626fee5e01147ae7d4007d82e332786655a..350777b68f3cbc6c51d8fdbb29151ee36247563e:/include/wx/mac/checklst.h diff --git a/include/wx/mac/checklst.h b/include/wx/mac/checklst.h index be7f73292d..ef452a1c21 100644 --- a/include/wx/mac/checklst.h +++ b/include/wx/mac/checklst.h @@ -13,7 +13,7 @@ #ifndef _WX_CHECKLST_H_ #define _WX_CHECKLST_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "checklst.h" #endif @@ -21,7 +21,7 @@ typedef unsigned int size_t; #endif -class wxCheckListBox : public wxCheckListBoxBase +class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase { DECLARE_DYNAMIC_CLASS(wxCheckListBox) public: @@ -58,6 +58,11 @@ public: void OnChar(wxKeyEvent& event) ; void OnLeftClick(wxMouseEvent& event) ; + // metrics + wxInt32 m_checkBoxWidth; + wxInt32 m_checkBoxHeight; + wxInt32 m_TextBaseLineOffset; + // the array containing the checked status of the items wxArrayInt m_checks;