]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / include / wx / listctrl.h
index 7914d43ca40567dbec31ddaa973844cc8a5d5745..e1840f1fcb2c8f87fe844b358ec5ec804c3407d7 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_LISTCTRL_H_BASE_
 #define _WX_LISTCTRL_H_BASE_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "listctrlbase.h"
 #endif
 
@@ -26,6 +26,8 @@
 
 #if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/listctrl.h"
+#elif defined(__WXPM__)
+    #include "wx/os2/listctrl.h"
 #else
     #include "wx/generic/listctrl.h"
 #endif
@@ -44,7 +46,7 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = wxLC_REPORT,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString &name = "listctrl" )
+                const wxString &name = wxT("listctrl") )
     {
         Create(parent, id, pos, size, style, validator, name);
     }