]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
[wxWidgets.git] / include / wx / msw / listbox.h
index 5ab31ebbedf973cc5040d7fde57bd29201b9c4ad..f1c58c0979b39c2494c77ab46c6676b490f508c1 100644 (file)
@@ -129,9 +129,20 @@ public:
     // Windows callbacks
     bool MSWCommand(WXUINT param, WXWORD id);
 
-    virtual void SetupColours();
+    virtual wxVisualAttributes GetDefaultAttributes() const
+    {
+        return GetClassDefaultAttributes(GetWindowVariant());
+    }
+
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL)
+    {
+        return GetCompositeControlsDefaultAttributes(variant);
+    }
 
 protected:
+    WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+
     // free memory (common part of Clear() and dtor)
     void Free();