]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/controls2.i
minor additions and bugfixes
[wxWidgets.git] / utils / wxPython / src / controls2.i
index 7074cf2335f1cfbab1f7511f5a58f3239d5801b4..fc11aa7df3f6d92c9aad906ed1139a691217b9e9 100644 (file)
@@ -14,6 +14,9 @@
 
 %{
 #include "helpers.h"
+#ifdef __WXMSW__
+#include <windows.h>
+#endif
 #include <wx/listctrl.h>
 #include <wx/treectrl.h>
 %}
@@ -158,9 +161,10 @@ public:
     long GetItemData(long item);
 
     %addmethods {
-        %new wxListItem* GetItem(long itemId) {
+        %new wxListItem* GetItem(long itemId, int col=0) {
             wxListItem* info = new wxListItem;
             info->m_itemId = itemId;
+            info->m_col = col;
             self->GetItem(*info);
             return info;
         }