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:
@@ -247,6 +247,9 @@ public:
|
||||
// send wxUpdateUIEvents for all menu items in the menubar,
|
||||
// or just for menu if non-NULL
|
||||
void DoMenuUpdates(wxMenu* menu = NULL);
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -299,6 +302,9 @@ public:
|
||||
|
||||
// may be called to terminate the dialog with the given return code
|
||||
virtual void EndModal(int retCode);
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user