]> git.saurik.com Git - wxWidgets.git/commitdiff
New native OS/2 list control support.
authorDavid Webster <Dave.Webster@bhmi.com>
Tue, 21 Jan 2003 23:34:02 +0000 (23:34 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Tue, 21 Jan 2003 23:34:02 +0000 (23:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/listbase.h
include/wx/listctrl.h

index d7399039a0f380635679be4259b384463b90d8ae..b2ca14d5eb5268f4f3e7064a92624ca4d79bd726 100644 (file)
@@ -81,6 +81,11 @@ typedef int (wxCALLBACK *wxListCtrlCompare)(long item1, long item2, long sortDat
 #define wxLIST_STATE_FOCUSED        0x0002
 #define wxLIST_STATE_SELECTED       0x0004
 #define wxLIST_STATE_CUT            0x0008      // MSW only
+#define wxLIST_STATE_DISABLED       0x0010      // OS2 only
+#define wxLIST_STATE_FILTERED       0x0020      // OS2 only
+#define wxLIST_STATE_INUSE          0x0040      // OS2 only
+#define wxLIST_STATE_PICKED         0x0080      // OS2 only
+#define wxLIST_STATE_SOURCE         0x0100      // OS2 only
 
 // Hit test flags, used in HitTest
 #define wxLIST_HITTEST_ABOVE            0x0001  // Above the client area.
@@ -287,6 +292,10 @@ public:
     int             m_format;   // left, right, centre
     int             m_width;    // width of column
 
+#ifdef __WXPM__
+    int             m_miniImage; // handle to the mini image for OS/2
+#endif
+
 protected:
     // creates m_attr if we don't have it yet
     wxListItemAttr& Attributes()
index c57ee5ef676b68c19d86d408ed218b94cd86de4a..e1840f1fcb2c8f87fe844b358ec5ec804c3407d7 100644 (file)
@@ -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