]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
Fix compilation of generic message dialog.
[wxWidgets.git] / include / wx / listctrl.h
index 7dde7b77bf588aca5f2f1208b3631dc1363edb67..fbf05abb9cefbedcd9ffeee369b159ee82bc30fe 100644 (file)
 
 #include "wx/listbase.h"
 
+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+extern WXDLLEXPORT_DATA(const wxChar*) wxListCtrlNameStr;
+
 // ----------------------------------------------------------------------------
 // include the wxListCtrl class declaration
 // ----------------------------------------------------------------------------
@@ -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);
     }