// wxTopLevelWindowCocoa misc
// ----------------------------------------------------------------------------
-void wxTopLevelWindowCocoa::SetTitle( const wxString& WXUNUSED(title))
+void wxTopLevelWindowCocoa::SetTitle(const wxString& title)
{
- // TODO
+ [m_cocoaNSWindow setTitle:wxNSStringWithWxString(title)];
}
wxString wxTopLevelWindowCocoa::GetTitle() const
{
- // TODO
- return wxEmptyString;
+ return wxStringWithNSString([m_cocoaNSWindow title]);
}
bool wxTopLevelWindowCocoa::ShowFullScreen(bool show, long style)