Add GetClassDefaultAttribute. Since it is static we need to put the
definition in all window classes so the right one will be called on the C++ side of the fence. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,6 +45,8 @@ public:
|
||||
|
||||
void InitDialog();
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -156,6 +158,9 @@ public:
|
||||
void SetTargetRect(const wxRect& rect);
|
||||
wxRect GetTargetRect() const;
|
||||
#endif
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user