]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/toplevel.mm
fixed DLL linking of wxMessageOutput class
[wxWidgets.git] / src / cocoa / toplevel.mm
index c6bbd3831988250178c5a74b38c1e876c5c49c49..1a5379ff5290992be112e8699a304870384b545e 100644 (file)
@@ -144,7 +144,7 @@ bool wxTopLevelWindowCocoa::Create(wxWindow *parent,
         [m_cocoaNSWindow setExcludedFromWindowsMenu: YES];
     if(style & wxSTAY_ON_TOP)
         [m_cocoaNSWindow setLevel:NSFloatingWindowLevel];
-    SetTitle(title);
+    [m_cocoaNSWindow setTitle:wxNSStringWithWxString(title)];
     return true;
 }
 
@@ -332,7 +332,7 @@ void wxTopLevelWindowCocoa::OnCloseWindow(wxCloseEvent& event)
 // wxTopLevelWindowCocoa misc
 // ----------------------------------------------------------------------------
 
-void wxTopLevelWindowCocoa::SetTitle( const wxString& WXUNUSED(title))
+void wxTopLevelWindowCocoa::SetTitle(const wxString& title)
 {
     [m_cocoaNSWindow setTitle:wxNSStringWithWxString(title)];
 }