X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f644b28c1154d638270d0d1abbc41f760be6abbd..74750ae4e632cc4857df654156afb9839ea43cfb:/include/wx/listctrl.h diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 7dde7b77bf..f9b4629f21 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -12,24 +12,30 @@ #ifndef _WX_LISTCTRL_H_BASE_ #define _WX_LISTCTRL_H_BASE_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "listctrlbase.h" -#endif - #include "wx/defs.h" // headers should include this before first wxUSE_XXX check #if wxUSE_LISTCTRL #include "wx/listbase.h" +// ---------------------------------------------------------------------------- +// constants +// ---------------------------------------------------------------------------- + +extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[]; + // ---------------------------------------------------------------------------- // include the wxListCtrl class declaration // ---------------------------------------------------------------------------- +#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__) + #include "wx/generic/listctrl.h" +#endif + #if defined(__WIN32__) && !defined(__WXUNIVERSAL__) #include "wx/msw/listctrl.h" -#else - #include "wx/generic/listctrl.h" +#elif defined(__WXMAC__) + #include "wx/mac/carbon/listctrl.h" #endif // ---------------------------------------------------------------------------- @@ -46,7 +52,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxLC_REPORT, const wxValidator& validator = wxDefaultValidator, - const wxString &name = wxT("listctrl") ) + const wxString &name = wxListCtrlNameStr) { Create(parent, winid, pos, size, style, validator, name); }