]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
The DLL version of Watcom's C runtime doesn't have fileno, but the static
[wxWidgets.git] / include / wx / msw / listbox.h
index f1c58c0979b39c2494c77ab46c6676b490f508c1..a901adf31c8fc211d72e26308f82561866fe0375 100644 (file)
@@ -32,7 +32,7 @@
 #endif // wxUSE_OWNER_DRAWN
 
 // forward decl for GetSelections()
-class wxArrayInt;
+class WXDLLIMPEXP_BASE wxArrayInt;
 
 // ----------------------------------------------------------------------------
 // List box control
@@ -91,7 +91,7 @@ public:
     virtual int FindString(const wxString& s) const;
 
     virtual bool IsSelected(int n) const;
-    virtual void SetSelection(int n, bool select = TRUE);
+    virtual void DoSetSelection(int n, bool select);
     virtual int GetSelection() const;
     virtual int GetSelections(wxArrayInt& aSelections) const;
 
@@ -143,6 +143,11 @@ public:
 protected:
     WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
 
+    virtual WXHBRUSH MSWControlColor(WXHDC pDC)
+    {
+        return MSWControlColorSolid(pDC);
+    }
+
     // free memory (common part of Clear() and dtor)
     void Free();