Added RequestUserAttention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,6 +69,12 @@ enum
|
|||||||
wxTOPLEVEL_EX_DIALOG,
|
wxTOPLEVEL_EX_DIALOG,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Styles for RequestUserAttention
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
wxUSER_ATTENTION_INFO = 1,
|
||||||
|
wxUSER_ATTENTION_ERROR = 2
|
||||||
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -116,6 +122,12 @@ public:
|
|||||||
// is successful.)
|
// is successful.)
|
||||||
virtual bool SetShape(const wxRegion& region);
|
virtual bool SetShape(const wxRegion& region);
|
||||||
|
|
||||||
|
|
||||||
|
// Attracts the users attention to this window if the application is
|
||||||
|
// inactive (should be called when a background event occurs)
|
||||||
|
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
void MacSetMetalAppearance( bool on ) ;
|
void MacSetMetalAppearance( bool on ) ;
|
||||||
bool MacGetMetalAppearance() const ;
|
bool MacGetMetalAppearance() const ;
|
||||||
|
Reference in New Issue
Block a user