X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b99c746cad47851c4a1d9409aaefa20abc94a255..3515776ea5638d93b85c871667a77f9d1ed44f6c:/src/osx/toplevel_osx.cpp diff --git a/src/osx/toplevel_osx.cpp b/src/osx/toplevel_osx.cpp index 75380afe01..0e646c5f69 100644 --- a/src/osx/toplevel_osx.cpp +++ b/src/osx/toplevel_osx.cpp @@ -148,7 +148,8 @@ wxPoint wxTopLevelWindowMac::GetClientAreaOrigin() const void wxTopLevelWindowMac::SetTitle(const wxString& title) { wxWindow::SetLabel( title ) ; - m_nowpeer->SetTitle(title, GetFont().GetEncoding() ); + if ( m_nowpeer ) + m_nowpeer->SetTitle(title, GetFont().GetEncoding() ); } wxString wxTopLevelWindowMac::GetTitle() const @@ -156,6 +157,11 @@ wxString wxTopLevelWindowMac::GetTitle() const return wxWindow::GetLabel(); } +void wxTopLevelWindowMac::ShowWithoutActivating() +{ + return m_nowpeer->ShowWithoutActivating(); +} + bool wxTopLevelWindowMac::ShowFullScreen(bool show, long style) { return m_nowpeer->ShowFullScreen(show, style); @@ -170,3 +176,8 @@ void wxTopLevelWindowMac::RequestUserAttention(int flags) { return m_nowpeer->RequestUserAttention(flags); } + +bool wxTopLevelWindowMac::IsActive() +{ + return m_nowpeer->IsActive(); +}