]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
applied patch #931719: "ESC closes dialog instead of combobox dropdown" (closes patch...
[wxWidgets.git] / include / wx / msw / treectrl.h
index effeda59ff1200ccd4ba2caaacd6c147a8901dcb..f95ddf6f964ebde7129f878a34cff3fed87cf46b 100644 (file)
@@ -408,11 +408,21 @@ public:
                                             long& cookie) const );
 #endif // WXWIN_COMPATIBILITY_2_4
 
-    virtual bool ShouldInheritColours() const { return false; }
 
     // implementation
     // --------------
 
+    virtual bool ShouldInheritColours() const { return false; }
+
+    virtual wxVisualAttributes GetDefaultAttributes() const
+    {
+        return GetClassDefaultAttributes(GetWindowVariant());
+    }
+
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+
     virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
     virtual bool MSWCommand(WXUINT param, WXWORD id);
     virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);