X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c22886bdaf9fc30904de1fa15a688da714cdb88b..6e264973e636cc41915d166cb7eddf2a7e72cf9b:/include/wx/generic/treectlg.h diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index a6bff0878f..0357da9761 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -16,6 +16,8 @@ #pragma interface "treectlg.h" #endif +#if wxUSE_TREECTRL + #include "wx/defs.h" #include "wx/string.h" #include "wx/object.h" @@ -54,7 +56,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, #ifdef __WXMAC__ - long style = wxTR_MAC_BUTTONS | wxTR_NO_LINES, + long style = wxTR_MAC_BUTTONS | wxTR_NO_LINES | wxTR_ROW_LINES, #else long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, #endif @@ -71,7 +73,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, #ifdef __WXMAC__ - long style = wxTR_MAC_BUTTONS | wxTR_NO_LINES, + long style = wxTR_MAC_BUTTONS | wxTR_NO_LINES | wxTR_ROW_LINES, #else long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, #endif @@ -450,5 +452,7 @@ public: #endif +#endif // wxUSE_TREECTRL + #endif // _GENERIC_TREECTRL_H_