added HasExtraStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1445,6 +1445,18 @@ Returns {\tt true} if this window has the current mouse capture.
|
|||||||
\helpref{wxMouseCaptureChangedEvent}{wxmousecapturechangedevent}
|
\helpref{wxMouseCaptureChangedEvent}{wxmousecapturechangedevent}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxWindow::HasExtraStyle}\label{wxwindowhasextrastyle}
|
||||||
|
|
||||||
|
\constfunc{bool}{HasExtraStyle}{\param{int }{exFlag}}
|
||||||
|
|
||||||
|
Returns \texttt{true} if the window has the given \arg{exFlag} bit set in its
|
||||||
|
extra styles.
|
||||||
|
|
||||||
|
\wxheading{See also}
|
||||||
|
|
||||||
|
\helpref{SetExtraStyle}{wxwindowsetextrastyle}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxWindow::HasFlag}\label{wxwindowhasflag}
|
\membersection{wxWindow::HasFlag}\label{wxwindowhasflag}
|
||||||
|
|
||||||
\constfunc{bool}{HasFlag}{\param{int }{flag}}
|
\constfunc{bool}{HasFlag}{\param{int }{flag}}
|
||||||
|
@@ -546,6 +546,8 @@ public:
|
|||||||
virtual void SetExtraStyle(long exStyle) { m_exStyle = exStyle; }
|
virtual void SetExtraStyle(long exStyle) { m_exStyle = exStyle; }
|
||||||
long GetExtraStyle() const { return m_exStyle; }
|
long GetExtraStyle() const { return m_exStyle; }
|
||||||
|
|
||||||
|
bool HasExtraStyle(int exFlag) const { return (m_exStyle & exFlag) != 0; }
|
||||||
|
|
||||||
// make the window modal (all other windows unresponsive)
|
// make the window modal (all other windows unresponsive)
|
||||||
virtual void MakeModal(bool modal = true);
|
virtual void MakeModal(bool modal = true);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user